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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck") translateModel(BuildingSystems.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00726/0.00726, allocations: 173.9 kB / 16.27 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001684/0.001684, allocations: 278.8 kB / 291.7 MB, free: 1.855 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9742/0.9742, allocations: 169.5 MB / 0.5004 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006344/0.0006344, allocations: 12.16 kB / 0.5986 GB, free: 28.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1916, allocations: 88.55 MB / 0.6851 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.001766/0.1934, allocations: 1.049 MB / 0.6861 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4821/0.6755, allocations: 144.3 MB / 0.827 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.389e-05/0.6756, allocations: 0 / 0.827 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.397e-05/0.6756, allocations: 7.875 kB / 0.827 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.269e-05/0.6757, allocations: 17.94 kB / 0.827 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007888/0.6765, allocations: 295.6 kB / 0.8273 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.6766, allocations: 80.25 kB / 0.8274 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.852e-05/0.6767, allocations: 6.203 kB / 0.8274 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.319e-05/0.6767, allocations: 29.16 kB / 0.8274 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.159e-05/0.6768, allocations: 33.02 kB / 0.8275 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.6769, allocations: 3.438 kB / 0.8275 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000828/0.6777, allocations: 0.4954 MB / 0.8279 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.029e-05/0.6777, allocations: 19.09 kB / 0.828 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.751e-05/0.6778, allocations: 48.7 kB / 0.828 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003146/0.6781, allocations: 185.9 kB / 0.8282 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.6781, allocations: 0 / 0.8282 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6781, allocations: 0 / 0.8282 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.6782, allocations: 0 / 0.8282 GB, free: 15.29 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003966/0.6786, allocations: 373.8 kB / 0.8285 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.6786, allocations: 9.188 kB / 0.8285 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003836/0.679, allocations: 45.98 kB / 0.8286 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.215e-05/0.6791, allocations: 161.8 kB / 0.8287 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.6791, allocations: 10.84 kB / 0.8288 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.6791, allocations: 9.062 kB / 0.8288 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.6793, allocations: 84.48 kB / 0.8288 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.6793, allocations: 0 / 0.8288 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.6793, allocations: 5.156 kB / 0.8289 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.6793, allocations: 1.438 kB / 0.8289 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.314e-05/0.6794, allocations: 49.23 kB / 0.8289 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001704/0.6796, allocations: 186.9 kB / 0.8291 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.6798, allocations: 94.25 kB / 0.8292 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.033e-05/0.6798, allocations: 28.62 kB / 0.8292 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002157/0.6801, allocations: 179 kB / 0.8294 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.6801, allocations: 44.66 kB / 0.8294 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.6801, allocations: 0 / 0.8294 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.001215/0.6813, allocations: 0.5344 MB / 0.8299 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.6814, allocations: 57.53 kB / 0.83 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.193e-05/0.6814, allocations: 97.36 kB / 0.8301 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.6815, allocations: 27.58 kB / 0.8301 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.55e-05/0.6815, allocations: 84.14 kB / 0.8302 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.441e-05/0.6815, allocations: 72.77 kB / 0.8303 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.6816, allocations: 27.3 kB / 0.8303 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.799e-05/0.6817, allocations: 320.4 kB / 0.8306 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.947e-05/0.6818, allocations: 40.16 kB / 0.8306 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.918e-05/0.6818, allocations: 75.33 kB / 0.8307 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.682, allocations: 114.9 kB / 0.8308 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.682, allocations: 3.938 kB / 0.8308 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001935/0.6822, allocations: 156.4 kB / 0.831 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.6822, allocations: 5.5 kB / 0.831 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.6822, allocations: 1.375 kB / 0.831 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.6822, allocations: 1.375 kB / 0.831 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.6824, allocations: 43.55 kB / 0.831 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.6824, allocations: 1.375 kB / 0.831 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.579e-05/0.6825, allocations: 10.38 kB / 0.831 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.6825, allocations: 9.688 kB / 0.831 GB, free: 12.97 MB / 0.5606 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 8.532e-05/0.6826, allocations: 122.5 kB / 0.8311 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.842e-05/0.6826, allocations: 13.34 kB / 0.8312 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.701e-05/0.6827, allocations: 15.38 kB / 0.8312 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/0.6827, allocations: 2.75 kB / 0.8312 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.6827, allocations: 5.625 kB / 0.8312 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.6827, allocations: 3.938 kB / 0.8312 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.6828, allocations: 193.5 kB / 0.8314 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.6828, allocations: 1.375 kB / 0.8314 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/0.683, allocations: 34.23 kB / 0.8314 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.683, allocations: 1.375 kB / 0.8314 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.6831, allocations: 8.859 kB / 0.8314 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.6831, allocations: 5.359 kB / 0.8314 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6831, allocations: 0 / 0.8314 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/0.6833, allocations: 214.2 kB / 0.8316 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.716e-05/0.6834, allocations: 90.5 kB / 0.8317 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.6834, allocations: 8.125 kB / 0.8317 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.6836, allocations: 10.36 kB / 0.8317 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.34e-05/0.6836, allocations: 9.484 kB / 0.8317 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.6836, allocations: 8.062 kB / 0.8317 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.035e-05/0.6837, allocations: 81.66 kB / 0.8318 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6837, allocations: 0 / 0.8318 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002139/0.6839, allocations: 29.72 kB / 0.8318 GB, free: 12.33 MB / 0.5606 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.000119/0.684, allocations: 107.7 kB / 0.832 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002003/0.6842, allocations: 106.7 kB / 0.8321 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.6842, allocations: 1.031 kB / 0.8321 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.364e-05/0.6843, allocations: 53.16 kB / 0.8321 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.6845, allocations: 20.39 kB / 0.8321 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008018/0.6854, allocations: 0.6338 MB / 0.8327 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.6856, allocations: 0.6971 MB / 0.8334 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001215/0.6857, allocations: 22.77 kB / 0.8334 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.778e-05/0.6858, allocations: 15.88 kB / 0.8335 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.6858, allocations: 0 / 0.8335 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of Templates: time 0.003314/0.6891, allocations: 1.065 MB / 0.8345 GB, free: 10.45 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.makefile (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)