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.001032/0.001032, allocations: 99.42 kB / 16.35 MB, free: 5.824 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.0009754/0.0009754, allocations: 193.9 kB / 17.29 MB, free: 5.48 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.269/1.269, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002071/0.002071, allocations: 293.3 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9188/0.9188, allocations: 169.2 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001703, allocations: 98.75 kB / 0.5967 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1461, allocations: 86.97 MB / 0.6816 GB, free: 7.426 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.002149/0.1483, allocations: 1.331 MB / 0.6829 GB, free: 6.086 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3874/0.5357, allocations: 148.1 MB / 0.8275 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.656e-05/0.5358, allocations: 0 / 0.8275 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 3.502e-05/0.5358, allocations: 7.875 kB / 0.8275 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 9.336e-05/0.536, allocations: 18.91 kB / 0.8275 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009052/0.5369, allocations: 324.1 kB / 0.8278 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.537, allocations: 63.81 kB / 0.8279 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.514e-05/0.537, allocations: 8 kB / 0.8279 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.556e-05/0.5371, allocations: 31.86 kB / 0.8279 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.643e-05/0.5372, allocations: 31.89 kB / 0.828 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.5372, allocations: 8 kB / 0.828 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007422/0.5379, allocations: 410.6 kB / 0.8284 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.715e-05/0.538, allocations: 19.92 kB / 0.8284 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.49e-05/0.5381, allocations: 31.91 kB / 0.8284 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003019/0.5384, allocations: 146.2 kB / 0.8286 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.5384, allocations: 0 / 0.8286 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.163e-06/0.5384, allocations: 0 / 0.8286 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.5384, allocations: 0 / 0.8286 GB, free: 7.984 MB / 0.5919 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.0004045/0.5388, allocations: 399.4 kB / 0.8289 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.5388, allocations: 12.03 kB / 0.8289 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003833/0.5392, allocations: 37.42 kB / 0.829 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.097e-05/0.5393, allocations: 164.5 kB / 0.8291 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.5394, allocations: 11.94 kB / 0.8291 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.195e-05/0.5394, allocations: 15.98 kB / 0.8292 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.5396, allocations: 74.53 kB / 0.8292 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.5396, allocations: 0 / 0.8292 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.5396, allocations: 4 kB / 0.8292 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.5396, allocations: 0 / 0.8292 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.593e-05/0.5397, allocations: 47.95 kB / 0.8293 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001765/0.5399, allocations: 189.5 kB / 0.8295 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.54, allocations: 92.05 kB / 0.8296 GB, free: 6.812 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.217e-05/0.5401, allocations: 33.27 kB / 0.8296 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002139/0.5403, allocations: 178.2 kB / 0.8298 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.5404, allocations: 42.5 kB / 0.8298 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.5404, allocations: 0 / 0.8298 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.00119/0.5416, allocations: 0.5434 MB / 0.8303 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.5416, allocations: 51.41 kB / 0.8304 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.445e-05/0.5417, allocations: 97.84 kB / 0.8305 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.5417, allocations: 29.7 kB / 0.8305 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.706e-05/0.5417, allocations: 92.52 kB / 0.8306 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.354e-05/0.5418, allocations: 63.02 kB / 0.8306 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.256e-05/0.5418, allocations: 41.83 kB / 0.8307 GB, free: 5.516 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.898e-05/0.5419, allocations: 326.8 kB / 0.831 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.858e-05/0.542, allocations: 35.73 kB / 0.831 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.892e-05/0.5421, allocations: 68.62 kB / 0.8311 GB, free: 5.078 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.5422, allocations: 124.9 kB / 0.8312 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.5422, allocations: 0 / 0.8312 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002075/0.5425, allocations: 157.5 kB / 0.8314 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.5425, allocations: 8 kB / 0.8314 GB, free: 4.777 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.5425, allocations: 3.938 kB / 0.8314 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.5425, allocations: 0 / 0.8314 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.5427, allocations: 39.97 kB / 0.8314 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.5427, allocations: 4 kB / 0.8314 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.37e-05/0.5427, allocations: 7.938 kB / 0.8314 GB, free: 4.723 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.5428, allocations: 8.156 kB / 0.8314 GB, free: 4.715 MB / 0.5919 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.272e-05/0.5428, allocations: 121.8 kB / 0.8316 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.949e-05/0.5429, allocations: 11.91 kB / 0.8316 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.966e-05/0.5429, allocations: 16.44 kB / 0.8316 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.5429, allocations: 4 kB / 0.8316 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.5429, allocations: 3.984 kB / 0.8316 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.5429, allocations: 5 kB / 0.8316 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.5431, allocations: 193.6 kB / 0.8318 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.5431, allocations: 0 / 0.8318 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/0.5433, allocations: 43.92 kB / 0.8318 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.5433, allocations: 0 / 0.8318 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.5433, allocations: 0 / 0.8318 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.5433, allocations: 4 kB / 0.8318 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.5433, allocations: 7.859 kB / 0.8318 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002789/0.5436, allocations: 216.9 kB / 0.832 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.955e-05/0.5437, allocations: 92.94 kB / 0.8321 GB, free: 3.922 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.5437, allocations: 4.062 kB / 0.8321 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.5438, allocations: 8 kB / 0.8321 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.458e-05/0.5439, allocations: 11.98 kB / 0.8321 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.5439, allocations: 15.86 kB / 0.8322 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.041e-05/0.5439, allocations: 83.28 kB / 0.8322 GB, free: 3.801 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5439, allocations: 0 / 0.8322 GB, free: 3.801 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002169/0.5442, allocations: 28 kB / 0.8323 GB, free: 3.773 MB / 0.5919 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.0001152/0.5443, allocations: 103.2 kB / 0.8324 GB, free: 3.66 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001793/0.5445, allocations: 103.8 kB / 0.8325 GB, free: 3.559 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.5445, allocations: 4.094 kB / 0.8325 GB, free: 3.555 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 7.285e-05/0.5445, allocations: 55.91 kB / 0.8325 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.5448, allocations: 16.19 kB / 0.8325 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007068/0.5455, allocations: 0.5129 MB / 0.833 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002071/0.5457, allocations: 0.7008 MB / 0.8337 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.743e-05/0.5458, allocations: 32.55 kB / 0.8338 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.494e-05/0.5459, allocations: 15.44 kB / 0.8338 GB, free: 2.18 MB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/0.5459, allocations: 0 / 0.8338 GB, free: 2.18 MB / 0.5919 GB Notification: Performance of Templates: time 0.003246/0.5491, allocations: 1.098 MB / 0.8348 GB, free: 1.082 MB / 0.5919 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe 2>&1)