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.001435/0.001435, allocations: 78.95 kB / 19.76 MB, free: 1.898 MB / 14.72 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.001804/0.001804, allocations: 163 kB / 23.01 MB, free: 4.574 MB / 14.72 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.532/1.532, allocations: 177.2 MB / 203.4 MB, free: 9.273 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9042/0.9042, allocations: 101.3 MB / 361.1 MB, free: 10.07 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002362/0.002362, allocations: 66.59 kB / 0.5356 GB, free: 5.574 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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 3.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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1994, allocations: 85.88 MB / 0.6195 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002607/0.202, allocations: 1.283 MB / 0.6207 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.6478/0.8498, allocations: 129 MB / 0.7468 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.173e-05/0.8498, allocations: 0 / 0.7468 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.122e-05/0.8498, allocations: 2.531 kB / 0.7468 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.311e-05/0.8499, allocations: 10.72 kB / 0.7468 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004585/0.8504, allocations: 90.81 kB / 0.7469 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.769e-05/0.8504, allocations: 32.34 kB / 0.7469 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.949e-05/0.8505, allocations: 7.516 kB / 0.7469 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.637e-05/0.8506, allocations: 20.05 kB / 0.7469 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.878e-05/0.8506, allocations: 13.94 kB / 0.7469 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.8506, allocations: 4.031 kB / 0.7469 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002913/0.8509, allocations: 85.77 kB / 0.747 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.651e-05/0.8509, allocations: 5.156 kB / 0.747 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.079e-05/0.851, allocations: 20.08 kB / 0.747 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.8512, allocations: 69.86 kB / 0.7471 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.8512, allocations: 0 / 0.7471 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8512, allocations: 0 / 0.7471 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.8512, allocations: 0 / 0.7471 GB, free: 13.89 MB / 0.6075 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.0005015/0.8517, allocations: 276.4 kB / 0.7474 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.8518, allocations: 10.28 kB / 0.7474 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002251/0.852, allocations: 10.08 kB / 0.7474 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.8521, allocations: 111.6 kB / 0.7475 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.8521, allocations: 5.906 kB / 0.7475 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.103e-05/0.8521, allocations: 11.61 kB / 0.7475 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.8524, allocations: 128.8 kB / 0.7476 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.8524, allocations: 1.125 kB / 0.7476 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.8524, allocations: 5.156 kB / 0.7476 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.8524, allocations: 0 / 0.7476 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.275e-05/0.8524, allocations: 13.66 kB / 0.7476 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002036/0.8526, allocations: 115.9 kB / 0.7478 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.8528, allocations: 45.23 kB / 0.7478 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.986e-05/0.8528, allocations: 18.48 kB / 0.7478 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.8528, allocations: 9.062 kB / 0.7478 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.116e-05/0.8529, allocations: 39.09 kB / 0.7479 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.8529, allocations: 0 / 0.7479 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0008484/0.8537, allocations: 296.5 kB / 0.7481 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.8538, allocations: 52.5 kB / 0.7482 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.972e-05/0.8538, allocations: 94.47 kB / 0.7483 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.8539, allocations: 30.95 kB / 0.7483 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.583e-05/0.8539, allocations: 80.14 kB / 0.7484 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.288e-05/0.854, allocations: 43.81 kB / 0.7484 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.217e-05/0.854, allocations: 27.25 kB / 0.7485 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.8542, allocations: 323.5 kB / 0.7488 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.871e-05/0.8542, allocations: 17.42 kB / 0.7488 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.544e-05/0.8543, allocations: 37.55 kB / 0.7488 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.987e-05/0.8544, allocations: 62.78 kB / 0.7489 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.8544, allocations: 1.188 kB / 0.7489 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001529/0.8545, allocations: 96.06 kB / 0.749 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.8546, allocations: 8 kB / 0.749 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.8546, allocations: 0 / 0.749 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.8546, allocations: 5.125 kB / 0.749 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.8547, allocations: 26.64 kB / 0.749 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.8547, allocations: 1.125 kB / 0.749 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.568e-05/0.8547, allocations: 5.062 kB / 0.749 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.8548, allocations: 3.875 kB / 0.749 GB, free: 12.12 MB / 0.6075 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 0.0001053/0.8549, allocations: 121.2 kB / 0.7491 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.647e-05/0.8549, allocations: 7.484 kB / 0.7491 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.42e-05/0.8549, allocations: 15.33 kB / 0.7492 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.8549, allocations: 1.438 kB / 0.7492 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.8549, allocations: 0 / 0.7492 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.8549, allocations: 4 kB / 0.7492 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.8551, allocations: 114.9 kB / 0.7493 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.8551, allocations: 0 / 0.7493 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.8552, allocations: 24.59 kB / 0.7493 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.8552, allocations: 1.094 kB / 0.7493 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.8552, allocations: 1.062 kB / 0.7493 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.8552, allocations: 1.125 kB / 0.7493 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.8552, allocations: 4.312 kB / 0.7493 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.8555, allocations: 142.9 kB / 0.7494 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.366e-05/0.8555, allocations: 4.328 kB / 0.7494 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.8555, allocations: 1.312 kB / 0.7494 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.618e-05/0.8556, allocations: 10.91 kB / 0.7495 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.343e-05/0.8556, allocations: 7.047 kB / 0.7495 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.547e-06/0.8556, allocations: 3.688 kB / 0.7495 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.214e-05/0.8557, allocations: 76.22 kB / 0.7495 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6.1e-08/0.8557, allocations: 0 / 0.7495 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000205/0.8559, allocations: 16.72 kB / 0.7496 GB, free: 11.65 MB / 0.6075 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.0001381/0.856, allocations: 104.7 kB / 0.7497 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001709/0.8562, allocations: 52.23 kB / 0.7497 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.8562, allocations: 5.312 kB / 0.7497 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.321e-05/0.8563, allocations: 28.2 kB / 0.7497 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.8565, allocations: 15.22 kB / 0.7498 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006025/0.8571, allocations: 316.2 kB / 0.7501 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.434e-05/0.8572, allocations: 71.16 kB / 0.7501 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.336e-05/0.8572, allocations: 13.64 kB / 0.7501 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.168e-05/0.8573, allocations: 17.53 kB / 0.7502 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of SimCode: time 6.51e-07/0.8573, allocations: 0 / 0.7502 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of Templates: time 0.003292/0.8605, allocations: 0.6069 MB / 0.7507 GB, free: 11.08 MB / 0.6075 GB " [Timeout remaining time 659] 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=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.411027905065566] Failed to read output from testmodel.py, exit status != 0: 0.8695809310302138 0.8828076850000001 0.028806128 Calling exit ...