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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 113 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 225.6 MB / 249.4 MB, free: 3.121 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002407/0.002407, allocations: 289 kB / 304.8 MB, free: 3.477 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.066/1.066, allocations: 180.9 MB / 0.5281 GB, free: 1.887 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.003957/0.003957, allocations: 100.2 kB / 0.7283 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4665/0.4704, allocations: 94.16 MB / 0.8203 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.002745/0.4732, allocations: 1.343 MB / 0.8216 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1901/0.6633, allocations: 148.6 MB / 0.9666 GB, free: 7.348 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.617e-05/0.6633, allocations: 0 / 0.9666 GB, free: 7.348 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 4.22e-05/0.6634, allocations: 7.938 kB / 0.9666 GB, free: 7.34 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.6635, allocations: 15.91 kB / 0.9667 GB, free: 7.324 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009782/0.6644, allocations: 338.5 kB / 0.967 GB, free: 6.992 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.6646, allocations: 67.75 kB / 0.9671 GB, free: 6.926 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 3.968e-05/0.6646, allocations: 8 kB / 0.9671 GB, free: 6.918 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 5.07e-05/0.6646, allocations: 35.84 kB / 0.9671 GB, free: 6.883 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 9.851e-05/0.6647, allocations: 31.89 kB / 0.9671 GB, free: 6.852 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.6648, allocations: 4 kB / 0.9671 GB, free: 6.848 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007902/0.6655, allocations: 430.8 kB / 0.9675 GB, free: 6.426 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 4.675e-05/0.6656, allocations: 15.98 kB / 0.9676 GB, free: 6.41 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 4.672e-05/0.6656, allocations: 31.86 kB / 0.9676 GB, free: 6.379 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0003095/0.6659, allocations: 155.2 kB / 0.9677 GB, free: 6.23 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.666, allocations: 0 / 0.9677 GB, free: 6.23 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.463e-06/0.666, allocations: 7.938 kB / 0.9677 GB, free: 6.223 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.666, allocations: 0 / 0.9677 GB, free: 6.223 MB / 0.7012 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.0004965/0.6665, allocations: 391.1 kB / 0.9681 GB, free: 5.793 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.6665, allocations: 12.03 kB / 0.9681 GB, free: 5.781 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000397/0.6669, allocations: 36.84 kB / 0.9682 GB, free: 5.746 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.667, allocations: 160.4 kB / 0.9683 GB, free: 5.551 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.667, allocations: 11.94 kB / 0.9683 GB, free: 5.539 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.6671, allocations: 19.94 kB / 0.9683 GB, free: 5.52 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.6672, allocations: 77.64 kB / 0.9684 GB, free: 5.438 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.6672, allocations: 0 / 0.9684 GB, free: 5.438 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.6673, allocations: 0 / 0.9684 GB, free: 5.438 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.6673, allocations: 0 / 0.9684 GB, free: 5.438 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.6674, allocations: 51.89 kB / 0.9685 GB, free: 5.387 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002253/0.6676, allocations: 189.5 kB / 0.9686 GB, free: 5.152 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.6678, allocations: 86.62 kB / 0.9687 GB, free: 5.059 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.313e-05/0.6679, allocations: 32.84 kB / 0.9688 GB, free: 5.023 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002582/0.6681, allocations: 174.2 kB / 0.9689 GB, free: 4.816 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.6681, allocations: 38.55 kB / 0.969 GB, free: 4.77 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.6681, allocations: 0 / 0.969 GB, free: 4.77 MB / 0.7012 GB Notification: Performance of matching and sorting (n=19): time 0.001348/0.6695, allocations: 0.5492 MB / 0.9695 GB, free: 4.172 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.6695, allocations: 55.41 kB / 0.9696 GB, free: 4.105 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.323e-05/0.6696, allocations: 105.8 kB / 0.9697 GB, free: 3.992 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.6696, allocations: 29.7 kB / 0.9697 GB, free: 3.957 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 3.681e-05/0.6697, allocations: 84.64 kB / 0.9698 GB, free: 3.871 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 6.611e-05/0.6697, allocations: 75.31 kB / 0.9698 GB, free: 3.797 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.307e-05/0.6698, allocations: 41.7 kB / 0.9699 GB, free: 3.75 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.6699, allocations: 322.8 kB / 0.9702 GB, free: 3.426 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.641e-05/0.67, allocations: 35.98 kB / 0.9702 GB, free: 3.391 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.205e-05/0.6701, allocations: 67.41 kB / 0.9703 GB, free: 3.312 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.6703, allocations: 127.3 kB / 0.9704 GB, free: 3.176 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.6703, allocations: 0 / 0.9704 GB, free: 3.176 MB / 0.7012 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002395/0.6705, allocations: 153.5 kB / 0.9705 GB, free: 3.02 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.6705, allocations: 4 kB / 0.9706 GB, free: 3.016 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.6705, allocations: 4 kB / 0.9706 GB, free: 3.012 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.6706, allocations: 0 / 0.9706 GB, free: 3.012 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.6707, allocations: 43.91 kB / 0.9706 GB, free: 2.969 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.6707, allocations: 0 / 0.9706 GB, free: 2.969 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.726e-05/0.6708, allocations: 15.88 kB / 0.9706 GB, free: 2.953 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.6708, allocations: 8 kB / 0.9706 GB, free: 2.945 MB / 0.7012 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 9.597e-05/0.6709, allocations: 121.8 kB / 0.9707 GB, free: 2.816 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.095e-05/0.6709, allocations: 11.95 kB / 0.9707 GB, free: 2.805 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.414e-05/0.671, allocations: 16.44 kB / 0.9708 GB, free: 2.793 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.671, allocations: 0 / 0.9708 GB, free: 2.793 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.671, allocations: 0 / 0.9708 GB, free: 2.793 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.671, allocations: 11.92 kB / 0.9708 GB, free: 2.781 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.6712, allocations: 189.6 kB / 0.971 GB, free: 2.547 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.6712, allocations: 4 kB / 0.971 GB, free: 2.543 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.6714, allocations: 39.92 kB / 0.971 GB, free: 2.504 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.6714, allocations: 0 / 0.971 GB, free: 2.504 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.6714, allocations: 8 kB / 0.971 GB, free: 2.496 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.6714, allocations: 128 / 0.971 GB, free: 2.496 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.6714, allocations: 4 kB / 0.971 GB, free: 2.492 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003374/0.6717, allocations: 207 kB / 0.9712 GB, free: 2.273 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 8.733e-05/0.6718, allocations: 97.11 kB / 0.9713 GB, free: 2.16 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.6718, allocations: 3.984 kB / 0.9713 GB, free: 2.156 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.672, allocations: 12 kB / 0.9713 GB, free: 2.145 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.661e-05/0.672, allocations: 11.92 kB / 0.9713 GB, free: 2.133 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.672, allocations: 12 kB / 0.9713 GB, free: 2.121 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 4.955e-05/0.6721, allocations: 75.28 kB / 0.9714 GB, free: 2.047 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/0.6721, allocations: 0 / 0.9714 GB, free: 2.047 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0002182/0.6723, allocations: 24 kB / 0.9714 GB, free: 2.023 MB / 0.7012 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.0001395/0.6724, allocations: 115.3 kB / 0.9715 GB, free: 1.898 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.000218/0.6726, allocations: 103.8 kB / 0.9716 GB, free: 1.797 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.6726, allocations: 0 / 0.9716 GB, free: 1.797 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 7.439e-05/0.6727, allocations: 47.92 kB / 0.9717 GB, free: 1.75 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.673, allocations: 22.11 kB / 0.9717 GB, free: 1.73 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008369/0.6738, allocations: 0.5163 MB / 0.9722 GB, free: 1.188 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.6741, allocations: 0.7008 MB / 0.9729 GB, free: 472 kB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0001034/0.6742, allocations: 16.64 kB / 0.9729 GB, free: 456 kB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.103e-05/0.6743, allocations: 19.44 kB / 0.9729 GB, free: 436 kB / 0.7012 GB Notification: Performance of SimCode: time 3e-07/0.6743, allocations: 4 kB / 0.9729 GB, free: 432 kB / 0.7012 GB Notification: Performance of Templates: time 0.003924/0.6782, allocations: 1.182 MB / 0.9741 GB, free: 15.24 MB / 0.7169 GB " [Timeout remaining time 659] 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.562618064694107]