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.554/2.554, allocations: 287.3 MB / 302.3 MB, free: 8.336 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.001599/0.001599, allocations: 186.9 kB / 370.8 MB, free: 10.85 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.31/2.31, allocations: 205.4 MB / 0.6295 GB, free: 10.57 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.001116/0.001116, allocations: 98.34 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004882/0.0004883, allocations: 10.81 kB / 0.8656 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2139, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001348/0.2153, allocations: 0.9843 MB / 0.9791 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9084/1.124, allocations: 124.3 MB / 1.101 GB, free: 1.992 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.422e-05/1.124, allocations: 0 / 1.101 GB, free: 1.992 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 2.222e-05/1.124, allocations: 6.562 kB / 1.101 GB, free: 1.988 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 5.769e-05/1.124, allocations: 7.016 kB / 1.101 GB, free: 1.988 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004222/1.124, allocations: 80.84 kB / 1.101 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 6.149e-05/1.124, allocations: 21.91 kB / 1.101 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.401e-05/1.125, allocations: 8.234 kB / 1.101 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.48e-05/1.125, allocations: 14.41 kB / 1.101 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.525e-05/1.125, allocations: 19.47 kB / 1.101 GB, free: 1.977 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/1.125, allocations: 1.375 kB / 1.101 GB, free: 1.977 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003355/1.125, allocations: 77.86 kB / 1.101 GB, free: 1.973 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 1.474e-05/1.125, allocations: 7.906 kB / 1.101 GB, free: 1.973 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001045/1.125, allocations: 33.77 kB / 1.101 GB, free: 17.94 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001782/1.125, allocations: 42.73 kB / 1.101 GB, free: 17.94 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/1.125, allocations: 0 / 1.101 GB, free: 17.94 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.575e-06/1.125, allocations: 2.953 kB / 1.101 GB, free: 17.94 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.628e-06/1.125, allocations: 4 kB / 1.101 GB, free: 17.93 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004117/1.126, allocations: 343.6 kB / 1.101 GB, free: 17.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/1.126, allocations: 11.12 kB / 1.101 GB, free: 17.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002327/1.126, allocations: 19.25 kB / 1.101 GB, free: 17.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/1.126, allocations: 163 kB / 1.101 GB, free: 17.37 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/1.126, allocations: 5.5 kB / 1.101 GB, free: 17.37 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/1.126, allocations: 2.75 kB / 1.101 GB, free: 17.37 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/1.126, allocations: 54.22 kB / 1.101 GB, free: 17.33 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/1.127, allocations: 0 / 1.101 GB, free: 17.33 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/1.127, allocations: 3.438 kB / 1.101 GB, free: 17.33 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/1.127, allocations: 9.266 kB / 1.101 GB, free: 17.32 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.233e-05/1.127, allocations: 19.48 kB / 1.101 GB, free: 17.32 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001923/1.127, allocations: 169 kB / 1.102 GB, free: 17.13 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/1.127, allocations: 44.66 kB / 1.102 GB, free: 17.11 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/1.127, allocations: 1.375 kB / 1.102 GB, free: 17.11 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/1.127, allocations: 40.17 kB / 1.102 GB, free: 17.07 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/1.127, allocations: 0 / 1.102 GB, free: 17.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0009313/1.128, allocations: 375.1 kB / 1.102 GB, free: 16.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/1.128, allocations: 53.12 kB / 1.102 GB, free: 16.74 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.837e-05/1.128, allocations: 94.2 kB / 1.102 GB, free: 16.64 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/1.128, allocations: 30.89 kB / 1.102 GB, free: 16.61 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.709e-05/1.128, allocations: 83.28 kB / 1.102 GB, free: 16.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.127e-05/1.128, allocations: 35.12 kB / 1.102 GB, free: 16.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.822e-06/1.128, allocations: 5 kB / 1.102 GB, free: 16.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000128/1.128, allocations: 314.5 kB / 1.103 GB, free: 16.19 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.394e-05/1.128, allocations: 18.45 kB / 1.103 GB, free: 16.19 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.854e-05/1.129, allocations: 36.48 kB / 1.103 GB, free: 16.17 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.97e-05/1.129, allocations: 22.44 kB / 1.103 GB, free: 16.17 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/1.129, allocations: 4 kB / 1.103 GB, free: 16.17 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002041/1.129, allocations: 102.5 kB / 1.103 GB, free: 16.13 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/1.129, allocations: 6.578 kB / 1.103 GB, free: 16.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/1.129, allocations: 2.828 kB / 1.103 GB, free: 16.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/1.129, allocations: 1.344 kB / 1.103 GB, free: 16.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/1.129, allocations: 24.67 kB / 1.103 GB, free: 16.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/1.129, allocations: 3.938 kB / 1.103 GB, free: 16.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.088e-05/1.129, allocations: 4.75 kB / 1.103 GB, free: 16.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/1.129, allocations: 3 kB / 1.103 GB, free: 16.12 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.0001289/1.129, allocations: 119 kB / 1.103 GB, free: 16 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.017e-05/1.129, allocations: 3.406 kB / 1.103 GB, free: 16 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.176e-05/1.129, allocations: 10.09 kB / 1.103 GB, free: 16 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/1.129, allocations: 1.188 kB / 1.103 GB, free: 16 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/1.129, allocations: 4.922 kB / 1.103 GB, free: 16 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/1.129, allocations: 0 / 1.103 GB, free: 16 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/1.13, allocations: 169.8 kB / 1.103 GB, free: 15.81 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/1.13, allocations: 0 / 1.103 GB, free: 15.81 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002324/1.13, allocations: 21.83 kB / 1.103 GB, free: 15.81 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/1.13, allocations: 1.75 kB / 1.103 GB, free: 15.81 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/1.13, allocations: 5.312 kB / 1.103 GB, free: 15.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/1.13, allocations: 3.938 kB / 1.103 GB, free: 15.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.13, allocations: 3.516 kB / 1.103 GB, free: 15.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/1.13, allocations: 131.3 kB / 1.103 GB, free: 15.73 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.963e-05/1.13, allocations: 86.03 kB / 1.103 GB, free: 15.64 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/1.13, allocations: 6.75 kB / 1.103 GB, free: 15.63 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/1.131, allocations: 4.203 kB / 1.103 GB, free: 15.63 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.223e-05/1.131, allocations: 16.39 kB / 1.103 GB, free: 15.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/1.131, allocations: 2.625 kB / 1.103 GB, free: 15.63 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.805e-05/1.131, allocations: 75.28 kB / 1.103 GB, free: 15.55 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.3e-07/1.131, allocations: 1.281 kB / 1.103 GB, free: 15.55 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000286/1.131, allocations: 19.14 kB / 1.103 GB, free: 15.55 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.0001254/1.131, allocations: 102.4 kB / 1.104 GB, free: 15.46 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000175/1.131, allocations: 61.95 kB / 1.104 GB, free: 15.46 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.131, allocations: 4.094 kB / 1.104 GB, free: 15.45 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.444e-05/1.131, allocations: 32.44 kB / 1.104 GB, free: 15.45 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001873/1.132, allocations: 3.562 kB / 1.104 GB, free: 15.45 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007377/1.132, allocations: 389.5 kB / 1.104 GB, free: 15.16 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/1.133, allocations: 0.689 MB / 1.105 GB, free: 14.46 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001131/1.133, allocations: 10.66 kB / 1.105 GB, free: 14.46 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.878e-05/1.133, allocations: 11.91 kB / 1.105 GB, free: 14.45 MB / 0.698 GB Notification: Performance of SimCode: time 7.92e-07/1.133, allocations: 0 / 1.105 GB, free: 14.45 MB / 0.698 GB Notification: Performance of Templates: time 0.003382/1.136, allocations: 0.5779 MB / 1.105 GB, free: 14.39 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)