Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001305/0.001305, allocations: 88.22 kB / 20.18 MB, free: 4.352 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.000976/0.000976, allocations: 169 kB / 23.5 MB, free: 1.039 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.028/1.028, allocations: 177.1 MB / 203.8 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7995/0.7995, allocations: 154.8 MB / 415.1 MB, free: 496 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.5205 GB, free: 2.305 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.027e-05/2.204e-05, allocations: 4 kB / 0.5206 GB, free: 2.301 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.00164/0.001662, allocations: 1.308 MB / 0.5218 GB, free: 1.004 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.1425/0.1442, allocations: 142.5 MB / 0.661 GB, free: 2.137 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.827e-05/0.1442, allocations: 0 / 0.661 GB, free: 2.137 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.945e-05/0.1443, allocations: 3.984 kB / 0.661 GB, free: 2.133 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.651e-05/0.1443, allocations: 3.938 kB / 0.661 GB, free: 2.129 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004682/0.1448, allocations: 91.5 kB / 0.6611 GB, free: 2.039 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.969e-05/0.1449, allocations: 35.86 kB / 0.6612 GB, free: 2.004 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.307e-05/0.145, allocations: 7.969 kB / 0.6612 GB, free: 1.996 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.054e-05/0.145, allocations: 19.98 kB / 0.6612 GB, free: 1.977 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.207e-05/0.1451, allocations: 15.91 kB / 0.6612 GB, free: 1.961 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.1451, allocations: 4 kB / 0.6612 GB, free: 1.957 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000227/0.1453, allocations: 75.77 kB / 0.6613 GB, free: 1.883 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.162e-05/0.1454, allocations: 7.984 kB / 0.6613 GB, free: 1.875 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.774e-05/0.1454, allocations: 15.92 kB / 0.6613 GB, free: 1.859 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.1456, allocations: 67.75 kB / 0.6614 GB, free: 1.793 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.1456, allocations: 4 kB / 0.6614 GB, free: 1.789 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1456, allocations: 4 kB / 0.6614 GB, free: 1.785 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.311e-06/0.1456, allocations: 0 / 0.6614 GB, free: 1.785 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.0004478/0.146, allocations: 376.2 kB / 0.6617 GB, free: 1.383 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.1461, allocations: 12.03 kB / 0.6617 GB, free: 1.371 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002025/0.1463, allocations: 25.11 kB / 0.6618 GB, free: 1.348 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.621e-05/0.1464, allocations: 108.6 kB / 0.6619 GB, free: 1.215 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.1464, allocations: 384 / 0.6619 GB, free: 1.215 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/0.1464, allocations: 12.36 kB / 0.6619 GB, free: 1.203 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.1466, allocations: 130.7 kB / 0.662 GB, free: 1.051 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.1466, allocations: 4 kB / 0.662 GB, free: 1.047 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.1466, allocations: 0 / 0.662 GB, free: 1.047 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.1466, allocations: 3.938 kB / 0.662 GB, free: 1.043 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.21e-05/0.1467, allocations: 15.97 kB / 0.662 GB, free: 1.027 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001602/0.1468, allocations: 132.6 kB / 0.6621 GB, free: 0.8633 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.365e-05/0.1469, allocations: 55.05 kB / 0.6622 GB, free: 0.7969 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.471e-05/0.1469, allocations: 15.69 kB / 0.6622 GB, free: 0.7773 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/0.147, allocations: 0 / 0.6622 GB, free: 0.7773 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.147, allocations: 49.25 kB / 0.6623 GB, free: 0.7188 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.147, allocations: 0 / 0.6623 GB, free: 0.7188 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0006461/0.1476, allocations: 292.7 kB / 0.6625 GB, free: 408 kB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.1477, allocations: 51.41 kB / 0.6626 GB, free: 344 kB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.826e-05/0.1477, allocations: 157.9 kB / 0.6627 GB, free: 168 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.1478, allocations: 25.7 kB / 0.6628 GB, free: 136 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/0.1478, allocations: 127.1 kB / 0.6629 GB, free: 4 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.74e-05/0.1479, allocations: 47.81 kB / 0.6629 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.638e-05/0.1479, allocations: 35.36 kB / 0.663 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.148, allocations: 496.1 kB / 0.6634 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.718e-05/0.148, allocations: 16.11 kB / 0.6635 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.19e-05/0.1481, allocations: 47.3 kB / 0.6635 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.379e-05/0.1482, allocations: 47.38 kB / 0.6635 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1482, allocations: 3.938 kB / 0.6635 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001034/0.1483, allocations: 101.3 kB / 0.6636 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.1483, allocations: 7.984 kB / 0.6637 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.1483, allocations: 0.7031 kB / 0.6637 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.1483, allocations: 4 kB / 0.6637 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.155e-05/0.1484, allocations: 16 kB / 0.6637 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.1484, allocations: 0 / 0.6637 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.709e-05/0.1484, allocations: 4 kB / 0.6637 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-06/0.1484, allocations: 8 kB / 0.6637 GB, free: 15.14 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 8.274e-05/0.1485, allocations: 172.4 kB / 0.6638 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.28e-05/0.1485, allocations: 4 kB / 0.6639 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.063e-05/0.1485, allocations: 11.97 kB / 0.6639 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.1485, allocations: 0 / 0.6639 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1486, allocations: 0 / 0.6639 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1486, allocations: 0 / 0.6639 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.379e-05/0.1486, allocations: 124.6 kB / 0.664 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1486, allocations: 3.938 kB / 0.664 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.671e-05/0.1487, allocations: 20 kB / 0.664 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.1487, allocations: 4 kB / 0.664 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.1487, allocations: 0 / 0.664 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.1487, allocations: 0 / 0.664 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1487, allocations: 7.984 kB / 0.664 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.1489, allocations: 136.2 kB / 0.6641 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.721e-05/0.1489, allocations: 11.89 kB / 0.6642 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.149, allocations: 7.984 kB / 0.6642 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.71e-05/0.149, allocations: 0 / 0.6642 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.919e-05/0.149, allocations: 7.984 kB / 0.6642 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.149, allocations: 12 kB / 0.6642 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.539e-05/0.1491, allocations: 123.2 kB / 0.6643 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1491, allocations: 0 / 0.6643 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001284/0.1492, allocations: 20 kB / 0.6643 GB, free: 14.43 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 9.687e-05/0.1493, allocations: 91.25 kB / 0.6644 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001129/0.1494, allocations: 63.56 kB / 0.6645 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1494, allocations: 4 kB / 0.6645 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.055e-05/0.1494, allocations: 39.55 kB / 0.6645 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/0.1496, allocations: 27.95 kB / 0.6645 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006371/0.1503, allocations: 257.8 kB / 0.6648 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.791e-05/0.1503, allocations: 63.34 kB / 0.6648 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.451e-05/0.1503, allocations: 16.72 kB / 0.6649 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.977e-05/0.1504, allocations: 12.5 kB / 0.6649 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of SimCode: time 1.132e-06/0.1504, allocations: 0 / 0.6649 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of Templates: time 0.002706/0.1531, allocations: 0.8461 MB / 0.6657 GB, free: 12.98 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.391378324944526]