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.001184/0.001188, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.00102/0.00102, allocations: 194.1 kB / 16.25 MB, free: 6.637 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.302/1.302, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002045/0.002045, allocations: 286.7 kB / 290.4 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9896/0.9896, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 96.34 kB / 0.5947 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1583, allocations: 86.98 MB / 0.6796 GB, free: 1.078 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.00237/0.1607, allocations: 1.394 MB / 0.681 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4686/0.6294, allocations: 145.9 MB / 0.8235 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.925e-05/0.6294, allocations: 0.5 kB / 0.8235 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.295e-05/0.6295, allocations: 0.625 kB / 0.8235 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.6296, allocations: 15.22 kB / 0.8235 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008947/0.6305, allocations: 305.7 kB / 0.8238 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.6307, allocations: 63.58 kB / 0.8239 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.715e-05/0.6307, allocations: 4.656 kB / 0.8239 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.806e-05/0.6308, allocations: 32.8 kB / 0.8239 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.473e-05/0.6309, allocations: 36.45 kB / 0.8239 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.6309, allocations: 3.219 kB / 0.8239 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008954/0.6318, allocations: 448.2 kB / 0.8244 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.779e-05/0.6319, allocations: 13.09 kB / 0.8244 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.657e-05/0.6319, allocations: 31.73 kB / 0.8244 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003489/0.6323, allocations: 182.8 kB / 0.8246 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.6323, allocations: 0 / 0.8246 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6323, allocations: 0 / 0.8246 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.6323, allocations: 2.25 kB / 0.8246 GB, free: 0.6602 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.0005132/0.6328, allocations: 386.2 kB / 0.8249 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.6329, allocations: 9.25 kB / 0.8249 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003991/0.6333, allocations: 44.38 kB / 0.825 GB, free: 16.28 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.6334, allocations: 161.9 kB / 0.8251 GB, free: 16.09 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.6335, allocations: 6.344 kB / 0.8252 GB, free: 16.08 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.285e-05/0.6335, allocations: 15.64 kB / 0.8252 GB, free: 16.08 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002335/0.6337, allocations: 79.61 kB / 0.8252 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.6338, allocations: 2.672 kB / 0.8252 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.6338, allocations: 2.25 kB / 0.8252 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.6338, allocations: 1.125 kB / 0.8252 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.6339, allocations: 50.84 kB / 0.8253 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002316/0.6342, allocations: 186.4 kB / 0.8255 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.6344, allocations: 98.59 kB / 0.8256 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.388e-05/0.6344, allocations: 35.05 kB / 0.8256 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002419/0.6347, allocations: 171.3 kB / 0.8258 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.6347, allocations: 42.17 kB / 0.8258 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.6347, allocations: 0 / 0.8258 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.001256/0.636, allocations: 0.5374 MB / 0.8263 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.636, allocations: 53.62 kB / 0.8264 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.103e-05/0.6361, allocations: 102.7 kB / 0.8265 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.6361, allocations: 30.45 kB / 0.8265 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.065e-05/0.6362, allocations: 81.89 kB / 0.8266 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.927e-05/0.6362, allocations: 68.14 kB / 0.8267 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.357e-05/0.6363, allocations: 42.03 kB / 0.8267 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.509e-05/0.6364, allocations: 323.2 kB / 0.827 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.884e-05/0.6364, allocations: 39.95 kB / 0.827 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.784e-05/0.6365, allocations: 69.08 kB / 0.8271 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.6367, allocations: 112.4 kB / 0.8272 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.6367, allocations: 0 / 0.8272 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002075/0.6369, allocations: 154.6 kB / 0.8274 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.6369, allocations: 5.688 kB / 0.8274 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.6369, allocations: 7.547 kB / 0.8274 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.6369, allocations: 3.594 kB / 0.8274 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.6371, allocations: 41.31 kB / 0.8274 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.6371, allocations: 2.281 kB / 0.8274 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.123e-05/0.6372, allocations: 5 kB / 0.8274 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.6372, allocations: 9.469 kB / 0.8274 GB, free: 14.52 MB / 0.5762 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.771e-05/0.6373, allocations: 129.2 kB / 0.8276 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.169e-05/0.6373, allocations: 8.281 kB / 0.8276 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.408e-05/0.6374, allocations: 15.94 kB / 0.8276 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.6374, allocations: 6.469 kB / 0.8276 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.6374, allocations: 3.984 kB / 0.8276 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.6374, allocations: 6.281 kB / 0.8276 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.6375, allocations: 195.7 kB / 0.8278 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.6375, allocations: 2.25 kB / 0.8278 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/0.6377, allocations: 35.28 kB / 0.8278 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.6378, allocations: 1.75 kB / 0.8278 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.6378, allocations: 8.406 kB / 0.8278 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.6378, allocations: 1.094 kB / 0.8278 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.6378, allocations: 0 / 0.8278 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002816/0.6381, allocations: 210.2 kB / 0.828 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.597e-05/0.6382, allocations: 94.56 kB / 0.8281 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.6382, allocations: 2.031 kB / 0.8281 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.6383, allocations: 9.078 kB / 0.8281 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.497e-05/0.6383, allocations: 14.16 kB / 0.8281 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.6384, allocations: 12.47 kB / 0.8282 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.195e-05/0.6384, allocations: 80.38 kB / 0.8282 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.6384, allocations: 0.9688 kB / 0.8282 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002126/0.6386, allocations: 28 kB / 0.8283 GB, free: 13.93 MB / 0.5762 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.0001282/0.6387, allocations: 109.4 kB / 0.8284 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000216/0.639, allocations: 122.9 kB / 0.8285 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.639, allocations: 1.531 kB / 0.8285 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.851e-05/0.6391, allocations: 53.86 kB / 0.8285 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.6393, allocations: 22.12 kB / 0.8286 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008705/0.6402, allocations: 0.5431 MB / 0.8291 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.6404, allocations: 0.7019 MB / 0.8298 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001281/0.6406, allocations: 20.12 kB / 0.8298 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.048e-05/0.6406, allocations: 15.41 kB / 0.8298 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of SimCode: time 2.1e-07/0.6406, allocations: 0 / 0.8298 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of Templates: time 0.003468/0.6441, allocations: 1.118 MB / 0.8309 GB, free: 12.61 MB / 0.5762 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)