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.006311/0.006311, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.001217/0.001217, allocations: 190 kB / 16.67 MB, free: 5.977 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002155/0.002155, allocations: 277.6 kB / 290.8 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9481/0.9481, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 88.19 kB / 0.6814 GB, free: 15.54 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1662, allocations: 86.97 MB / 0.7664 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.002056/0.1683, allocations: 1.342 MB / 0.7677 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5188/0.6871, allocations: 148.1 MB / 0.9123 GB, free: 13.46 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.391e-05/0.6872, allocations: 0 / 0.9123 GB, free: 13.46 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 3.383e-05/0.6872, allocations: 7.875 kB / 0.9123 GB, free: 13.46 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 8.83e-05/0.6874, allocations: 11.92 kB / 0.9123 GB, free: 13.45 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008633/0.6883, allocations: 330.5 kB / 0.9126 GB, free: 13.13 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00011/0.6884, allocations: 63.81 kB / 0.9127 GB, free: 13.07 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 4.207e-05/0.6885, allocations: 8 kB / 0.9127 GB, free: 13.06 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 4.419e-05/0.6885, allocations: 31.91 kB / 0.9127 GB, free: 13.03 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 8.963e-05/0.6886, allocations: 31.89 kB / 0.9127 GB, free: 13 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.6886, allocations: 4 kB / 0.9127 GB, free: 12.99 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006891/0.6893, allocations: 406.3 kB / 0.9131 GB, free: 12.6 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 5.645e-05/0.6894, allocations: 19.97 kB / 0.9132 GB, free: 12.58 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 3.974e-05/0.6894, allocations: 31.86 kB / 0.9132 GB, free: 12.55 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.000295/0.6897, allocations: 158.5 kB / 0.9133 GB, free: 12.39 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.6897, allocations: 4 kB / 0.9133 GB, free: 12.39 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6898, allocations: 0 / 0.9133 GB, free: 12.39 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.6898, allocations: 0 / 0.9133 GB, free: 12.39 MB / 0.67 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.0004073/0.6902, allocations: 389.6 kB / 0.9137 GB, free: 11.96 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.6902, allocations: 8.031 kB / 0.9137 GB, free: 11.96 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004059/0.6906, allocations: 36.91 kB / 0.9138 GB, free: 11.92 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.02e-05/0.6907, allocations: 164.5 kB / 0.9139 GB, free: 11.72 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.6908, allocations: 11.94 kB / 0.9139 GB, free: 11.71 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/0.6908, allocations: 11.98 kB / 0.9139 GB, free: 11.7 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.6909, allocations: 81.53 kB / 0.914 GB, free: 11.61 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.691, allocations: 0 / 0.914 GB, free: 11.61 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.691, allocations: 4 kB / 0.914 GB, free: 11.61 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.691, allocations: 0 / 0.914 GB, free: 11.61 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.681e-05/0.6911, allocations: 49.16 kB / 0.9141 GB, free: 11.56 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001748/0.6913, allocations: 193.5 kB / 0.9142 GB, free: 11.32 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.6914, allocations: 98.47 kB / 0.9143 GB, free: 11.22 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.162e-05/0.6915, allocations: 32.94 kB / 0.9144 GB, free: 11.18 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002243/0.6917, allocations: 174.2 kB / 0.9145 GB, free: 10.98 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.6918, allocations: 42.56 kB / 0.9146 GB, free: 10.93 MB / 0.67 GB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.6918, allocations: 0 / 0.9146 GB, free: 10.93 MB / 0.67 GB Notification: Performance of matching and sorting (n=19): time 0.001161/0.6929, allocations: 0.5322 MB / 0.9151 GB, free: 10.34 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.693, allocations: 55.97 kB / 0.9152 GB, free: 10.28 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.476e-05/0.693, allocations: 101.8 kB / 0.9152 GB, free: 10.17 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.6931, allocations: 25.7 kB / 0.9153 GB, free: 10.14 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 3.122e-05/0.6931, allocations: 88.5 kB / 0.9154 GB, free: 10.05 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 5.03e-05/0.6932, allocations: 70.89 kB / 0.9154 GB, free: 9.977 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-05/0.6932, allocations: 41.7 kB / 0.9155 GB, free: 9.93 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.362e-05/0.6933, allocations: 326.7 kB / 0.9158 GB, free: 9.602 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.584e-05/0.6934, allocations: 35.98 kB / 0.9158 GB, free: 9.566 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.928e-05/0.6935, allocations: 72.95 kB / 0.9159 GB, free: 9.484 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.6936, allocations: 117.6 kB / 0.916 GB, free: 9.359 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.6936, allocations: 0 / 0.916 GB, free: 9.359 MB / 0.67 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001943/0.6938, allocations: 161.4 kB / 0.9161 GB, free: 9.195 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.6938, allocations: 8 kB / 0.9162 GB, free: 9.188 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.6938, allocations: 0 / 0.9162 GB, free: 9.188 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.6939, allocations: 0 / 0.9162 GB, free: 9.188 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.694, allocations: 43.92 kB / 0.9162 GB, free: 9.145 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.694, allocations: 4.688 kB / 0.9162 GB, free: 9.141 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.512e-05/0.6941, allocations: 7.938 kB / 0.9162 GB, free: 9.133 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.6941, allocations: 4 kB / 0.9162 GB, free: 9.129 MB / 0.67 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.232e-05/0.6942, allocations: 126.4 kB / 0.9163 GB, free: 8.996 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.952e-05/0.6942, allocations: 7.906 kB / 0.9163 GB, free: 8.988 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.464e-05/0.6943, allocations: 16.44 kB / 0.9164 GB, free: 8.977 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.6943, allocations: 4 kB / 0.9164 GB, free: 8.973 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.6943, allocations: 8.672 kB / 0.9164 GB, free: 8.965 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.6943, allocations: 3.938 kB / 0.9164 GB, free: 8.961 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.6944, allocations: 189.6 kB / 0.9166 GB, free: 8.727 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.6944, allocations: 0 / 0.9166 GB, free: 8.727 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/0.6946, allocations: 35.98 kB / 0.9166 GB, free: 8.691 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.6946, allocations: 4.562 kB / 0.9166 GB, free: 8.688 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.6947, allocations: 0 / 0.9166 GB, free: 8.688 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.6947, allocations: 0 / 0.9166 GB, free: 8.688 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.6947, allocations: 3.938 kB / 0.9166 GB, free: 8.684 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.6949, allocations: 218.5 kB / 0.9168 GB, free: 8.457 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 6.314e-05/0.695, allocations: 93 kB / 0.9169 GB, free: 8.348 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.695, allocations: 4.062 kB / 0.9169 GB, free: 8.344 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.6952, allocations: 8 kB / 0.9169 GB, free: 8.336 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.463e-05/0.6952, allocations: 11.98 kB / 0.9169 GB, free: 8.324 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.6952, allocations: 15.92 kB / 0.9169 GB, free: 8.309 MB / 0.67 GB Notification: Performance of sorting global known variables: time 2.7e-05/0.6952, allocations: 75.28 kB / 0.917 GB, free: 8.234 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6953, allocations: 0 / 0.917 GB, free: 8.234 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0002094/0.6955, allocations: 32.09 kB / 0.917 GB, free: 8.203 MB / 0.67 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.000116/0.6956, allocations: 103.2 kB / 0.9171 GB, free: 8.09 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0001818/0.6958, allocations: 109.6 kB / 0.9172 GB, free: 7.984 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.6958, allocations: 0 / 0.9172 GB, free: 7.984 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 6.975e-05/0.6959, allocations: 58.31 kB / 0.9173 GB, free: 7.93 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.6961, allocations: 18.28 kB / 0.9173 GB, free: 7.914 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006868/0.6968, allocations: 0.5108 MB / 0.9178 GB, free: 7.387 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.697, allocations: 0.7047 MB / 0.9185 GB, free: 6.656 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 9.861e-05/0.6971, allocations: 28.61 kB / 0.9185 GB, free: 6.629 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.781e-05/0.6972, allocations: 15.44 kB / 0.9185 GB, free: 6.613 MB / 0.67 GB Notification: Performance of SimCode: time 2.4e-07/0.6972, allocations: 3.938 kB / 0.9185 GB, free: 6.609 MB / 0.67 GB Notification: Performance of Templates: time 0.003191/0.7004, allocations: 1.136 MB / 0.9197 GB, free: 5.48 MB / 0.67 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)