Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.695/2.695, allocations: 287.5 MB / 302.4 MB, free: 8.223 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.001299/0.001298, allocations: 182.1 kB / 371 MB, free: 10.86 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.077/2.077, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.001293/0.001293, allocations: 78.84 kB / 0.743 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006843/0.0006845, allocations: 10.56 kB / 0.8658 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2349, allocations: 115.3 MB / 0.9784 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001427/0.2364, allocations: 0.9898 MB / 0.9793 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8503/1.087, allocations: 133.5 MB / 1.11 GB, free: 1.941 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.236e-05/1.087, allocations: 7.938 kB / 1.11 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 2.312e-05/1.087, allocations: 2.672 kB / 1.11 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 5.023e-05/1.087, allocations: 0.75 kB / 1.11 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004359/1.087, allocations: 81.33 kB / 1.11 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 7.285e-05/1.087, allocations: 26.7 kB / 1.11 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.618e-05/1.087, allocations: 2.062 kB / 1.11 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.852e-05/1.088, allocations: 16.77 kB / 1.11 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.609e-05/1.088, allocations: 13.84 kB / 1.11 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/1.088, allocations: 6.719 kB / 1.11 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003279/1.088, allocations: 75 kB / 1.11 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 1.633e-05/1.088, allocations: 9.688 kB / 1.11 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 2.558e-05/1.088, allocations: 29.92 kB / 1.11 GB, free: 1.859 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001511/1.088, allocations: 45.56 kB / 1.11 GB, free: 1.855 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/1.088, allocations: 0 / 1.11 GB, free: 1.855 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.264e-06/1.088, allocations: 1.75 kB / 1.11 GB, free: 1.855 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.208e-06/1.088, allocations: 1.219 kB / 1.11 GB, free: 1.855 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005091/1.089, allocations: 342.7 kB / 1.11 GB, free: 17.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/1.089, allocations: 9.062 kB / 1.11 GB, free: 17.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002372/1.089, allocations: 26.14 kB / 1.11 GB, free: 17.48 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/1.089, allocations: 163.6 kB / 1.11 GB, free: 17.29 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/1.089, allocations: 6.281 kB / 1.11 GB, free: 17.28 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/1.089, allocations: 6.953 kB / 1.11 GB, free: 17.28 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/1.089, allocations: 50.72 kB / 1.111 GB, free: 17.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/1.089, allocations: 1.75 kB / 1.111 GB, free: 17.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/1.089, allocations: 3.984 kB / 1.111 GB, free: 17.25 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/1.089, allocations: 9.172 kB / 1.111 GB, free: 17.24 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.416e-05/1.09, allocations: 15.84 kB / 1.111 GB, free: 17.24 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002001/1.09, allocations: 164.4 kB / 1.111 GB, free: 17.05 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/1.09, allocations: 52.39 kB / 1.111 GB, free: 17.02 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.91e-05/1.09, allocations: 15.73 kB / 1.111 GB, free: 17.02 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/1.09, allocations: 1.312 kB / 1.111 GB, free: 17.02 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/1.09, allocations: 39.62 kB / 1.111 GB, free: 16.97 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.764e-06/1.09, allocations: 0 / 1.111 GB, free: 16.97 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.001047/1.091, allocations: 370.8 kB / 1.111 GB, free: 16.71 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/1.091, allocations: 53.61 kB / 1.111 GB, free: 16.65 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.253e-05/1.091, allocations: 95.8 kB / 1.111 GB, free: 16.55 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/1.091, allocations: 27.89 kB / 1.111 GB, free: 16.52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.87e-05/1.091, allocations: 86.09 kB / 1.111 GB, free: 16.43 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.703e-05/1.091, allocations: 38.2 kB / 1.111 GB, free: 16.41 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-06/1.091, allocations: 1.859 kB / 1.111 GB, free: 16.41 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001285/1.092, allocations: 321.6 kB / 1.112 GB, free: 16.09 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.792e-05/1.092, allocations: 23.14 kB / 1.112 GB, free: 16.09 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.604e-05/1.092, allocations: 34.17 kB / 1.112 GB, free: 16.07 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.34e-05/1.092, allocations: 29.47 kB / 1.112 GB, free: 16.07 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/1.092, allocations: 0 / 1.112 GB, free: 16.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002189/1.092, allocations: 101.3 kB / 1.112 GB, free: 16.03 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/1.092, allocations: 4.406 kB / 1.112 GB, free: 16.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/1.092, allocations: 1.578 kB / 1.112 GB, free: 16.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/1.092, allocations: 1.062 kB / 1.112 GB, free: 16.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/1.092, allocations: 27.8 kB / 1.112 GB, free: 16.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/1.092, allocations: 0.6094 kB / 1.112 GB, free: 16.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.032e-05/1.092, allocations: 0.8438 kB / 1.112 GB, free: 16.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/1.092, allocations: 5.625 kB / 1.112 GB, free: 16.02 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 14 * 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.0001059/1.093, allocations: 117 kB / 1.112 GB, free: 15.91 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.136e-05/1.093, allocations: 8.328 kB / 1.112 GB, free: 15.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.597e-05/1.093, allocations: 11.44 kB / 1.112 GB, free: 15.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/1.093, allocations: 4.094 kB / 1.112 GB, free: 15.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/1.093, allocations: 3.953 kB / 1.112 GB, free: 15.89 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/1.093, allocations: 0.6094 kB / 1.112 GB, free: 15.89 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/1.093, allocations: 172.2 kB / 1.112 GB, free: 15.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/1.093, allocations: 3.938 kB / 1.112 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002333/1.093, allocations: 21.91 kB / 1.112 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/1.093, allocations: 0 / 1.112 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/1.093, allocations: 1.094 kB / 1.112 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.718e-06/1.093, allocations: 5.844 kB / 1.112 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.093, allocations: 0.875 kB / 1.112 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002876/1.093, allocations: 139.3 kB / 1.112 GB, free: 15.62 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.652e-05/1.094, allocations: 84.11 kB / 1.113 GB, free: 15.53 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/1.094, allocations: 4.25 kB / 1.113 GB, free: 15.53 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/1.094, allocations: 2.797 kB / 1.113 GB, free: 15.53 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.383e-05/1.094, allocations: 8.359 kB / 1.113 GB, free: 15.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/1.094, allocations: 2.953 kB / 1.113 GB, free: 15.53 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.961e-05/1.094, allocations: 83.72 kB / 1.113 GB, free: 15.45 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.6e-07/1.094, allocations: 1.312 kB / 1.113 GB, free: 15.45 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002659/1.094, allocations: 18.58 kB / 1.113 GB, free: 15.45 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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 (11): * Single equations (assignments): 11 * 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.0001588/1.094, allocations: 99.09 kB / 1.113 GB, free: 15.36 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001824/1.094, allocations: 55.5 kB / 1.113 GB, free: 15.36 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.738e-06/1.095, allocations: 1.312 kB / 1.113 GB, free: 15.36 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.574e-05/1.095, allocations: 30.81 kB / 1.113 GB, free: 15.36 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/1.095, allocations: 11.23 kB / 1.113 GB, free: 15.35 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007638/1.096, allocations: 389 kB / 1.113 GB, free: 15.07 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/1.096, allocations: 0.6854 MB / 1.114 GB, free: 14.37 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001125/1.096, allocations: 10.45 kB / 1.114 GB, free: 14.37 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.607e-05/1.096, allocations: 12.41 kB / 1.114 GB, free: 14.36 MB / 0.698 GB Notification: Performance of SimCode: time 8.22e-07/1.096, allocations: 3.938 kB / 1.114 GB, free: 14.36 MB / 0.698 GB Notification: Performance of Templates: time 0.003593/1.1, allocations: 0.5819 MB / 1.114 GB, free: 14.29 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)