Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.000794/0.0007941, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.006144/0.006144, allocations: 169.8 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.084/3.084, allocations: 473.4 MB / 0.7469 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003453/0.0003454, allocations: 7.938 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3539, allocations: 162.2 MB / 1.074 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001732/0.3557, allocations: 0.9998 MB / 1.075 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1792/0.5349, allocations: 143.2 MB / 1.215 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.472e-05/0.5349, allocations: 4 kB / 1.215 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.01e-05/0.535, allocations: 0 / 1.215 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.521e-05/0.535, allocations: 11.86 kB / 1.215 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003568/0.5354, allocations: 79.69 kB / 1.215 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.442e-05/0.5355, allocations: 31.86 kB / 1.215 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.831e-05/0.5355, allocations: 0 / 1.215 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.046e-05/0.5356, allocations: 16 kB / 1.215 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.966e-05/0.5356, allocations: 19.91 kB / 1.215 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.5356, allocations: 4 kB / 1.215 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002562/0.5359, allocations: 71.83 kB / 1.215 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.484e-05/0.5359, allocations: 7.984 kB / 1.215 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.377e-05/0.536, allocations: 41.62 kB / 1.215 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.5361, allocations: 64.11 kB / 1.215 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.5362, allocations: 4 kB / 1.215 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5362, allocations: 3.938 kB / 1.215 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.5362, allocations: 0 / 1.215 GB, free: 6.457 MB / 0.9669 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.0003936/0.5366, allocations: 339.5 kB / 1.216 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.5366, allocations: 8.031 kB / 1.216 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002055/0.5368, allocations: 16.83 kB / 1.216 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.537, allocations: 164.4 kB / 1.216 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.537, allocations: 11.88 kB / 1.216 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.585e-05/0.537, allocations: 8 kB / 1.216 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.5372, allocations: 61.58 kB / 1.216 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.5372, allocations: 4 kB / 1.216 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.5372, allocations: 4 kB / 1.216 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.5372, allocations: 0 / 1.216 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.5373, allocations: 11.98 kB / 1.216 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002026/0.5376, allocations: 165.6 kB / 1.216 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.5377, allocations: 58.48 kB / 1.216 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.949e-05/0.5377, allocations: 12.86 kB / 1.216 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.5377, allocations: 4 kB / 1.216 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.5378, allocations: 38.56 kB / 1.216 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.5378, allocations: 0 / 1.216 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0008361/0.5386, allocations: 370.3 kB / 1.216 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.5387, allocations: 51.41 kB / 1.217 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.152e-05/0.5387, allocations: 97.86 kB / 1.217 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.5388, allocations: 29.83 kB / 1.217 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.386e-05/0.5388, allocations: 80.14 kB / 1.217 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.158e-05/0.5389, allocations: 39.45 kB / 1.217 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.5389, allocations: 21.66 kB / 1.217 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.5391, allocations: 322.8 kB / 1.217 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.75e-05/0.5391, allocations: 12 kB / 1.217 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.435e-05/0.5392, allocations: 45.64 kB / 1.217 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.434e-05/0.5393, allocations: 61.7 kB / 1.217 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5393, allocations: 4 kB / 1.217 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000218/0.5395, allocations: 94.06 kB / 1.217 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.5395, allocations: 8 kB / 1.217 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.5395, allocations: 0 / 1.217 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.5396, allocations: 0 / 1.217 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.5397, allocations: 23.98 kB / 1.217 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.5397, allocations: 4.141 kB / 1.217 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.834e-05/0.5398, allocations: 4 kB / 1.217 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.5398, allocations: 4 kB / 1.217 GB, free: 4.043 MB / 0.9669 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.705e-05/0.5399, allocations: 125.7 kB / 1.217 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.575e-05/0.5399, allocations: 4 kB / 1.217 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.579e-05/0.5399, allocations: 15.95 kB / 1.217 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.5399, allocations: 3.938 kB / 1.217 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.54, allocations: 0 / 1.217 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.54, allocations: 0 / 1.217 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002175/0.5402, allocations: 173.6 kB / 1.218 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.5402, allocations: 3.984 kB / 1.218 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.5403, allocations: 16 kB / 1.218 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.5403, allocations: 8 kB / 1.218 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.5404, allocations: 0 / 1.218 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.5404, allocations: 0 / 1.218 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.5404, allocations: 0 / 1.218 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.5406, allocations: 144.8 kB / 1.218 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.246e-05/0.5407, allocations: 81.11 kB / 1.218 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.5407, allocations: 8.031 kB / 1.218 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.796e-05/0.5408, allocations: 4 kB / 1.218 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.684e-05/0.5408, allocations: 4 kB / 1.218 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.5409, allocations: 7.984 kB / 1.218 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.607e-05/0.5409, allocations: 79.28 kB / 1.218 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5409, allocations: 0 / 1.218 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002058/0.5411, allocations: 19.94 kB / 1.218 GB, free: 3.258 MB / 0.9669 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001069/0.5412, allocations: 99.34 kB / 1.218 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001361/0.5414, allocations: 59.86 kB / 1.218 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.5414, allocations: 4.094 kB / 1.218 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.185e-05/0.5414, allocations: 31.92 kB / 1.218 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.5416, allocations: 4 kB / 1.218 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006429/0.5423, allocations: 390.3 kB / 1.219 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.5427, allocations: 0.6887 MB / 1.219 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.761e-05/0.5427, allocations: 8.672 kB / 1.219 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.698e-05/0.5428, allocations: 11.44 kB / 1.219 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of SimCode: time 3.31e-07/0.5428, allocations: 0 / 1.219 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of Templates: time 0.002966/0.5457, allocations: 0.6049 MB / 1.22 GB, free: 1.309 MB / 0.9669 GB make -j1 -f Buildings_1.6_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_1.6_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)