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.00146/0.00146, allocations: 108.2 kB / 15.99 MB, free: 5.891 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.001467/0.001467, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.334/1.334, allocations: 222.9 MB / 240.6 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002389/0.002389, allocations: 275 kB / 291 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9957/0.9957, allocations: 178.6 MB / 0.5076 GB, free: 4.703 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002643/0.002644, allocations: 98.16 kB / 0.6065 GB, free: 25.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1578, allocations: 89.15 MB / 0.6936 GB, free: 4.691 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.002405/0.1603, allocations: 1.398 MB / 0.695 GB, free: 3.289 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4142/0.5745, allocations: 145.9 MB / 0.8375 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.049e-05/0.5746, allocations: 1.125 kB / 0.8375 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.993e-05/0.5746, allocations: 3.984 kB / 0.8375 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.798e-05/0.5747, allocations: 18.06 kB / 0.8375 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008633/0.5756, allocations: 306.1 kB / 0.8378 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.915e-05/0.5757, allocations: 60.42 kB / 0.8379 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.589e-05/0.5758, allocations: 2.312 kB / 0.8379 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.336e-05/0.5758, allocations: 36.09 kB / 0.8379 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.483e-05/0.5759, allocations: 37.05 kB / 0.8379 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.5759, allocations: 3.094 kB / 0.8379 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007552/0.5767, allocations: 444.8 kB / 0.8383 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.598e-05/0.5767, allocations: 16.83 kB / 0.8384 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.503e-05/0.5768, allocations: 29.34 kB / 0.8384 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.577, allocations: 111.5 kB / 0.8385 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.577, allocations: 0 / 0.8385 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.342e-06/0.577, allocations: 0 / 0.8385 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.577, allocations: 0.8438 kB / 0.8385 GB, free: 13.91 MB / 0.5762 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.0004592/0.5775, allocations: 391 kB / 0.8389 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.5775, allocations: 9.469 kB / 0.8389 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004015/0.5779, allocations: 37.39 kB / 0.8389 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.578, allocations: 163.3 kB / 0.8391 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.5781, allocations: 10.56 kB / 0.8391 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.902e-05/0.5781, allocations: 13.62 kB / 0.8391 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.5783, allocations: 80.64 kB / 0.8392 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.5783, allocations: 5.125 kB / 0.8392 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.5783, allocations: 5 kB / 0.8392 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.5783, allocations: 1.219 kB / 0.8392 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.255e-05/0.5784, allocations: 46.05 kB / 0.8392 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002069/0.5786, allocations: 180.7 kB / 0.8394 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.5788, allocations: 96.78 kB / 0.8395 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.141e-05/0.5789, allocations: 31.16 kB / 0.8395 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002422/0.5791, allocations: 180.1 kB / 0.8397 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.5792, allocations: 37.17 kB / 0.8397 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.082e-06/0.5792, allocations: 0 / 0.8397 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.001233/0.5804, allocations: 0.5451 MB / 0.8403 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.5805, allocations: 53.75 kB / 0.8403 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.722e-05/0.5805, allocations: 100.6 kB / 0.8404 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.5806, allocations: 31.67 kB / 0.8404 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.441e-05/0.5806, allocations: 80.52 kB / 0.8405 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.306e-05/0.5807, allocations: 67.47 kB / 0.8406 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.939e-05/0.5808, allocations: 50.83 kB / 0.8406 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.5809, allocations: 327.4 kB / 0.8409 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.482e-05/0.581, allocations: 30.67 kB / 0.841 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.284e-05/0.5811, allocations: 72.61 kB / 0.841 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.5812, allocations: 119.9 kB / 0.8412 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.5812, allocations: 4 kB / 0.8412 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002064/0.5814, allocations: 150.1 kB / 0.8413 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.5815, allocations: 9.5 kB / 0.8413 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.5815, allocations: 0 / 0.8413 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.5815, allocations: 2.312 kB / 0.8413 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.5817, allocations: 43.12 kB / 0.8414 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.5817, allocations: 1.344 kB / 0.8414 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.442e-05/0.5817, allocations: 10.66 kB / 0.8414 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.5817, allocations: 8.812 kB / 0.8414 GB, free: 11.29 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 0.0001055/0.5819, allocations: 123.3 kB / 0.8415 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.5819, allocations: 7.719 kB / 0.8415 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.566e-05/0.5819, allocations: 17.41 kB / 0.8415 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.5819, allocations: 2.938 kB / 0.8415 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.582, allocations: 0 / 0.8415 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.582, allocations: 7.922 kB / 0.8415 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.5821, allocations: 197.6 kB / 0.8417 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.5822, allocations: 0 / 0.8417 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000186/0.5823, allocations: 38.55 kB / 0.8418 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.5824, allocations: 3 kB / 0.8418 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.5824, allocations: 9.062 kB / 0.8418 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.5824, allocations: 1.125 kB / 0.8418 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.5824, allocations: 1.062 kB / 0.8418 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000303/0.5827, allocations: 216.5 kB / 0.842 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.581e-05/0.5828, allocations: 87.38 kB / 0.8421 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.5828, allocations: 1.281 kB / 0.8421 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.583, allocations: 8.812 kB / 0.8421 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.543e-05/0.583, allocations: 12.42 kB / 0.8421 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.583, allocations: 11.97 kB / 0.8421 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.93e-05/0.583, allocations: 77.91 kB / 0.8422 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5831, allocations: 3.938 kB / 0.8422 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002112/0.5833, allocations: 30.56 kB / 0.8422 GB, free: 10.56 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.0001368/0.5834, allocations: 106.4 kB / 0.8423 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002242/0.5836, allocations: 122 kB / 0.8424 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5837, allocations: 1.031 kB / 0.8424 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.075e-05/0.5837, allocations: 55.8 kB / 0.8425 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.584, allocations: 16.98 kB / 0.8425 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000846/0.5848, allocations: 0.5693 MB / 0.843 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.5852, allocations: 0.7 MB / 0.8437 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.532e-05/0.5852, allocations: 21 kB / 0.8437 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.5852, allocations: 0 / 0.8437 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of Templates: time 0.002878/0.5881, allocations: 1.304 MB / 0.845 GB, free: 8.512 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)