Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.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.001915/0.001915, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.002632/0.002632, allocations: 216.8 kB / 22.24 MB, free: 5.242 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.542/1.542, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.07509/0.07509, allocations: 9.125 MB / 321.5 MB, free: 10.23 MB / 254.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/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(HelmholtzMedia.Examples.Validation.idealGasLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit") translateModel(HelmholtzMedia.Examples.Validation.idealGasLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002457/0.002457, allocations: 67.89 kB / 447 MB, free: 104 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1281, allocations: 54.94 MB / 0.4902 GB, free: 9.059 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.idealGasLimit): time 0.02355/0.1517, allocations: 15.66 MB / 0.5055 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0109/0.1626, allocations: 8.25 MB / 0.5135 GB, free: 1.059 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.1627, allocations: 4 kB / 0.5135 GB, free: 1.055 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.1639, allocations: 327.8 kB / 0.5138 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2532/0.4171, allocations: 4.537 MB / 0.5183 GB, free: 8.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.885e-05/0.4171, allocations: 0.5 kB / 0.5183 GB, free: 8.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000251/0.4174, allocations: 143.5 kB / 0.5184 GB, free: 8.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.231e-05/0.4174, allocations: 5.719 kB / 0.5184 GB, free: 8.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.4176, allocations: 77.69 kB / 0.5185 GB, free: 8.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.226e-05/0.4177, allocations: 45.98 kB / 0.5185 GB, free: 8.477 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.4177, allocations: 3 kB / 0.5185 GB, free: 8.477 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01224/0.4299, allocations: 5.35 MB / 0.5238 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.661e-05/0.43, allocations: 16.53 kB / 0.5238 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.4301, allocations: 41.31 kB / 0.5238 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008183/0.4383, allocations: 2.703 MB / 0.5265 GB, free: 8.359 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4383, allocations: 1.125 kB / 0.5265 GB, free: 8.359 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.4383, allocations: 4 kB / 0.5265 GB, free: 8.355 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.4383, allocations: 0 / 0.5265 GB, free: 8.355 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001984/0.4403, allocations: 0.6405 MB / 0.5271 GB, free: 7.891 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.4403, allocations: 13.58 kB / 0.5271 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/0.4404, allocations: 15.84 kB / 0.5271 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.917e-05/0.4405, allocations: 121.4 kB / 0.5272 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.4406, allocations: 8.844 kB / 0.5272 GB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.4406, allocations: 4.312 kB / 0.5272 GB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002759/0.4409, allocations: 193.8 kB / 0.5274 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.4409, allocations: 1 kB / 0.5274 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.4409, allocations: 4 kB / 0.5274 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.4409, allocations: 10.73 kB / 0.5274 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002578/0.4412, allocations: 248.4 kB / 0.5277 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002438/0.4414, allocations: 228.5 kB / 0.5279 GB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.4416, allocations: 187.6 kB / 0.5281 GB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.4418, allocations: 166.1 kB / 0.5282 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01003/0.4518, allocations: 1.978 MB / 0.5302 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.4518, allocations: 38.7 kB / 0.5302 GB, free: 7.277 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 1.783e-06/0.4518, allocations: 0 / 0.5302 GB, free: 7.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=39): time 0.0006026/0.4524, allocations: 0.5026 MB / 0.5307 GB, free: 7.184 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.886e-05/0.4525, allocations: 52.75 kB / 0.5307 GB, free: 7.121 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.904e-05/0.4525, allocations: 107.7 kB / 0.5308 GB, free: 7.016 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.4525, allocations: 29.2 kB / 0.5309 GB, free: 6.984 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.932e-05/0.4526, allocations: 81.86 kB / 0.531 GB, free: 6.902 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.902e-05/0.4526, allocations: 136.6 kB / 0.5311 GB, free: 6.809 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.815e-05/0.4527, allocations: 42.92 kB / 0.5311 GB, free: 6.793 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.125e-05/0.4527, allocations: 329.1 kB / 0.5314 GB, free: 6.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.4529, allocations: 122.4 kB / 0.5316 GB, free: 6.477 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.453, allocations: 144 kB / 0.5317 GB, free: 6.461 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000285/0.4533, allocations: 294.6 kB / 0.532 GB, free: 6.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.4533, allocations: 0 / 0.532 GB, free: 6.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003435/0.4536, allocations: 327.7 kB / 0.5323 GB, free: 6.383 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.4536, allocations: 4.875 kB / 0.5323 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.4537, allocations: 2.125 kB / 0.5323 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.4537, allocations: 4.766 kB / 0.5323 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.4538, allocations: 24.03 kB / 0.5323 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.852e-06/0.4538, allocations: 4.406 kB / 0.5323 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.109e-05/0.4539, allocations: 22.09 kB / 0.5323 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.4539, allocations: 6.531 kB / 0.5324 GB, free: 6.363 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 6.865e-05/0.454, allocations: 118.8 kB / 0.5325 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.674e-05/0.454, allocations: 16.34 kB / 0.5325 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004857/0.4545, allocations: 386.8 kB / 0.5329 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.659e-06/0.4545, allocations: 10.11 kB / 0.5329 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.4545, allocations: 1.156 kB / 0.5329 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.4545, allocations: 6.781 kB / 0.5329 GB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.4547, allocations: 215.6 kB / 0.5331 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.4547, allocations: 1.875 kB / 0.5331 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.7e-05/0.4548, allocations: 19.62 kB / 0.5331 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.4548, allocations: 1.969 kB / 0.5331 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.4548, allocations: 5.844 kB / 0.5331 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.4548, allocations: 5.094 kB / 0.5331 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4548, allocations: 3.938 kB / 0.5331 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003772/0.4552, allocations: 454.3 kB / 0.5335 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.894e-05/0.4552, allocations: 26.75 kB / 0.5336 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.4553, allocations: 1.438 kB / 0.5336 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.624e-05/0.4553, allocations: 7.875 kB / 0.5336 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.699e-05/0.4554, allocations: 7.156 kB / 0.5336 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.4554, allocations: 7.656 kB / 0.5336 GB, free: 5.852 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.632e-05/0.4554, allocations: 87.11 kB / 0.5337 GB, free: 5.773 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4554, allocations: 0 / 0.5337 GB, free: 5.773 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0028/0.4582, allocations: 0.6286 MB / 0.5343 GB, free: 5.652 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.003203/0.4614, allocations: 0.998 MB / 0.5353 GB, free: 5.375 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004203/0.4618, allocations: 311.7 kB / 0.5356 GB, free: 5.336 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.4618, allocations: 0 / 0.5356 GB, free: 5.336 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.462, allocations: 170.5 kB / 0.5357 GB, free: 5.301 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005448/0.4625, allocations: 68.67 kB / 0.5358 GB, free: 5.293 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008114/0.4634, allocations: 400.9 kB / 0.5362 GB, free: 5.121 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.751e-05/0.4634, allocations: 101.4 kB / 0.5363 GB, free: 5.043 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.97e-05/0.4635, allocations: 30.25 kB / 0.5363 GB, free: 5.031 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.275e-05/0.4636, allocations: 16.28 kB / 0.5363 GB, free: 5.023 MB / 382.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4636, allocations: 1.188 kB / 0.5363 GB, free: 5.023 MB / 382.1 MB Notification: Performance of Templates: time 0.06671/0.5303, allocations: 25.35 MB / 0.5611 GB, free: 2.234 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.46901479922235] Failed to read output from testmodel.py, exit status != 0: 0.5399667844176292 0.568346575 0.12452763000000001 Calling exit ...