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.001356/0.001356, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001482/0.001482, allocations: 222.8 kB / 23 MB, free: 4.914 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.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.8687/0.8687, allocations: 134 MB / 447.2 MB, free: 9.941 MB / 350.1 MB " [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.002108/0.002108, allocations: 62.94 kB / 0.6197 GB, free: 6.555 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1812, allocations: 85.91 MB / 0.7036 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002645/0.1838, allocations: 1.29 MB / 0.7048 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5513/0.7351, allocations: 129.1 MB / 0.8309 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.9e-05/0.7351, allocations: 0 / 0.8309 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.92e-05/0.7351, allocations: 6.609 kB / 0.8309 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.078e-05/0.7352, allocations: 3.938 kB / 0.8309 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005411/0.7357, allocations: 87.16 kB / 0.831 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.475e-05/0.7358, allocations: 34.31 kB / 0.831 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.14e-05/0.7359, allocations: 0 / 0.831 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.349e-05/0.7359, allocations: 24.08 kB / 0.831 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.743e-05/0.736, allocations: 17.19 kB / 0.831 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.736, allocations: 2.875 kB / 0.831 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000286/0.7363, allocations: 74.34 kB / 0.8311 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.973e-05/0.7363, allocations: 10.75 kB / 0.8311 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.356e-05/0.7363, allocations: 13.09 kB / 0.8311 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.7365, allocations: 69.48 kB / 0.8312 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.7365, allocations: 0 / 0.8312 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7365, allocations: 0 / 0.8312 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.7365, allocations: 0 / 0.8312 GB, free: 13.85 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.0004834/0.737, allocations: 280.8 kB / 0.8315 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.7371, allocations: 10.53 kB / 0.8315 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002251/0.7373, allocations: 12.7 kB / 0.8315 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.7374, allocations: 102.7 kB / 0.8316 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.7374, allocations: 6.688 kB / 0.8316 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/0.7375, allocations: 14.7 kB / 0.8316 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.7376, allocations: 136.1 kB / 0.8317 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.7377, allocations: 0 / 0.8317 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.7377, allocations: 5.406 kB / 0.8317 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.7377, allocations: 0 / 0.8317 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.847e-05/0.7377, allocations: 18.61 kB / 0.8318 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000169/0.7379, allocations: 106.7 kB / 0.8319 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.925e-05/0.738, allocations: 44 kB / 0.8319 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.474e-05/0.738, allocations: 25.75 kB / 0.8319 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.738, allocations: 0 / 0.8319 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.392e-05/0.7381, allocations: 37.56 kB / 0.832 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.7381, allocations: 0 / 0.832 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.000757/0.7388, allocations: 292.8 kB / 0.8322 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.7389, allocations: 55.41 kB / 0.8323 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.265e-05/0.739, allocations: 96.25 kB / 0.8324 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.739, allocations: 32.64 kB / 0.8324 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.836e-05/0.739, allocations: 80.14 kB / 0.8325 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.774e-05/0.7391, allocations: 38.52 kB / 0.8325 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.133e-05/0.7392, allocations: 30.06 kB / 0.8326 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.7393, allocations: 326.7 kB / 0.8329 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.572e-05/0.7393, allocations: 17.31 kB / 0.8329 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.191e-05/0.7394, allocations: 39.05 kB / 0.8329 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.853e-05/0.7395, allocations: 58.58 kB / 0.833 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.7395, allocations: 4.125 kB / 0.833 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001421/0.7396, allocations: 93.67 kB / 0.8331 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.7397, allocations: 5.188 kB / 0.8331 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.7397, allocations: 0 / 0.8331 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.851e-05/0.7397, allocations: 6.141 kB / 0.8331 GB, free: 12 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.7398, allocations: 27.27 kB / 0.8331 GB, free: 12 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.7398, allocations: 0 / 0.8331 GB, free: 12 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.36e-05/0.7398, allocations: 0 / 0.8331 GB, free: 12 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.7398, allocations: 5.281 kB / 0.8331 GB, free: 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.0001047/0.7399, allocations: 123.9 kB / 0.8332 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.74, allocations: 10.55 kB / 0.8332 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.141e-05/0.74, allocations: 11.91 kB / 0.8333 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.74, allocations: 3.062 kB / 0.8333 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.74, allocations: 0 / 0.8333 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.74, allocations: 7.922 kB / 0.8333 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.7401, allocations: 115.6 kB / 0.8334 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.7401, allocations: 0 / 0.8334 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.7403, allocations: 24.33 kB / 0.8334 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.7403, allocations: 3.031 kB / 0.8334 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.7403, allocations: 0 / 0.8334 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.7403, allocations: 0 / 0.8334 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.7403, allocations: 4.75 kB / 0.8334 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.7405, allocations: 141 kB / 0.8335 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.183e-05/0.7406, allocations: 9.188 kB / 0.8336 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.7406, allocations: 0 / 0.8336 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.289e-05/0.7407, allocations: 6.375 kB / 0.8336 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.048e-05/0.7407, allocations: 7.078 kB / 0.8336 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.7407, allocations: 6.438 kB / 0.8336 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.979e-05/0.7407, allocations: 77.91 kB / 0.8336 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6e-08/0.7407, allocations: 0 / 0.8336 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002036/0.7409, allocations: 14.78 kB / 0.8337 GB, free: 11.5 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.0001162/0.7411, allocations: 107 kB / 0.8338 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001506/0.7412, allocations: 55.09 kB / 0.8338 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.7412, allocations: 0 / 0.8338 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.098e-05/0.7413, allocations: 28.33 kB / 0.8338 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.7415, allocations: 10.5 kB / 0.8339 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006369/0.7421, allocations: 343.7 kB / 0.8342 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.766e-05/0.7422, allocations: 68.72 kB / 0.8342 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.584e-05/0.7423, allocations: 12.31 kB / 0.8343 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of SimCode: time 3.9e-07/0.7423, allocations: 0 / 0.8343 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of Templates: time 0.002537/0.7448, allocations: 0.8578 MB / 0.8351 GB, free: 10.54 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 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.29119529388845] Failed to read output from testmodel.py, exit status != 0: 0.752795918378979 0.773603321 0.033509448000000004 Calling exit ...