Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007443/0.0007443, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007708/0.0007708, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8531/0.8531, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001469/0.001469, allocations: 248.7 kB / 259.4 MB, free: 13 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6759/0.6759, allocations: 138.4 MB / 454.3 MB, free: 30.11 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.023e-06/2.023e-06, allocations: 0 / 0.6463 GB, free: 1.84 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.181e-05/2.383e-05, allocations: 13.31 kB / 0.6464 GB, free: 1.828 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001168/0.001192, allocations: 0.6045 MB / 0.6469 GB, free: 1.223 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2276/0.2288, allocations: 1.431 MB / 0.6483 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.383e-05/0.2288, allocations: 0 / 0.6483 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.723e-05/0.2288, allocations: 0 / 0.6483 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 2.812e-05/0.2289, allocations: 0 / 0.6483 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005315/0.2294, allocations: 143.9 kB / 0.6485 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 8.924e-05/0.2295, allocations: 31.77 kB / 0.6485 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.997e-05/0.2295, allocations: 3.266 kB / 0.6485 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.461e-05/0.2296, allocations: 23.64 kB / 0.6485 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 8.198e-05/0.2297, allocations: 19.8 kB / 0.6486 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.2297, allocations: 2.188 kB / 0.6486 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000351/0.23, allocations: 250.6 kB / 0.6488 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.963e-05/0.2301, allocations: 5.281 kB / 0.6488 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.912e-05/0.2301, allocations: 13.33 kB / 0.6488 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002885/0.2304, allocations: 205.2 kB / 0.649 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2304, allocations: 1.375 kB / 0.649 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2304, allocations: 0 / 0.649 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.2304, allocations: 0.9062 kB / 0.649 GB, free: 55.37 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003963/0.2308, allocations: 286.1 kB / 0.6493 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.2308, allocations: 14.12 kB / 0.6493 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.743e-05/0.2309, allocations: 32.84 kB / 0.6493 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002821/0.2311, allocations: 67.39 kB / 0.6494 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.52e-05/0.2312, allocations: 113.2 kB / 0.6495 GB, free: 54.92 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.2312, allocations: 2.5 kB / 0.6495 GB, free: 54.92 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.2313, allocations: 2.656 kB / 0.6495 GB, free: 54.92 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.2314, allocations: 102.1 kB / 0.6496 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.2315, allocations: 0.8438 kB / 0.6496 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.2315, allocations: 3.891 kB / 0.6496 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.2315, allocations: 4.5 kB / 0.6496 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.2317, allocations: 66.61 kB / 0.6497 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001436/0.2318, allocations: 135.7 kB / 0.6498 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004106/0.2322, allocations: 120.6 kB / 0.6499 GB, free: 54.67 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.946e-05/0.2323, allocations: 45.02 kB / 0.65 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002861/0.2326, allocations: 78.72 kB / 0.65 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.2326, allocations: 32.8 kB / 0.6501 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=4): time 2.314e-06/0.2326, allocations: 0.7812 kB / 0.6501 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5): time 0.0008006/0.2334, allocations: 338.2 kB / 0.6504 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.239e-05/0.2334, allocations: 56.52 kB / 0.6505 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.966e-05/0.2335, allocations: 100.3 kB / 0.6505 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.2335, allocations: 26.27 kB / 0.6506 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.178e-05/0.2335, allocations: 86.48 kB / 0.6507 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.2335, allocations: 13.12 kB / 0.6507 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.678e-05/0.2336, allocations: 21.31 kB / 0.6507 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.861e-05/0.2336, allocations: 314.4 kB / 0.651 GB, free: 53.85 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.549e-05/0.2337, allocations: 37.66 kB / 0.651 GB, free: 53.85 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.161e-05/0.2338, allocations: 37.2 kB / 0.6511 GB, free: 53.85 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.2339, allocations: 75.36 kB / 0.6511 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.2339, allocations: 1.938 kB / 0.6511 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001889/0.2341, allocations: 118.9 kB / 0.6512 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.2341, allocations: 5.688 kB / 0.6513 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.2341, allocations: 0 / 0.6513 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.2341, allocations: 5.969 kB / 0.6513 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.085e-05/0.2342, allocations: 27.38 kB / 0.6513 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.2342, allocations: 0 / 0.6513 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.4e-05/0.2343, allocations: 11.59 kB / 0.6513 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.2343, allocations: 5.031 kB / 0.6513 GB, free: 53.79 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.725e-05/0.2343, allocations: 113.5 kB / 0.6514 GB, free: 53.67 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.728e-06/0.2343, allocations: 1.938 kB / 0.6514 GB, free: 53.67 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002778/0.2346, allocations: 143 kB / 0.6515 GB, free: 53.62 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.2346, allocations: 10.69 kB / 0.6516 GB, free: 53.62 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2346, allocations: 0 / 0.6516 GB, free: 53.62 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2346, allocations: 0 / 0.6516 GB, free: 53.62 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.424e-05/0.2347, allocations: 130.3 kB / 0.6517 GB, free: 53.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2347, allocations: 0.8906 kB / 0.6517 GB, free: 53.46 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.854e-05/0.2348, allocations: 26.69 kB / 0.6517 GB, free: 53.46 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.2348, allocations: 6.219 kB / 0.6517 GB, free: 53.46 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.2348, allocations: 0 / 0.6517 GB, free: 53.46 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.2348, allocations: 5.297 kB / 0.6517 GB, free: 53.46 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.2348, allocations: 2.219 kB / 0.6517 GB, free: 53.46 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003126/0.2351, allocations: 180.5 kB / 0.6519 GB, free: 53.39 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.497e-05/0.2352, allocations: 10.84 kB / 0.6519 GB, free: 53.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.2352, allocations: 2.219 kB / 0.6519 GB, free: 53.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.407e-05/0.2352, allocations: 21.17 kB / 0.6519 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.409e-05/0.2353, allocations: 7.578 kB / 0.6519 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.2353, allocations: 4 kB / 0.6519 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.539e-05/0.2353, allocations: 77.69 kB / 0.652 GB, free: 53.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.2353, allocations: 2.625 kB / 0.652 GB, free: 53.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000197/0.2355, allocations: 35.08 kB / 0.652 GB, free: 53.29 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004954/0.236, allocations: 0.735 MB / 0.6528 GB, free: 52.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002071/0.2362, allocations: 87.77 kB / 0.6528 GB, free: 52.69 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2362, allocations: 0 / 0.6528 GB, free: 52.69 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 7.943e-05/0.2363, allocations: 44.12 kB / 0.6529 GB, free: 52.69 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001252/0.2364, allocations: 12.81 kB / 0.6529 GB, free: 52.68 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.2374, allocations: 1.355 MB / 0.6542 GB, free: 51.58 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.996e-05/0.2375, allocations: 64.28 kB / 0.6543 GB, free: 51.51 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 6.369e-05/0.2375, allocations: 14.41 kB / 0.6543 GB, free: 51.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.956e-05/0.2376, allocations: 18.17 kB / 0.6543 GB, free: 51.5 MB / 0.5573 GB Notification: Performance of SimCode: time 9.02e-07/0.2376, allocations: 0 / 0.6543 GB, free: 51.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01563/0.2532, allocations: 2.769 MB / 0.657 GB, free: 50.67 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.601/6.854, allocations: 13.39 kB / 0.657 GB, free: 50.67 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.343874120153487] Failed to read output from testmodel.py, exit status != 0: 6.929925072006881 6.938722162 6.706778274 Calling exit ...