Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009772/0.0009772, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.00111/0.00111, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.654/1.654, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.713/1.713, allocations: 292.5 MB / 0.5497 GB, free: 14.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005955/0.0005957, allocations: 18.62 kB / 0.6735 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3139, allocations: 116.3 MB / 0.7871 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001352/0.3153, allocations: 0.9804 MB / 0.7881 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.8203/1.136, allocations: 124.3 MB / 0.9094 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.431e-05/1.136, allocations: 0.625 kB / 0.9094 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.971e-05/1.136, allocations: 1.641 kB / 0.9094 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.55e-05/1.136, allocations: 9.375 kB / 0.9094 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003692/1.136, allocations: 82.27 kB / 0.9095 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.773e-05/1.136, allocations: 22.19 kB / 0.9095 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.968e-05/1.136, allocations: 3.453 kB / 0.9095 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.749e-05/1.136, allocations: 15.48 kB / 0.9096 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.891e-05/1.136, allocations: 18 kB / 0.9096 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/1.136, allocations: 1.875 kB / 0.9096 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000298/1.137, allocations: 79.75 kB / 0.9097 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.686e-05/1.137, allocations: 8.109 kB / 0.9097 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001355/1.137, allocations: 38.14 kB / 0.9097 GB, free: 22.22 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001449/1.137, allocations: 40.69 kB / 0.9097 GB, free: 22.22 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/1.137, allocations: 0.875 kB / 0.9097 GB, free: 22.22 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.593e-06/1.137, allocations: 0 / 0.9097 GB, free: 22.22 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.038e-06/1.137, allocations: 0 / 0.9097 GB, free: 22.22 MB / 0.7325 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.0004044/1.138, allocations: 338.8 kB / 0.9101 GB, free: 21.87 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/1.138, allocations: 10.03 kB / 0.9101 GB, free: 21.87 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002213/1.138, allocations: 18.34 kB / 0.9101 GB, free: 21.86 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/1.138, allocations: 177.7 kB / 0.9103 GB, free: 21.66 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/1.138, allocations: 1.844 kB / 0.9103 GB, free: 21.66 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.434e-05/1.138, allocations: 4.922 kB / 0.9103 GB, free: 21.66 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/1.138, allocations: 52.47 kB / 0.9103 GB, free: 21.62 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/1.138, allocations: 0.9688 kB / 0.9103 GB, free: 21.62 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/1.138, allocations: 0 / 0.9103 GB, free: 21.62 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/1.138, allocations: 2.125 kB / 0.9103 GB, free: 21.62 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.953e-05/1.138, allocations: 22.23 kB / 0.9103 GB, free: 21.62 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001823/1.138, allocations: 165.5 kB / 0.9105 GB, free: 21.43 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.479e-05/1.139, allocations: 54.03 kB / 0.9105 GB, free: 21.4 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/1.139, allocations: 0.7188 kB / 0.9106 GB, free: 21.4 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/1.139, allocations: 33.48 kB / 0.9106 GB, free: 21.36 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/1.139, allocations: 0 / 0.9106 GB, free: 21.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0007887/1.139, allocations: 372.5 kB / 0.9109 GB, free: 21.11 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/1.14, allocations: 60.64 kB / 0.911 GB, free: 21.04 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.635e-05/1.14, allocations: 96.09 kB / 0.9111 GB, free: 20.94 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/1.14, allocations: 27.17 kB / 0.9111 GB, free: 20.91 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.069e-05/1.14, allocations: 80.8 kB / 0.9112 GB, free: 20.83 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.312e-05/1.14, allocations: 39.83 kB / 0.9112 GB, free: 20.8 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/1.14, allocations: 0.8438 kB / 0.9112 GB, free: 20.8 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001111/1.14, allocations: 316.9 kB / 0.9115 GB, free: 20.49 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.136e-05/1.14, allocations: 21.34 kB / 0.9116 GB, free: 20.49 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.956e-05/1.14, allocations: 35.67 kB / 0.9116 GB, free: 20.47 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.059e-05/1.14, allocations: 22.95 kB / 0.9116 GB, free: 20.47 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/1.14, allocations: 1 kB / 0.9116 GB, free: 20.47 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001479/1.14, allocations: 98.11 kB / 0.9117 GB, free: 20.44 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/1.14, allocations: 8.344 kB / 0.9117 GB, free: 20.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/1.14, allocations: 0 / 0.9117 GB, free: 20.44 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/1.14, allocations: 1.469 kB / 0.9117 GB, free: 20.44 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/1.14, allocations: 21.5 kB / 0.9117 GB, free: 20.44 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/1.14, allocations: 5.031 kB / 0.9117 GB, free: 20.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.404e-05/1.14, allocations: 9.672 kB / 0.9117 GB, free: 20.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/1.14, allocations: 7.453 kB / 0.9118 GB, free: 20.43 MB / 0.7325 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 9.023e-05/1.141, allocations: 118.4 kB / 0.9119 GB, free: 20.31 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.419e-05/1.141, allocations: 3.141 kB / 0.9119 GB, free: 20.31 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.931e-05/1.141, allocations: 14.66 kB / 0.9119 GB, free: 20.31 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/1.141, allocations: 1.875 kB / 0.9119 GB, free: 20.31 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/1.141, allocations: 0 / 0.9119 GB, free: 20.31 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/1.141, allocations: 2.406 kB / 0.9119 GB, free: 20.31 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/1.141, allocations: 177.2 kB / 0.9121 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/1.141, allocations: 0 / 0.9121 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/1.141, allocations: 23.55 kB / 0.9121 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/1.141, allocations: 0.625 kB / 0.9121 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/1.141, allocations: 6.078 kB / 0.9121 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/1.141, allocations: 2.844 kB / 0.9121 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/1.141, allocations: 0 / 0.9121 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002179/1.141, allocations: 130.5 kB / 0.9122 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.665e-05/1.141, allocations: 90.97 kB / 0.9123 GB, free: 19.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/1.141, allocations: 1.609 kB / 0.9123 GB, free: 19.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.191e-05/1.141, allocations: 6.047 kB / 0.9123 GB, free: 19.95 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.448e-05/1.141, allocations: 14.06 kB / 0.9123 GB, free: 19.94 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/1.141, allocations: 3.469 kB / 0.9123 GB, free: 19.94 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.689e-05/1.141, allocations: 77 kB / 0.9124 GB, free: 19.87 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/1.141, allocations: 0 / 0.9124 GB, free: 19.87 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002008/1.142, allocations: 16.12 kB / 0.9124 GB, free: 19.87 MB / 0.7325 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.0001094/1.142, allocations: 101.2 kB / 0.9125 GB, free: 19.77 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001455/1.142, allocations: 59.62 kB / 0.9126 GB, free: 19.77 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.142, allocations: 0.6875 kB / 0.9126 GB, free: 19.77 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.542e-05/1.142, allocations: 28.33 kB / 0.9126 GB, free: 19.77 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001813/1.142, allocations: 11.2 kB / 0.9126 GB, free: 19.77 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00062/1.143, allocations: 395.5 kB / 0.913 GB, free: 19.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/1.143, allocations: 0.6872 MB / 0.9137 GB, free: 18.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.701e-05/1.143, allocations: 11.03 kB / 0.9137 GB, free: 18.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.008e-05/1.143, allocations: 16.22 kB / 0.9137 GB, free: 18.79 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/1.143, allocations: 0 / 0.9137 GB, free: 18.79 MB / 0.7325 GB Notification: Performance of Templates: time 0.00288/1.146, allocations: 0.5713 MB / 0.9142 GB, free: 18.73 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: