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.675/2.675, allocations: 287.5 MB / 302.4 MB, free: 8.176 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.001337/0.001337, allocations: 182 kB / 371 MB, free: 10.89 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.138/2.138, allocations: 205.4 MB / 0.6297 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.0009191/0.000919, allocations: 88.66 kB / 0.743 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007646/0.000765, allocations: 15.61 kB / 0.8658 GB, free: 140 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2272, allocations: 115.3 MB / 0.9783 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001409/0.2287, allocations: 1.037 MB / 0.9793 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8913/1.12, allocations: 134.5 MB / 1.111 GB, free: 1.961 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.08e-05/1.12, allocations: 0 / 1.111 GB, free: 1.961 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 4.483e-05/1.12, allocations: 1.828 kB / 1.111 GB, free: 1.961 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001219/1.12, allocations: 15.25 kB / 1.111 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001175/1.122, allocations: 226.1 kB / 1.111 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001421/1.122, allocations: 72.22 kB / 1.111 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.811e-05/1.122, allocations: 4.891 kB / 1.111 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.97e-05/1.122, allocations: 29.77 kB / 1.111 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/1.122, allocations: 36.48 kB / 1.111 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/1.122, allocations: 2.25 kB / 1.111 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001076/1.123, allocations: 255 kB / 1.111 GB, free: 1.844 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 5.715e-05/1.123, allocations: 14.5 kB / 1.111 GB, free: 1.844 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000117/1.123, allocations: 38.16 kB / 1.111 GB, free: 17.81 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003405/1.124, allocations: 104 kB / 1.111 GB, free: 17.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/1.124, allocations: 0 / 1.111 GB, free: 17.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.605e-06/1.124, allocations: 0 / 1.111 GB, free: 17.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.789e-06/1.124, allocations: 0 / 1.111 GB, free: 17.8 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.0005531/1.124, allocations: 374 kB / 1.112 GB, free: 17.43 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/1.124, allocations: 21.48 kB / 1.112 GB, free: 17.41 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005599/1.125, allocations: 37.72 kB / 1.112 GB, free: 17.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/1.125, allocations: 167.1 kB / 1.112 GB, free: 17.21 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/1.125, allocations: 5.781 kB / 1.112 GB, free: 17.21 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.276e-05/1.125, allocations: 14.08 kB / 1.112 GB, free: 17.21 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/1.125, allocations: 76.33 kB / 1.112 GB, free: 17.18 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/1.125, allocations: 1.969 kB / 1.112 GB, free: 17.18 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/1.125, allocations: 5.656 kB / 1.112 GB, free: 17.17 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/1.125, allocations: 5.016 kB / 1.112 GB, free: 17.17 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/1.126, allocations: 49.53 kB / 1.112 GB, free: 17.16 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000257/1.126, allocations: 183.1 kB / 1.112 GB, free: 16.97 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/1.126, allocations: 89.3 kB / 1.112 GB, free: 16.95 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.869e-05/1.126, allocations: 32.78 kB / 1.112 GB, free: 16.94 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000321/1.127, allocations: 177 kB / 1.113 GB, free: 16.75 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/1.127, allocations: 40 kB / 1.113 GB, free: 16.71 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 2.635e-06/1.127, allocations: 4 kB / 1.113 GB, free: 16.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.002725/1.129, allocations: 0.5362 MB / 1.113 GB, free: 16.44 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.152e-05/1.129, allocations: 58.2 kB / 1.113 GB, free: 16.37 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.635e-05/1.13, allocations: 98.27 kB / 1.113 GB, free: 16.27 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.115e-05/1.13, allocations: 32.59 kB / 1.113 GB, free: 16.24 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.052e-05/1.13, allocations: 81.64 kB / 1.113 GB, free: 16.16 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/1.13, allocations: 69.8 kB / 1.114 GB, free: 16.11 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.906e-05/1.13, allocations: 3.25 kB / 1.114 GB, free: 16.11 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001912/1.13, allocations: 318.6 kB / 1.114 GB, free: 15.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/1.13, allocations: 36.42 kB / 1.114 GB, free: 15.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/1.131, allocations: 75.53 kB / 1.114 GB, free: 15.76 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/1.131, allocations: 44.45 kB / 1.114 GB, free: 15.76 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/1.131, allocations: 0 / 1.114 GB, free: 15.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005459/1.131, allocations: 156.5 kB / 1.114 GB, free: 15.72 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/1.131, allocations: 6.375 kB / 1.114 GB, free: 15.72 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/1.131, allocations: 1.094 kB / 1.114 GB, free: 15.72 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/1.131, allocations: 2.312 kB / 1.114 GB, free: 15.72 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004461/1.132, allocations: 42.81 kB / 1.114 GB, free: 15.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.489e-05/1.132, allocations: 6.234 kB / 1.114 GB, free: 15.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/1.132, allocations: 7.719 kB / 1.114 GB, free: 15.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.838e-05/1.132, allocations: 7.453 kB / 1.114 GB, free: 15.71 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.00023/1.132, allocations: 126.2 kB / 1.114 GB, free: 15.59 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.649e-05/1.132, allocations: 8.719 kB / 1.114 GB, free: 15.59 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.462e-05/1.133, allocations: 19.2 kB / 1.114 GB, free: 15.58 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/1.133, allocations: 2.594 kB / 1.114 GB, free: 15.58 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/1.133, allocations: 0 / 1.114 GB, free: 15.58 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/1.133, allocations: 7.406 kB / 1.114 GB, free: 15.57 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003241/1.133, allocations: 201.4 kB / 1.115 GB, free: 15.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/1.133, allocations: 1 kB / 1.115 GB, free: 15.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005244/1.134, allocations: 35.58 kB / 1.115 GB, free: 15.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.648e-06/1.134, allocations: 1 kB / 1.115 GB, free: 15.38 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.055e-05/1.134, allocations: 5.375 kB / 1.115 GB, free: 15.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.714e-06/1.134, allocations: 5.938 kB / 1.115 GB, free: 15.38 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.134, allocations: 0 / 1.115 GB, free: 15.38 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006872/1.134, allocations: 205.8 kB / 1.115 GB, free: 15.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/1.135, allocations: 90.8 kB / 1.115 GB, free: 15.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.872e-05/1.135, allocations: 9.047 kB / 1.115 GB, free: 15.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000298/1.135, allocations: 8.531 kB / 1.115 GB, free: 15.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.045e-05/1.135, allocations: 9.547 kB / 1.115 GB, free: 15.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.124e-05/1.135, allocations: 8.969 kB / 1.115 GB, free: 15.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.569e-05/1.135, allocations: 77.03 kB / 1.115 GB, free: 15.12 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.62e-07/1.135, allocations: 0 / 1.115 GB, free: 15.12 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000558/1.136, allocations: 33.12 kB / 1.115 GB, free: 15.12 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.0002444/1.136, allocations: 114.4 kB / 1.115 GB, free: 15.02 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005032/1.136, allocations: 105 kB / 1.115 GB, free: 15.02 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.852e-06/1.136, allocations: 0 / 1.115 GB, free: 15.02 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001764/1.137, allocations: 51.53 kB / 1.115 GB, free: 15.02 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004958/1.137, allocations: 20.78 kB / 1.115 GB, free: 15.01 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/1.139, allocations: 0.6189 MB / 1.116 GB, free: 14.59 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005193/1.14, allocations: 0.6991 MB / 1.117 GB, free: 13.89 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003421/1.14, allocations: 32.2 kB / 1.117 GB, free: 13.88 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.81e-05/1.14, allocations: 15.66 kB / 1.117 GB, free: 13.87 MB / 0.698 GB Notification: Performance of SimCode: time 1.162e-06/1.14, allocations: 0 / 1.117 GB, free: 13.87 MB / 0.698 GB Notification: Performance of Templates: time 0.007545/1.148, allocations: 1.016 MB / 1.118 GB, free: 13.78 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)