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.0009901/0.0009901, allocations: 88.22 kB / 19.65 MB, free: 300 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.001015/0.001015, allocations: 164.9 kB / 23.02 MB, free: 1.57 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.043/1.043, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.8124/0.8124, allocations: 154.9 MB / 414.8 MB, free: 380 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.973e-06/1.973e-06, allocations: 0 / 0.5207 GB, free: 1.844 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.15e-05/2.347e-05, allocations: 2.312 kB / 0.5207 GB, free: 1.84 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001761/0.001785, allocations: 1.313 MB / 0.5219 GB, free: 0.543 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.1332/0.135, allocations: 142.8 MB / 0.6614 GB, free: 1.383 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.465e-05/0.135, allocations: 0 / 0.6614 GB, free: 1.383 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.317e-05/0.1351, allocations: 0 / 0.6614 GB, free: 1.383 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.082e-05/0.1351, allocations: 3.984 kB / 0.6614 GB, free: 1.379 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000519/0.1357, allocations: 103.4 kB / 0.6615 GB, free: 1.277 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.2e-05/0.1357, allocations: 35.84 kB / 0.6615 GB, free: 1.242 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.142e-05/0.1358, allocations: 4 kB / 0.6615 GB, free: 1.238 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.721e-05/0.1359, allocations: 19.97 kB / 0.6616 GB, free: 1.219 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.463e-05/0.1359, allocations: 15.92 kB / 0.6616 GB, free: 1.203 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.1359, allocations: 0 / 0.6616 GB, free: 1.203 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002461/0.1362, allocations: 79.75 kB / 0.6617 GB, free: 1.125 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.596e-05/0.1362, allocations: 7.984 kB / 0.6617 GB, free: 1.117 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.548e-05/0.1362, allocations: 19.92 kB / 0.6617 GB, free: 1.098 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.1364, allocations: 71.75 kB / 0.6618 GB, free: 1.027 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.1364, allocations: 4 kB / 0.6618 GB, free: 1.023 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1364, allocations: 0 / 0.6618 GB, free: 1.023 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.1364, allocations: 0 / 0.6618 GB, free: 1.023 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.0004067/0.1368, allocations: 372.2 kB / 0.6621 GB, free: 0.625 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.1368, allocations: 8.031 kB / 0.6621 GB, free: 0.6172 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002297/0.1371, allocations: 33.09 kB / 0.6622 GB, free: 0.5859 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.346e-05/0.1372, allocations: 108.6 kB / 0.6623 GB, free: 464 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.1372, allocations: 8.375 kB / 0.6623 GB, free: 456 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.111e-05/0.1372, allocations: 8.375 kB / 0.6623 GB, free: 448 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.1374, allocations: 130.7 kB / 0.6624 GB, free: 292 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.1374, allocations: 0 / 0.6624 GB, free: 292 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.1374, allocations: 4 kB / 0.6624 GB, free: 288 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.1374, allocations: 0 / 0.6624 GB, free: 288 kB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.682e-05/0.1374, allocations: 11.98 kB / 0.6624 GB, free: 276 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001476/0.1376, allocations: 124.6 kB / 0.6625 GB, free: 116 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.57e-05/0.1377, allocations: 51.05 kB / 0.6626 GB, free: 52 kB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.452e-05/0.1377, allocations: 23.56 kB / 0.6626 GB, free: 24 kB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.1377, allocations: 4 kB / 0.6626 GB, free: 20 kB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.199e-05/0.1377, allocations: 41.33 kB / 0.6626 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.1377, allocations: 0 / 0.6626 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0005777/0.1383, allocations: 294.3 kB / 0.6629 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.1384, allocations: 55.41 kB / 0.663 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.179e-05/0.1384, allocations: 153.9 kB / 0.6631 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.1384, allocations: 25.7 kB / 0.6631 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.299e-05/0.1385, allocations: 126.9 kB / 0.6633 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.868e-05/0.1385, allocations: 47.64 kB / 0.6633 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.758e-05/0.1385, allocations: 35.5 kB / 0.6633 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.1387, allocations: 496.1 kB / 0.6638 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.735e-05/0.1387, allocations: 15.94 kB / 0.6638 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.111e-05/0.1387, allocations: 43.36 kB / 0.6639 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.167e-05/0.1388, allocations: 47.36 kB / 0.6639 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1388, allocations: 0 / 0.6639 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001027/0.1389, allocations: 101.5 kB / 0.664 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.1389, allocations: 4 kB / 0.664 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1389, allocations: 8 kB / 0.664 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.1389, allocations: 3.938 kB / 0.664 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.341e-05/0.139, allocations: 23.98 kB / 0.6641 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.139, allocations: 4 kB / 0.6641 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.864e-05/0.1391, allocations: 0 / 0.6641 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.1391, allocations: 8 kB / 0.6641 GB, free: 14.39 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.589e-05/0.1391, allocations: 164.5 kB / 0.6642 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.44e-05/0.1392, allocations: 7.938 kB / 0.6642 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.396e-05/0.1392, allocations: 11.97 kB / 0.6642 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1392, allocations: 3.984 kB / 0.6643 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1392, allocations: 0 / 0.6643 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1392, allocations: 4 kB / 0.6643 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.769e-05/0.1393, allocations: 120.6 kB / 0.6644 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1393, allocations: 4 kB / 0.6644 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.465e-05/0.1394, allocations: 23.92 kB / 0.6644 GB, free: 14 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1394, allocations: 0 / 0.6644 GB, free: 14 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.1394, allocations: 4 kB / 0.6644 GB, free: 14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1394, allocations: 0 / 0.6644 GB, free: 14 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1394, allocations: 3.938 kB / 0.6644 GB, free: 14 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.1396, allocations: 135.2 kB / 0.6645 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.587e-05/0.1396, allocations: 15.88 kB / 0.6645 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.1396, allocations: 4 kB / 0.6646 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.951e-05/0.1397, allocations: 4 kB / 0.6646 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.064e-05/0.1397, allocations: 12.02 kB / 0.6646 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.1397, allocations: 8 kB / 0.6646 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.236e-05/0.1397, allocations: 123.2 kB / 0.6647 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.1397, allocations: 0 / 0.6647 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001322/0.1398, allocations: 16 kB / 0.6647 GB, free: 13.66 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.701e-05/0.1399, allocations: 103.2 kB / 0.6648 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001127/0.1401, allocations: 47.67 kB / 0.6649 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1401, allocations: 3.984 kB / 0.6649 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.563e-05/0.1401, allocations: 35.72 kB / 0.6649 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001822/0.1403, allocations: 31.31 kB / 0.6649 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000621/0.1409, allocations: 261.8 kB / 0.6652 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.05e-05/0.1409, allocations: 67.2 kB / 0.6652 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.506e-05/0.141, allocations: 12.72 kB / 0.6652 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.92e-05/0.141, allocations: 12.5 kB / 0.6653 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of SimCode: time 8.92e-07/0.141, allocations: 0 / 0.6653 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of Templates: time 0.002638/0.1436, allocations: 0.8877 MB / 0.6661 GB, free: 12.19 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.447391803842038]