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.001419/0.001419, allocations: 79.91 kB / 19.18 MB, free: 2.512 MB / 14.72 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.001869/0.001869, allocations: 165.9 kB / 22.46 MB, free: 5.379 MB / 14.72 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 1.426/1.426, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.003215/0.003215, allocations: 247.1 kB / 259.4 MB, free: 472 kB / 238.1 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 1.07/1.07, allocations: 138.4 MB / 454.3 MB, free: 2.016 MB / 366.1 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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.6468 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.52e-05/2.67e-05, allocations: 6.219 kB / 0.6468 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0015/0.001527, allocations: 0.6159 MB / 0.6474 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00202/0.003547, allocations: 1.44 MB / 0.6489 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.298e-05/0.00357, allocations: 4 kB / 0.6489 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.529e-05/0.003586, allocations: 0 / 0.6489 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.104e-05/0.003617, allocations: 3.938 kB / 0.6489 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004933/0.00411, allocations: 139.4 kB / 0.649 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.332e-05/0.004183, allocations: 31.92 kB / 0.649 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.601e-05/0.004219, allocations: 3.984 kB / 0.649 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.384e-05/0.004273, allocations: 19.98 kB / 0.649 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.542e-05/0.004349, allocations: 23.95 kB / 0.6491 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.004369, allocations: 4 kB / 0.6491 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004079/0.004777, allocations: 243.5 kB / 0.6493 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.911e-05/0.004796, allocations: 7.984 kB / 0.6493 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.272e-05/0.004829, allocations: 11.92 kB / 0.6493 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003296/0.005159, allocations: 207.5 kB / 0.6495 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.005161, allocations: 0 / 0.6495 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.21e-07/0.005161, allocations: 0 / 0.6495 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.005165, allocations: 4 kB / 0.6495 GB, free: 2.188 MB / 0.5606 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.0005581/0.005723, allocations: 290 kB / 0.6498 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.005764, allocations: 12.73 kB / 0.6498 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004765/0.00624, allocations: 64.86 kB / 0.6499 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.006367, allocations: 109.7 kB / 0.65 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.006388, allocations: 4.375 kB / 0.65 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.006413, allocations: 4.375 kB / 0.65 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002795/0.006693, allocations: 99.91 kB / 0.6501 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.006703, allocations: 4.125 kB / 0.6501 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.006717, allocations: 384 / 0.6501 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.006725, allocations: 7.922 kB / 0.6501 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000316/0.007041, allocations: 67.92 kB / 0.6502 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001755/0.007217, allocations: 109.3 kB / 0.6503 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006318/0.007848, allocations: 118.6 kB / 0.6504 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/0.008028, allocations: 52.91 kB / 0.6504 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004311/0.008459, allocations: 71.91 kB / 0.6505 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.008489, allocations: 38.5 kB / 0.6505 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.00849, allocations: 0 / 0.6505 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.001195/0.009685, allocations: 325.1 kB / 0.6508 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.009725, allocations: 55.34 kB / 0.6509 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.208e-05/0.009807, allocations: 97.86 kB / 0.651 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.00983, allocations: 25.7 kB / 0.651 GB, free: 496 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.619e-05/0.009866, allocations: 88.25 kB / 0.6511 GB, free: 404 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.0099, allocations: 19.84 kB / 0.6511 GB, free: 384 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.4e-05/0.009944, allocations: 13.72 kB / 0.6511 GB, free: 364 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.01009, allocations: 326.8 kB / 0.6514 GB, free: 28 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2362/0.2463, allocations: 30.3 kB / 0.6515 GB, free: 56.83 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.2465, allocations: 33.28 kB / 0.6515 GB, free: 56.83 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003221/0.2468, allocations: 77.23 kB / 0.6516 GB, free: 56.82 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2468, allocations: 1.125 kB / 0.6516 GB, free: 56.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003844/0.2472, allocations: 117.4 kB / 0.6517 GB, free: 56.79 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.2472, allocations: 4.328 kB / 0.6517 GB, free: 56.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.2472, allocations: 2.5 kB / 0.6517 GB, free: 56.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.249e-05/0.2473, allocations: 3.75 kB / 0.6517 GB, free: 56.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.2474, allocations: 23.27 kB / 0.6517 GB, free: 56.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.2474, allocations: 0.9062 kB / 0.6517 GB, free: 56.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.2475, allocations: 16.2 kB / 0.6517 GB, free: 56.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.2475, allocations: 0.6562 kB / 0.6517 GB, free: 56.79 MB / 0.5606 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 6.207e-05/0.2476, allocations: 116.5 kB / 0.6519 GB, free: 56.68 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.643e-05/0.2476, allocations: 2.031 kB / 0.6519 GB, free: 56.68 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004515/0.2481, allocations: 138.8 kB / 0.652 GB, free: 56.64 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.2481, allocations: 0.7188 kB / 0.652 GB, free: 56.64 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2481, allocations: 0 / 0.652 GB, free: 56.64 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2481, allocations: 2.266 kB / 0.652 GB, free: 56.64 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.057e-05/0.2482, allocations: 115.6 kB / 0.6521 GB, free: 56.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2482, allocations: 0 / 0.6521 GB, free: 56.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.2483, allocations: 24.98 kB / 0.6521 GB, free: 56.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.2483, allocations: 1.125 kB / 0.6521 GB, free: 56.52 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.2483, allocations: 0.75 kB / 0.6521 GB, free: 56.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2483, allocations: 3.25 kB / 0.6521 GB, free: 56.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2483, allocations: 3.125 kB / 0.6521 GB, free: 56.52 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005244/0.2489, allocations: 191.8 kB / 0.6523 GB, free: 56.45 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.336e-05/0.2489, allocations: 9.172 kB / 0.6523 GB, free: 56.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.2489, allocations: 7.562 kB / 0.6523 GB, free: 56.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.249, allocations: 11.67 kB / 0.6523 GB, free: 56.45 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.974e-05/0.2491, allocations: 4.062 kB / 0.6523 GB, free: 56.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.2491, allocations: 3.719 kB / 0.6523 GB, free: 56.45 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 1.858e-05/0.2491, allocations: 82.8 kB / 0.6524 GB, free: 56.38 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2491, allocations: 0 / 0.6524 GB, free: 56.38 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00023/0.2493, allocations: 26.69 kB / 0.6525 GB, free: 56.38 MB / 0.5606 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.0001717/0.2495, allocations: 136.3 kB / 0.6526 GB, free: 56.29 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003573/0.2499, allocations: 82 kB / 0.6527 GB, free: 56.29 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2499, allocations: 0 / 0.6527 GB, free: 56.29 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.25, allocations: 53.53 kB / 0.6527 GB, free: 56.29 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.2502, allocations: 6.125 kB / 0.6527 GB, free: 56.29 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005653/0.2507, allocations: 179.2 kB / 0.6529 GB, free: 56.19 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.867e-05/0.2508, allocations: 65.36 kB / 0.653 GB, free: 56.12 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.685e-05/0.2508, allocations: 14.38 kB / 0.653 GB, free: 56.12 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.896e-05/0.2509, allocations: 17.97 kB / 0.653 GB, free: 56.12 MB / 0.5606 GB Notification: Performance of SimCode: time 4.31e-07/0.2509, allocations: 3.75 kB / 0.653 GB, free: 56.12 MB / 0.5606 GB Notification: Performance of Templates: time 0.003429/0.2543, allocations: 1.204 MB / 0.6542 GB, free: 56.04 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.7277380265295506] Failed to read output from testmodel.py, exit status != 0: 0.2618171311914921 0.27066038200000003 0.263392911 Calling exit ...