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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.9191/0.9191, allocations: 143.4 MB / 159.2 MB, free: 4.867 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 192.5 kB / 191.9 MB, free: 5.73 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 222.9 MB / 447.3 MB, free: 5.887 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 103.8 kB / 0.517 GB, free: 3.738 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001923/0.001923, allocations: 277.1 kB / 0.5973 GB, free: 49.41 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001669, allocations: 83.88 kB / 0.6885 GB, free: 3.883 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.454/0.4557, allocations: 81.29 MB / 0.7679 GB, free: 27.69 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.004342/0.4601, allocations: 1.383 MB / 0.7693 GB, free: 26.3 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.5211/0.9812, allocations: 145.8 MB / 0.9116 GB, free: 0.7109 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.816e-05/0.9813, allocations: 0 / 0.9116 GB, free: 0.7109 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 5.345e-05/0.9814, allocations: 3.406 kB / 0.9116 GB, free: 0.7109 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.9815, allocations: 14.34 kB / 0.9117 GB, free: 0.7109 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009407/0.9825, allocations: 303.6 kB / 0.912 GB, free: 0.6914 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.9826, allocations: 86.19 kB / 0.912 GB, free: 0.6914 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.843e-05/0.9827, allocations: 5.25 kB / 0.912 GB, free: 0.6914 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.244e-05/0.9827, allocations: 29.41 kB / 0.9121 GB, free: 0.6914 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.9828, allocations: 31.44 kB / 0.9121 GB, free: 0.6914 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.9829, allocations: 7.875 kB / 0.9121 GB, free: 0.6914 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.9839, allocations: 0.4931 MB / 0.9126 GB, free: 0.6797 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 5.862e-05/0.984, allocations: 13.61 kB / 0.9126 GB, free: 0.6797 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 6.55e-05/0.984, allocations: 28.31 kB / 0.9126 GB, free: 0.6797 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004333/0.9845, allocations: 185.5 kB / 0.9128 GB, free: 0.668 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.9845, allocations: 0.7188 kB / 0.9128 GB, free: 0.668 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.202e-06/0.9845, allocations: 0 / 0.9128 GB, free: 0.668 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.391e-06/0.9845, allocations: 1.125 kB / 0.9128 GB, free: 0.668 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005852/0.9851, allocations: 395.8 kB / 0.9132 GB, free: 16.29 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.9851, allocations: 9.531 kB / 0.9132 GB, free: 16.29 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004186/0.9856, allocations: 35.89 kB / 0.9132 GB, free: 16.29 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.9857, allocations: 166.7 kB / 0.9134 GB, free: 16.09 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.9857, allocations: 10.09 kB / 0.9134 GB, free: 16.09 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.945e-05/0.9858, allocations: 10.77 kB / 0.9134 GB, free: 16.09 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002444/0.986, allocations: 80.33 kB / 0.9135 GB, free: 16.05 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.9861, allocations: 0.6562 kB / 0.9135 GB, free: 16.05 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.9861, allocations: 6.469 kB / 0.9135 GB, free: 16.05 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.9861, allocations: 4.75 kB / 0.9135 GB, free: 16.05 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.9862, allocations: 43.98 kB / 0.9135 GB, free: 16.05 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002667/0.9865, allocations: 185.5 kB / 0.9137 GB, free: 15.86 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002393/0.9868, allocations: 96.67 kB / 0.9138 GB, free: 15.83 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.865e-05/0.9869, allocations: 30.52 kB / 0.9138 GB, free: 15.82 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003237/0.9872, allocations: 177.8 kB / 0.914 GB, free: 15.63 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.401e-05/0.9872, allocations: 39.47 kB / 0.914 GB, free: 15.59 MB / 0.573 GB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.9872, allocations: 0 / 0.914 GB, free: 15.59 MB / 0.573 GB Notification: Performance of matching and sorting (n=19): time 0.001777/0.989, allocations: 0.549 MB / 0.9146 GB, free: 15.32 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.936e-05/0.9891, allocations: 53.81 kB / 0.9146 GB, free: 15.26 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.897e-05/0.9892, allocations: 94.75 kB / 0.9147 GB, free: 15.16 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/0.9893, allocations: 31.89 kB / 0.9147 GB, free: 15.13 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 4.233e-05/0.9893, allocations: 81.64 kB / 0.9148 GB, free: 15.05 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 9.307e-05/0.9894, allocations: 67.92 kB / 0.9149 GB, free: 15 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.302e-05/0.9895, allocations: 42.58 kB / 0.9149 GB, free: 14.98 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.9897, allocations: 328.9 kB / 0.9152 GB, free: 14.66 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.242e-05/0.9898, allocations: 38.09 kB / 0.9153 GB, free: 14.66 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.9899, allocations: 72.41 kB / 0.9154 GB, free: 14.63 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002178/0.9901, allocations: 115.9 kB / 0.9155 GB, free: 14.6 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.9901, allocations: 0.7969 kB / 0.9155 GB, free: 14.6 MB / 0.573 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003311/0.9905, allocations: 152 kB / 0.9156 GB, free: 14.57 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.9905, allocations: 13.98 kB / 0.9156 GB, free: 14.56 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.9905, allocations: 0.8125 kB / 0.9156 GB, free: 14.56 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.9905, allocations: 5.406 kB / 0.9156 GB, free: 14.56 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.9907, allocations: 37.7 kB / 0.9157 GB, free: 14.56 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.9908, allocations: 5.188 kB / 0.9157 GB, free: 14.56 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.007e-05/0.9908, allocations: 9.719 kB / 0.9157 GB, free: 14.56 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.9908, allocations: 5.281 kB / 0.9157 GB, free: 14.56 MB / 0.573 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.0001103/0.991, allocations: 123.9 kB / 0.9158 GB, free: 14.45 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.991, allocations: 12.28 kB / 0.9158 GB, free: 14.44 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.159e-05/0.9911, allocations: 16.47 kB / 0.9158 GB, free: 14.44 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.9911, allocations: 2.812 kB / 0.9158 GB, free: 14.44 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.9911, allocations: 1.422 kB / 0.9158 GB, free: 14.44 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.9911, allocations: 7.344 kB / 0.9158 GB, free: 14.43 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/0.9913, allocations: 192.7 kB / 0.916 GB, free: 14.25 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.9913, allocations: 0.6562 kB / 0.916 GB, free: 14.25 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/0.9915, allocations: 35.44 kB / 0.9161 GB, free: 14.25 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.9916, allocations: 3.844 kB / 0.9161 GB, free: 14.25 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.9916, allocations: 4.594 kB / 0.9161 GB, free: 14.25 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.9916, allocations: 7.234 kB / 0.9161 GB, free: 14.24 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.9916, allocations: 4 kB / 0.9161 GB, free: 14.24 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001918/0.9935, allocations: 1.348 MB / 0.9174 GB, free: 13.29 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.9936, allocations: 94.14 kB / 0.9175 GB, free: 13.19 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.9937, allocations: 6.141 kB / 0.9175 GB, free: 13.19 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.9938, allocations: 8.938 kB / 0.9175 GB, free: 13.19 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/0.9939, allocations: 13.97 kB / 0.9175 GB, free: 13.19 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.9939, allocations: 5.078 kB / 0.9175 GB, free: 13.19 MB / 0.573 GB Notification: Performance of sorting global known variables: time 5.055e-05/0.9939, allocations: 85.2 kB / 0.9176 GB, free: 13.11 MB / 0.573 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9939, allocations: 0.5625 kB / 0.9176 GB, free: 13.11 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0003683/0.9943, allocations: 29.28 kB / 0.9176 GB, free: 13.11 MB / 0.573 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.0001851/0.9945, allocations: 110.8 kB / 0.9177 GB, free: 13.02 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0002663/0.9948, allocations: 105.6 kB / 0.9178 GB, free: 13.02 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.9948, allocations: 0 / 0.9178 GB, free: 13.02 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.9949, allocations: 57.25 kB / 0.9179 GB, free: 13.02 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.9953, allocations: 23.75 kB / 0.9179 GB, free: 13.01 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.9964, allocations: 0.694 MB / 0.9186 GB, free: 12.5 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.9967, allocations: 0.707 MB / 0.9193 GB, free: 11.8 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001417/0.9969, allocations: 25 kB / 0.9193 GB, free: 11.79 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.968e-05/0.9969, allocations: 18.12 kB / 0.9193 GB, free: 11.78 MB / 0.573 GB Notification: Performance of SimCode: time 1.793e-06/0.9969, allocations: 2.094 kB / 0.9193 GB, free: 11.78 MB / 0.573 GB Notification: Performance of Templates: time 0.004601/1.002, allocations: 1.157 MB / 0.9204 GB, free: 11.69 MB / 0.573 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)