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.001041/0.001041, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001018/0.001018, allocations: 169.3 kB / 23.02 MB, free: 1.551 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 1.037/1.037, allocations: 177.1 MB / 203.4 MB, free: 5.578 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.8265/0.8265, allocations: 154.6 MB / 414.5 MB, free: 0.6875 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.044e-06/2.044e-06, allocations: 0 / 0.5203 GB, free: 2.254 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.671e-05/2.875e-05, allocations: 3.078 kB / 0.5203 GB, free: 2.25 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002158/0.002187, allocations: 1.315 MB / 0.5216 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.1472/0.1494, allocations: 142.8 MB / 0.661 GB, free: 1.781 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.687e-05/0.1495, allocations: 0 / 0.661 GB, free: 1.781 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.408e-05/0.1495, allocations: 0 / 0.661 GB, free: 1.781 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.234e-05/0.1496, allocations: 7.922 kB / 0.661 GB, free: 1.773 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004359/0.15, allocations: 99.44 kB / 0.6611 GB, free: 1.676 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.846e-05/0.1501, allocations: 31.86 kB / 0.6612 GB, free: 1.645 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.953e-05/0.1501, allocations: 7.984 kB / 0.6612 GB, free: 1.637 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.769e-05/0.1502, allocations: 19.97 kB / 0.6612 GB, free: 1.617 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.108e-05/0.1502, allocations: 11.98 kB / 0.6612 GB, free: 1.605 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.1502, allocations: 4 kB / 0.6612 GB, free: 1.602 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002175/0.1505, allocations: 75.75 kB / 0.6613 GB, free: 1.527 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.288e-05/0.1505, allocations: 7.938 kB / 0.6613 GB, free: 1.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.716e-05/0.1505, allocations: 19.97 kB / 0.6613 GB, free: 1.5 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.1506, allocations: 71.75 kB / 0.6614 GB, free: 1.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1506, allocations: 0 / 0.6614 GB, free: 1.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1506, allocations: 0 / 0.6614 GB, free: 1.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.1507, allocations: 4 kB / 0.6614 GB, free: 1.426 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.0003789/0.151, allocations: 376.1 kB / 0.6617 GB, free: 1.023 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.1511, allocations: 12.03 kB / 0.6618 GB, free: 1.012 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001812/0.1513, allocations: 25.09 kB / 0.6618 GB, free: 0.9883 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.535e-05/0.1513, allocations: 108.6 kB / 0.6619 GB, free: 0.8555 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.1513, allocations: 4.375 kB / 0.6619 GB, free: 0.8516 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/0.1514, allocations: 8.375 kB / 0.6619 GB, free: 0.8438 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.1515, allocations: 142.6 kB / 0.662 GB, free: 0.6797 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.1515, allocations: 0 / 0.662 GB, free: 0.6797 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.1515, allocations: 4 kB / 0.662 GB, free: 0.6758 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.1515, allocations: 0 / 0.662 GB, free: 0.6758 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.515e-05/0.1516, allocations: 11.98 kB / 0.662 GB, free: 0.6641 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001367/0.1517, allocations: 128.6 kB / 0.6622 GB, free: 0.5039 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.267e-05/0.1518, allocations: 55.05 kB / 0.6622 GB, free: 448 kB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.061e-05/0.1518, allocations: 11.69 kB / 0.6622 GB, free: 432 kB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-06/0.1518, allocations: 3.938 kB / 0.6622 GB, free: 428 kB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.1519, allocations: 41.33 kB / 0.6623 GB, free: 376 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.1519, allocations: 4 kB / 0.6623 GB, free: 372 kB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0005864/0.1524, allocations: 293.8 kB / 0.6626 GB, free: 40 kB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.1525, allocations: 51.41 kB / 0.6626 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.541e-05/0.1525, allocations: 149.9 kB / 0.6627 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.1526, allocations: 33.7 kB / 0.6628 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.06e-05/0.1526, allocations: 130.9 kB / 0.6629 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.589e-05/0.1526, allocations: 39.64 kB / 0.6629 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/0.1527, allocations: 31.38 kB / 0.663 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1528, allocations: 0.4963 MB / 0.6635 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.938e-05/0.1528, allocations: 11.94 kB / 0.6635 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.839e-05/0.1529, allocations: 39.36 kB / 0.6635 GB, free: 15 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.473e-05/0.1529, allocations: 55.36 kB / 0.6636 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1529, allocations: 0 / 0.6636 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001034/0.153, allocations: 102.1 kB / 0.6637 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.153, allocations: 4 kB / 0.6637 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.153, allocations: 0 / 0.6637 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.1531, allocations: 4 kB / 0.6637 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.202e-05/0.1532, allocations: 23.98 kB / 0.6637 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.1532, allocations: 0 / 0.6637 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.097e-05/0.1532, allocations: 12 kB / 0.6637 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.1532, allocations: 0 / 0.6637 GB, free: 14.79 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 7.048e-05/0.1533, allocations: 164.5 kB / 0.6639 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.396e-05/0.1533, allocations: 7.938 kB / 0.6639 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.85e-05/0.1533, allocations: 19.95 kB / 0.6639 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1533, allocations: 0 / 0.6639 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1533, allocations: 0 / 0.6639 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1533, allocations: 0 / 0.6639 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.723e-05/0.1534, allocations: 116.6 kB / 0.664 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1534, allocations: 0 / 0.664 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.182e-05/0.1535, allocations: 35.92 kB / 0.664 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1535, allocations: 0 / 0.664 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.1535, allocations: 0 / 0.664 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.92e-07/0.1535, allocations: 3.938 kB / 0.664 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1535, allocations: 3.938 kB / 0.664 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/0.1537, allocations: 142.4 kB / 0.6642 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.148e-05/0.1537, allocations: 11.89 kB / 0.6642 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.1537, allocations: 0 / 0.6642 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.205e-05/0.1538, allocations: 4 kB / 0.6642 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.1538, allocations: 7.984 kB / 0.6642 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-06/0.1538, allocations: 4 kB / 0.6642 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.817e-05/0.1538, allocations: 127.2 kB / 0.6643 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.1538, allocations: 0 / 0.6643 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001377/0.154, allocations: 16 kB / 0.6643 GB, free: 14.07 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.913e-05/0.154, allocations: 103.2 kB / 0.6644 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001167/0.1542, allocations: 55.59 kB / 0.6645 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1542, allocations: 0 / 0.6645 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.14e-05/0.1542, allocations: 39.61 kB / 0.6645 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/0.1544, allocations: 21.97 kB / 0.6645 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006292/0.155, allocations: 269.7 kB / 0.6648 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.865e-05/0.1551, allocations: 63.34 kB / 0.6649 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.374e-05/0.1551, allocations: 8.734 kB / 0.6649 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/0.1551, allocations: 12.5 kB / 0.6649 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of SimCode: time 8.22e-07/0.1551, allocations: 0 / 0.6649 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of Templates: time 0.002612/0.1577, allocations: 0.8641 MB / 0.6657 GB, free: 12.62 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.614379276987165]