Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.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.00133/0.00133, allocations: 79.97 kB / 19.18 MB, free: 2.527 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.001461/0.001461, allocations: 169.4 kB / 22.46 MB, free: 5.355 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.452/1.452, allocations: 177.1 MB / 202.8 MB, free: 9.184 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.002621/0.002621, allocations: 236.9 kB / 259.4 MB, free: 496 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.1/1.1, allocations: 138.4 MB / 454.3 MB, free: 1.957 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.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck") translateModel(BuildingSystems.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.845e-06/2.845e-06, allocations: 0 / 0.6467 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.459e-05/4.744e-05, allocations: 5.234 kB / 0.6467 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.004041/0.004088, allocations: 1.344 MB / 0.6481 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4538/0.4579, allocations: 130.1 MB / 0.7751 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.309e-05/0.4579, allocations: 0 / 0.7751 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.188e-05/0.458, allocations: 7.922 kB / 0.7751 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.72e-05/0.4581, allocations: 7.922 kB / 0.7751 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.4592, allocations: 342.3 kB / 0.7754 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.4593, allocations: 65.36 kB / 0.7755 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.054e-05/0.4593, allocations: 4 kB / 0.7755 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.006e-05/0.4594, allocations: 47.88 kB / 0.7755 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.489e-05/0.4595, allocations: 23.95 kB / 0.7756 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.4595, allocations: 4 kB / 0.7756 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008163/0.4603, allocations: 378.5 kB / 0.7759 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.591e-05/0.4604, allocations: 15.97 kB / 0.7759 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.443e-05/0.4605, allocations: 27.97 kB / 0.776 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003695/0.4608, allocations: 167.5 kB / 0.7761 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.4608, allocations: 4 kB / 0.7761 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4608, allocations: 0 / 0.7761 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.208e-06/0.4608, allocations: 0 / 0.7761 GB, free: 11.99 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000491/0.4613, allocations: 318.4 kB / 0.7764 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.4614, allocations: 9.344 kB / 0.7764 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000424/0.4618, allocations: 32.89 kB / 0.7765 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.4619, allocations: 113.7 kB / 0.7766 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.4619, allocations: 8.375 kB / 0.7766 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.087e-05/0.462, allocations: 18.75 kB / 0.7766 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002581/0.4622, allocations: 206.1 kB / 0.7768 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.4622, allocations: 3.938 kB / 0.7768 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.4622, allocations: 7.984 kB / 0.7768 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.4622, allocations: 0 / 0.7768 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.964e-05/0.4623, allocations: 43.95 kB / 0.7769 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001846/0.4625, allocations: 129.2 kB / 0.777 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.4627, allocations: 82.69 kB / 0.7771 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.15e-05/0.4628, allocations: 36.78 kB / 0.7771 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001621/0.4629, allocations: 19.98 kB / 0.7771 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.463, allocations: 38.56 kB / 0.7772 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.463, allocations: 0 / 0.7772 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19): time 0.00138/0.4644, allocations: 488.3 kB / 0.7776 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.4644, allocations: 55.41 kB / 0.7777 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.344e-05/0.4645, allocations: 97.86 kB / 0.7778 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.4645, allocations: 29.7 kB / 0.7778 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.158e-05/0.4645, allocations: 80.52 kB / 0.7779 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.975e-05/0.4646, allocations: 71.38 kB / 0.7779 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.254e-05/0.4647, allocations: 37.72 kB / 0.778 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.4648, allocations: 322.8 kB / 0.7783 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.35e-05/0.4649, allocations: 39.92 kB / 0.7783 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.465, allocations: 76.88 kB / 0.7784 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.4652, allocations: 123.4 kB / 0.7785 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.4652, allocations: 0 / 0.7785 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000256/0.4654, allocations: 164.1 kB / 0.7787 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.4655, allocations: 4.625 kB / 0.7787 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.4655, allocations: 0 / 0.7787 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.4655, allocations: 4 kB / 0.7787 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.4657, allocations: 39.92 kB / 0.7787 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.4657, allocations: 0 / 0.7787 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.274e-05/0.4657, allocations: 8 kB / 0.7787 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.4657, allocations: 4 kB / 0.7787 GB, free: 9.102 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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 0.0001086/0.4658, allocations: 129.7 kB / 0.7788 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.4659, allocations: 11.89 kB / 0.7789 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.408e-05/0.4659, allocations: 24.45 kB / 0.7789 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.4659, allocations: 0 / 0.7789 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.4659, allocations: 0 / 0.7789 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.4659, allocations: 0 / 0.7789 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.4661, allocations: 137.2 kB / 0.779 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4661, allocations: 0 / 0.779 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.4663, allocations: 31.98 kB / 0.779 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.4663, allocations: 4 kB / 0.779 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.4663, allocations: 4 kB / 0.7791 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4663, allocations: 4 kB / 0.7791 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4663, allocations: 0 / 0.7791 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003338/0.4666, allocations: 227.5 kB / 0.7793 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.337e-05/0.4667, allocations: 16 kB / 0.7793 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.4667, allocations: 4 kB / 0.7793 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.4668, allocations: 8 kB / 0.7793 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.041e-05/0.4669, allocations: 11.97 kB / 0.7793 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.4669, allocations: 8 kB / 0.7793 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.266e-05/0.4669, allocations: 75.28 kB / 0.7794 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.4669, allocations: 0 / 0.7794 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002339/0.4672, allocations: 32.09 kB / 0.7794 GB, free: 8.332 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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.0001443/0.4673, allocations: 103.2 kB / 0.7795 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002151/0.4675, allocations: 99.89 kB / 0.7796 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4675, allocations: 0 / 0.7796 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.815e-05/0.4676, allocations: 51.91 kB / 0.7797 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.4679, allocations: 17.66 kB / 0.7797 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007373/0.4686, allocations: 392.6 kB / 0.7801 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.665e-05/0.4687, allocations: 90.17 kB / 0.7801 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.871e-05/0.4688, allocations: 31.53 kB / 0.7802 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.534e-05/0.4688, allocations: 16.5 kB / 0.7802 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of SimCode: time 4.61e-07/0.4688, allocations: 0 / 0.7802 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of Templates: time 0.004164/0.473, allocations: 1.083 MB / 0.7812 GB, free: 6.469 MB / 0.6075 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.143137846142054] Failed to read output from testmodel.py, exit status != 0: 0.48369157686829567 0.49597300800000005 0.032121609 Calling exit ...