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.0009809/0.0009809, allocations: 93.06 kB / 19.65 MB, free: 272 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.000994/0.000994, allocations: 169 kB / 23.02 MB, free: 1.543 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.133/1.133, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.8111/0.8111, allocations: 154.8 MB / 414.7 MB, free: 492 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.884e-06/1.884e-06, allocations: 0 / 0.5205 GB, free: 2.004 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.819e-05/3.008e-05, allocations: 4.562 kB / 0.5205 GB, free: 2 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002545/0.002575, allocations: 1.313 MB / 0.5218 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.1403/0.1429, allocations: 142.8 MB / 0.6613 GB, free: 1.547 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.313e-05/0.1429, allocations: 0 / 0.6613 GB, free: 1.547 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.465e-05/0.143, allocations: 0 / 0.6613 GB, free: 1.547 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.08e-05/0.143, allocations: 11.91 kB / 0.6613 GB, free: 1.535 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003804/0.1434, allocations: 87.52 kB / 0.6614 GB, free: 1.449 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.912e-05/0.1435, allocations: 35.84 kB / 0.6614 GB, free: 1.414 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.342e-05/0.1435, allocations: 0 / 0.6614 GB, free: 1.414 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.724e-05/0.1436, allocations: 27.91 kB / 0.6614 GB, free: 1.387 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.175e-05/0.1437, allocations: 15.98 kB / 0.6614 GB, free: 1.371 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.1437, allocations: 4 kB / 0.6615 GB, free: 1.367 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002186/0.1439, allocations: 83.69 kB / 0.6615 GB, free: 1.285 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.1439, allocations: 3.984 kB / 0.6615 GB, free: 1.281 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.791e-05/0.1439, allocations: 19.92 kB / 0.6616 GB, free: 1.262 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.1441, allocations: 67.8 kB / 0.6616 GB, free: 1.195 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.1441, allocations: 0 / 0.6616 GB, free: 1.195 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1441, allocations: 4 kB / 0.6616 GB, free: 1.191 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.1441, allocations: 0 / 0.6616 GB, free: 1.191 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.0004221/0.1445, allocations: 376.2 kB / 0.662 GB, free: 0.7891 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.1446, allocations: 12.03 kB / 0.662 GB, free: 0.7773 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001837/0.1447, allocations: 25.09 kB / 0.662 GB, free: 0.7539 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.93e-05/0.1448, allocations: 112.6 kB / 0.6621 GB, free: 0.6172 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.1448, allocations: 8.312 kB / 0.6621 GB, free: 0.6094 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/0.1449, allocations: 4.375 kB / 0.6621 GB, free: 0.6055 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.145, allocations: 138.6 kB / 0.6623 GB, free: 456 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.145, allocations: 0 / 0.6623 GB, free: 456 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.145, allocations: 4 kB / 0.6623 GB, free: 452 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.145, allocations: 0 / 0.6623 GB, free: 452 kB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.537e-05/0.1451, allocations: 15.98 kB / 0.6623 GB, free: 436 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000134/0.1452, allocations: 120.6 kB / 0.6624 GB, free: 280 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.737e-05/0.1453, allocations: 59.03 kB / 0.6625 GB, free: 208 kB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.197e-05/0.1453, allocations: 15.62 kB / 0.6625 GB, free: 188 kB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.1453, allocations: 0 / 0.6625 GB, free: 188 kB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.1453, allocations: 41.33 kB / 0.6625 GB, free: 136 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.1453, allocations: 0 / 0.6625 GB, free: 136 kB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.000748/0.1461, allocations: 293 kB / 0.6628 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.1461, allocations: 55.39 kB / 0.6628 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.032e-05/0.1462, allocations: 157.9 kB / 0.663 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.1462, allocations: 29.7 kB / 0.663 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.909e-05/0.1462, allocations: 126.9 kB / 0.6631 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.88e-05/0.1463, allocations: 39.64 kB / 0.6632 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.337e-05/0.1463, allocations: 35.31 kB / 0.6632 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1464, allocations: 0.4961 MB / 0.6637 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.319e-05/0.1465, allocations: 8 kB / 0.6637 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.778e-05/0.1465, allocations: 39.36 kB / 0.6637 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.298e-05/0.1466, allocations: 59.34 kB / 0.6638 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1466, allocations: 0 / 0.6638 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001096/0.1467, allocations: 102.2 kB / 0.6639 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.1467, allocations: 4 kB / 0.6639 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.1467, allocations: 4 kB / 0.6639 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.1467, allocations: 4 kB / 0.6639 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.1468, allocations: 19.98 kB / 0.6639 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1468, allocations: 0 / 0.6639 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.246e-05/0.1468, allocations: 11.94 kB / 0.6639 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.1468, allocations: 0 / 0.6639 GB, free: 14.55 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.606e-05/0.1469, allocations: 160.6 kB / 0.6641 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/0.1469, allocations: 7.938 kB / 0.6641 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.279e-05/0.147, allocations: 19.97 kB / 0.6641 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.147, allocations: 0 / 0.6641 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.147, allocations: 3.984 kB / 0.6641 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.147, allocations: 0 / 0.6641 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.027e-05/0.1471, allocations: 120.6 kB / 0.6642 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.1471, allocations: 0 / 0.6642 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.359e-05/0.1471, allocations: 31.92 kB / 0.6643 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.1471, allocations: 0 / 0.6643 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.1472, allocations: 0 / 0.6643 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1472, allocations: 3.938 kB / 0.6643 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.1472, allocations: 4 kB / 0.6643 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.1473, allocations: 136.3 kB / 0.6644 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.875e-05/0.1474, allocations: 15.88 kB / 0.6644 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.1474, allocations: 0 / 0.6644 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.961e-05/0.1474, allocations: 4 kB / 0.6644 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.166e-05/0.1475, allocations: 7.984 kB / 0.6644 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.1475, allocations: 4 kB / 0.6644 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.136e-05/0.1475, allocations: 119.2 kB / 0.6646 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.1475, allocations: 0 / 0.6646 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001272/0.1476, allocations: 20 kB / 0.6646 GB, free: 13.84 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 0.0001001/0.1477, allocations: 114.5 kB / 0.6647 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001125/0.1478, allocations: 51.61 kB / 0.6647 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1478, allocations: 4 kB / 0.6647 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.833e-05/0.1479, allocations: 35.61 kB / 0.6648 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.1481, allocations: 21 kB / 0.6648 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006812/0.1487, allocations: 265.6 kB / 0.665 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.379e-05/0.1488, allocations: 63.34 kB / 0.6651 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.179e-05/0.1488, allocations: 8.734 kB / 0.6651 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.067e-05/0.1488, allocations: 12.5 kB / 0.6651 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of SimCode: time 1.132e-06/0.1488, allocations: 0 / 0.6651 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of Templates: time 0.002714/0.1516, allocations: 0.856 MB / 0.666 GB, free: 12.39 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.655862154904753]