Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009988/0.0009988, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 169 kB / 23.49 MB, free: 1.059 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9733/0.9733, allocations: 177.1 MB / 203.8 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8601/0.8601, allocations: 154.6 MB / 414.9 MB, free: 0.668 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 0.5203 GB, free: 2.535 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.39e-05/3.619e-05, allocations: 6.141 kB / 0.5203 GB, free: 2.531 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.003175/0.003211, allocations: 1.307 MB / 0.5216 GB, free: 1.234 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.1612/0.1644, allocations: 142.5 MB / 0.6608 GB, free: 2.355 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.259e-05/0.1644, allocations: 0 / 0.6608 GB, free: 2.355 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.718e-05/0.1645, allocations: 0 / 0.6608 GB, free: 2.355 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.459e-05/0.1645, allocations: 15.91 kB / 0.6608 GB, free: 2.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002913/0.1648, allocations: 87.5 kB / 0.6609 GB, free: 2.254 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.51e-05/0.1649, allocations: 31.86 kB / 0.6609 GB, free: 2.223 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.273e-05/0.1649, allocations: 8 kB / 0.6609 GB, free: 2.215 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.667e-05/0.1649, allocations: 31.89 kB / 0.6609 GB, free: 2.184 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.498e-05/0.165, allocations: 4 kB / 0.6609 GB, free: 2.18 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.165, allocations: 0 / 0.6609 GB, free: 2.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001657/0.1652, allocations: 79.75 kB / 0.661 GB, free: 2.102 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.1652, allocations: 11.98 kB / 0.661 GB, free: 2.09 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.862e-05/0.1652, allocations: 15.86 kB / 0.661 GB, free: 2.074 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.1653, allocations: 71.8 kB / 0.6611 GB, free: 2.004 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1653, allocations: 4 kB / 0.6611 GB, free: 2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1653, allocations: 0 / 0.6611 GB, free: 2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.1653, allocations: 4 kB / 0.6611 GB, free: 1.996 MB / 0.6198 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.000314/0.1656, allocations: 372.2 kB / 0.6615 GB, free: 1.598 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.1657, allocations: 8.031 kB / 0.6615 GB, free: 1.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001641/0.1658, allocations: 33.09 kB / 0.6615 GB, free: 1.559 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.255e-05/0.1659, allocations: 104.6 kB / 0.6616 GB, free: 1.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.1659, allocations: 4.375 kB / 0.6616 GB, free: 1.426 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.1659, allocations: 8.375 kB / 0.6616 GB, free: 1.418 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.166, allocations: 130.7 kB / 0.6618 GB, free: 1.266 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.228e-06/0.166, allocations: 3.938 kB / 0.6618 GB, free: 1.262 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/0.1661, allocations: 8 kB / 0.6618 GB, free: 1.254 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.1661, allocations: 3.984 kB / 0.6618 GB, free: 1.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.155e-05/0.1661, allocations: 11.98 kB / 0.6618 GB, free: 1.238 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000109/0.1662, allocations: 124.6 kB / 0.6619 GB, free: 1.082 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.063e-05/0.1663, allocations: 55.11 kB / 0.662 GB, free: 1.016 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.098e-05/0.1663, allocations: 19.62 kB / 0.662 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.624e-06/0.1663, allocations: 4 kB / 0.662 GB, free: 0.9883 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.1663, allocations: 37.33 kB / 0.662 GB, free: 0.9414 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 7.71e-07/0.1663, allocations: 0 / 0.662 GB, free: 0.9414 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0005047/0.1668, allocations: 293.6 kB / 0.6623 GB, free: 0.6172 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.1669, allocations: 55.41 kB / 0.6623 GB, free: 0.5508 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.243e-05/0.1669, allocations: 153.9 kB / 0.6625 GB, free: 392 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.377e-06/0.1669, allocations: 25.7 kB / 0.6625 GB, free: 360 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.528e-05/0.167, allocations: 126.9 kB / 0.6626 GB, free: 228 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.125e-05/0.167, allocations: 51.78 kB / 0.6627 GB, free: 176 kB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/0.167, allocations: 31.38 kB / 0.6627 GB, free: 136 kB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1672, allocations: 496.1 kB / 0.6632 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.575e-05/0.1672, allocations: 19.94 kB / 0.6632 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.65e-05/0.1672, allocations: 47.3 kB / 0.6633 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.89e-05/0.1673, allocations: 51.48 kB / 0.6633 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1673, allocations: 0 / 0.6633 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 9.046e-05/0.1674, allocations: 101.5 kB / 0.6634 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.1674, allocations: 8 kB / 0.6634 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.1674, allocations: 0 / 0.6634 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.1674, allocations: 0 / 0.6634 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.937e-05/0.1675, allocations: 23.98 kB / 0.6634 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.1675, allocations: 0.7031 kB / 0.6634 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.576e-05/0.1675, allocations: 0 / 0.6634 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.1675, allocations: 8 kB / 0.6634 GB, free: 15.36 MB / 0.6355 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 6.946e-05/0.1676, allocations: 168.5 kB / 0.6636 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.958e-06/0.1676, allocations: 7.938 kB / 0.6636 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.626e-05/0.1676, allocations: 15.95 kB / 0.6636 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.1676, allocations: 0 / 0.6636 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1676, allocations: 4 kB / 0.6636 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1676, allocations: 0 / 0.6636 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.643e-05/0.1677, allocations: 116.6 kB / 0.6637 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1677, allocations: 0 / 0.6637 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.323e-05/0.1678, allocations: 23.92 kB / 0.6638 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.81e-07/0.1678, allocations: 0 / 0.6638 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.1678, allocations: 4 kB / 0.6638 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.1678, allocations: 4 kB / 0.6638 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1678, allocations: 3.938 kB / 0.6638 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.1679, allocations: 141.6 kB / 0.6639 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.818e-05/0.168, allocations: 11.89 kB / 0.6639 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.168, allocations: 4 kB / 0.6639 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.39e-05/0.168, allocations: 4 kB / 0.6639 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.814e-05/0.168, allocations: 7.984 kB / 0.6639 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.168, allocations: 4 kB / 0.6639 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.225e-05/0.1681, allocations: 127.2 kB / 0.6641 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1681, allocations: 96 / 0.6641 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001232/0.1682, allocations: 20 kB / 0.6641 GB, free: 14.64 MB / 0.6355 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 8.959e-05/0.1683, allocations: 99.19 kB / 0.6642 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001066/0.1684, allocations: 51.81 kB / 0.6642 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1684, allocations: 3.938 kB / 0.6642 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.9e-05/0.1684, allocations: 35.61 kB / 0.6643 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.1686, allocations: 32.06 kB / 0.6643 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005933/0.1692, allocations: 273.7 kB / 0.6645 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.859e-05/0.1692, allocations: 59.34 kB / 0.6646 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.827e-05/0.1693, allocations: 8.734 kB / 0.6646 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.201e-05/0.1693, allocations: 16.5 kB / 0.6646 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of SimCode: time 9.12e-07/0.1693, allocations: 4 kB / 0.6646 GB, free: 14 MB / 0.6355 GB Notification: Performance of Templates: time 0.0028/0.1721, allocations: 0.8443 MB / 0.6655 GB, free: 13.19 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.549107431899756]