Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.846/2.846, allocations: 287.3 MB / 302.3 MB, free: 8.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001522/0.001523, allocations: 174.8 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.208/2.208, allocations: 205.4 MB / 0.6295 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001145/0.001145, allocations: 104.2 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005072/0.0005074, allocations: 13.88 kB / 0.8656 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2197, allocations: 115.3 MB / 0.9782 GB, free: 28.43 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001432/0.2212, allocations: 1.023 MB / 0.9792 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9039/1.125, allocations: 125.2 MB / 1.101 GB, free: 1.953 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.153e-05/1.125, allocations: 0 / 1.101 GB, free: 1.953 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 6.073e-05/1.125, allocations: 13.2 kB / 1.101 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 6.622e-05/1.125, allocations: 6.453 kB / 1.101 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001398/1.127, allocations: 238.5 kB / 1.102 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001311/1.127, allocations: 42.33 kB / 1.102 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 6.184e-05/1.127, allocations: 5.375 kB / 1.102 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.036e-05/1.127, allocations: 34.08 kB / 1.102 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/1.127, allocations: 32.52 kB / 1.102 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/1.127, allocations: 4.125 kB / 1.102 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001197/1.128, allocations: 279.8 kB / 1.102 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 6.821e-05/1.129, allocations: 16.77 kB / 1.102 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001197/1.129, allocations: 32.23 kB / 1.102 GB, free: 17.87 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004293/1.129, allocations: 101.2 kB / 1.102 GB, free: 17.87 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/1.129, allocations: 0 / 1.102 GB, free: 17.87 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.963e-06/1.129, allocations: 4 kB / 1.102 GB, free: 17.86 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.939e-06/1.129, allocations: 0 / 1.102 GB, free: 17.86 MB / 0.698 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.0005598/1.13, allocations: 375.7 kB / 1.103 GB, free: 17.49 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/1.13, allocations: 13.69 kB / 1.103 GB, free: 17.49 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005804/1.13, allocations: 38.81 kB / 1.103 GB, free: 17.48 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/1.131, allocations: 167 kB / 1.103 GB, free: 17.29 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/1.131, allocations: 5.844 kB / 1.103 GB, free: 17.29 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.107e-05/1.131, allocations: 15.97 kB / 1.103 GB, free: 17.28 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000239/1.131, allocations: 79.3 kB / 1.103 GB, free: 17.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/1.131, allocations: 0 / 1.103 GB, free: 17.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/1.131, allocations: 4.156 kB / 1.103 GB, free: 17.25 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/1.131, allocations: 4.953 kB / 1.103 GB, free: 17.24 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/1.131, allocations: 42.41 kB / 1.103 GB, free: 17.24 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000244/1.131, allocations: 187 kB / 1.103 GB, free: 17.05 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/1.132, allocations: 89.78 kB / 1.103 GB, free: 17.02 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.701e-05/1.132, allocations: 9.547 kB / 1.103 GB, free: 17.02 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/1.132, allocations: 35.53 kB / 1.103 GB, free: 16.98 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 1.743e-06/1.132, allocations: 1.344 kB / 1.103 GB, free: 16.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.002006/1.134, allocations: 0.5449 MB / 1.104 GB, free: 16.71 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/1.134, allocations: 58.11 kB / 1.104 GB, free: 16.64 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.274e-05/1.134, allocations: 98.06 kB / 1.104 GB, free: 16.54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/1.134, allocations: 29.33 kB / 1.104 GB, free: 16.51 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/1.134, allocations: 81.89 kB / 1.104 GB, free: 16.43 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.235e-05/1.134, allocations: 67.23 kB / 1.104 GB, free: 16.39 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.098e-05/1.134, allocations: 9.844 kB / 1.104 GB, free: 16.38 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001215/1.134, allocations: 319.4 kB / 1.104 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/1.134, allocations: 32.31 kB / 1.104 GB, free: 16.07 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/1.135, allocations: 67.3 kB / 1.104 GB, free: 16.04 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/1.135, allocations: 50.55 kB / 1.104 GB, free: 16.04 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.135, allocations: 1.5 kB / 1.104 GB, free: 16.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003695/1.135, allocations: 153.6 kB / 1.105 GB, free: 15.99 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/1.135, allocations: 10.5 kB / 1.105 GB, free: 15.99 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/1.135, allocations: 2.109 kB / 1.105 GB, free: 15.99 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/1.135, allocations: 2.562 kB / 1.105 GB, free: 15.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003309/1.136, allocations: 41.64 kB / 1.105 GB, free: 15.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/1.136, allocations: 6.125 kB / 1.105 GB, free: 15.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/1.136, allocations: 9.656 kB / 1.105 GB, free: 15.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/1.136, allocations: 4.875 kB / 1.105 GB, free: 15.98 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001414/1.136, allocations: 122.3 kB / 1.105 GB, free: 15.86 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.46e-05/1.136, allocations: 12.05 kB / 1.105 GB, free: 15.86 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.829e-05/1.136, allocations: 20.81 kB / 1.105 GB, free: 15.84 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/1.136, allocations: 3.953 kB / 1.105 GB, free: 15.84 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/1.136, allocations: 1.859 kB / 1.105 GB, free: 15.84 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/1.136, allocations: 1.359 kB / 1.105 GB, free: 15.84 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002463/1.136, allocations: 197.7 kB / 1.105 GB, free: 15.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/1.136, allocations: 5.234 kB / 1.105 GB, free: 15.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004264/1.137, allocations: 35.36 kB / 1.105 GB, free: 15.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/1.137, allocations: 128 / 1.105 GB, free: 15.65 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/1.137, allocations: 8.125 kB / 1.105 GB, free: 15.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/1.137, allocations: 1.344 kB / 1.105 GB, free: 15.64 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.137, allocations: 4 kB / 1.105 GB, free: 15.64 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005125/1.137, allocations: 213.6 kB / 1.105 GB, free: 15.56 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/1.137, allocations: 91.42 kB / 1.105 GB, free: 15.46 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/1.137, allocations: 5 kB / 1.105 GB, free: 15.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/1.138, allocations: 7.5 kB / 1.105 GB, free: 15.46 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/1.138, allocations: 9.859 kB / 1.105 GB, free: 15.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/1.138, allocations: 7.125 kB / 1.105 GB, free: 15.46 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.923e-05/1.138, allocations: 84.58 kB / 1.106 GB, free: 15.39 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.563e-06/1.138, allocations: 1.062 kB / 1.106 GB, free: 15.39 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003598/1.138, allocations: 27.3 kB / 1.106 GB, free: 15.39 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001936/1.138, allocations: 108 kB / 1.106 GB, free: 15.29 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003351/1.139, allocations: 99.86 kB / 1.106 GB, free: 15.29 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/1.139, allocations: 4.281 kB / 1.106 GB, free: 15.29 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001225/1.139, allocations: 55.84 kB / 1.106 GB, free: 15.28 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/1.139, allocations: 12.11 kB / 1.106 GB, free: 15.28 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/1.141, allocations: 0.6191 MB / 1.106 GB, free: 14.85 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/1.141, allocations: 0.708 MB / 1.107 GB, free: 14.15 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002407/1.141, allocations: 17.94 kB / 1.107 GB, free: 14.15 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.299e-05/1.141, allocations: 15.84 kB / 1.107 GB, free: 14.14 MB / 0.698 GB Notification: Performance of SimCode: time 1.032e-06/1.141, allocations: 0 / 1.107 GB, free: 14.14 MB / 0.698 GB Notification: Performance of Templates: time 0.005463/1.147, allocations: 1.019 MB / 1.108 GB, free: 14.05 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)