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.001908/0.001908, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001998/0.001998, allocations: 214.7 kB / 22.25 MB, free: 5.082 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.457/1.457, allocations: 230.6 MB / 256 MB, free: 8.02 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.0899/0.0899, allocations: 9.137 MB / 321.6 MB, free: 10.53 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.001984/0.001984, allocations: 59.91 kB / 447.1 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1057, allocations: 54.95 MB / 0.4903 GB, free: 9.562 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.idealGasLimit): time 0.02245/0.1282, allocations: 17.36 MB / 0.5072 GB, free: 8.133 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2176/0.3458, allocations: 9.348 MB / 0.5163 GB, free: 7.316 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.3459, allocations: 1.625 kB / 0.5163 GB, free: 7.316 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001352/0.3473, allocations: 408 kB / 0.5167 GB, free: 7.312 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01493/0.3622, allocations: 4.622 MB / 0.5212 GB, free: 7.254 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.189e-05/0.3623, allocations: 4 kB / 0.5212 GB, free: 7.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003872/0.3627, allocations: 149 kB / 0.5214 GB, free: 7.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.874e-05/0.3627, allocations: 6.672 kB / 0.5214 GB, free: 7.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002033/0.3629, allocations: 65.94 kB / 0.5215 GB, free: 7.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.363, allocations: 54.11 kB / 0.5215 GB, free: 7.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.363, allocations: 0 / 0.5215 GB, free: 7.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01587/0.3789, allocations: 8.025 MB / 0.5293 GB, free: 6.918 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.741e-05/0.3789, allocations: 10.34 kB / 0.5294 GB, free: 6.918 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.3791, allocations: 53.7 kB / 0.5294 GB, free: 6.914 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008165/0.3872, allocations: 3.296 MB / 0.5326 GB, free: 6.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3872, allocations: 1.25 kB / 0.5326 GB, free: 6.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3872, allocations: 0 / 0.5326 GB, free: 6.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.3872, allocations: 0 / 0.5326 GB, free: 6.18 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.00203/0.3893, allocations: 0.6399 MB / 0.5333 GB, free: 5.672 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.3893, allocations: 9.906 kB / 0.5333 GB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001422/0.3895, allocations: 23.36 kB / 0.5333 GB, free: 5.656 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.8e-05/0.3896, allocations: 117.8 kB / 0.5334 GB, free: 5.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.3896, allocations: 6.156 kB / 0.5334 GB, free: 5.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.3896, allocations: 4.5 kB / 0.5334 GB, free: 5.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.3898, allocations: 199.6 kB / 0.5336 GB, free: 5.461 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.3899, allocations: 3.375 kB / 0.5336 GB, free: 5.461 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.3899, allocations: 0 / 0.5336 GB, free: 5.461 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.3899, allocations: 14.92 kB / 0.5336 GB, free: 5.457 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002731/0.3902, allocations: 256.6 kB / 0.5339 GB, free: 5.426 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002287/0.3904, allocations: 277.6 kB / 0.5341 GB, free: 5.234 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.3906, allocations: 185.9 kB / 0.5343 GB, free: 5.195 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.3907, allocations: 154.2 kB / 0.5344 GB, free: 5.172 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009951/0.4007, allocations: 1.988 MB / 0.5364 GB, free: 4.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.4007, allocations: 34 kB / 0.5364 GB, free: 4.301 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 3.156e-06/0.4007, allocations: 0.75 kB / 0.5364 GB, free: 4.301 MB / 382.1 MB Notification: Performance of matching and sorting (n=39): time 0.0005851/0.4013, allocations: 0.505 MB / 0.5369 GB, free: 4.172 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.4013, allocations: 56.81 kB / 0.537 GB, free: 4.105 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.271e-05/0.4014, allocations: 102.6 kB / 0.5371 GB, free: 4.004 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.4014, allocations: 29.39 kB / 0.5371 GB, free: 3.973 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.715e-05/0.4014, allocations: 81.83 kB / 0.5372 GB, free: 3.891 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.57e-05/0.4014, allocations: 137.6 kB / 0.5373 GB, free: 3.785 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.296e-05/0.4015, allocations: 37.67 kB / 0.5373 GB, free: 3.766 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.053e-05/0.4015, allocations: 330.7 kB / 0.5377 GB, free: 3.445 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.4017, allocations: 123 kB / 0.5378 GB, free: 3.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.4018, allocations: 147.6 kB / 0.5379 GB, free: 3.398 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002824/0.4021, allocations: 297.2 kB / 0.5382 GB, free: 3.348 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4021, allocations: 0 / 0.5382 GB, free: 3.348 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003314/0.4024, allocations: 325.5 kB / 0.5385 GB, free: 3.281 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.4024, allocations: 5.406 kB / 0.5385 GB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.4024, allocations: 10.48 kB / 0.5385 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.4024, allocations: 0.9375 kB / 0.5385 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.4026, allocations: 25.81 kB / 0.5386 GB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.4026, allocations: 0.9688 kB / 0.5386 GB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.558e-05/0.4026, allocations: 15.34 kB / 0.5386 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.4027, allocations: 4.719 kB / 0.5386 GB, free: 3.258 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.521e-05/0.4027, allocations: 130 kB / 0.5387 GB, free: 3.137 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.4028, allocations: 12.12 kB / 0.5387 GB, free: 3.129 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004668/0.4032, allocations: 391.5 kB / 0.5391 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/0.4032, allocations: 11.84 kB / 0.5391 GB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4032, allocations: 0 / 0.5391 GB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.4032, allocations: 0 / 0.5391 GB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.4035, allocations: 262.5 kB / 0.5393 GB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.4035, allocations: 2.312 kB / 0.5393 GB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.976e-05/0.4036, allocations: 31.58 kB / 0.5394 GB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.4036, allocations: 1.125 kB / 0.5394 GB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.4036, allocations: 6.281 kB / 0.5394 GB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4036, allocations: 0 / 0.5394 GB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4036, allocations: 1.672 kB / 0.5394 GB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003491/0.4039, allocations: 446.7 kB / 0.5398 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-05/0.404, allocations: 29.11 kB / 0.5398 GB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.404, allocations: 8.75 kB / 0.5398 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.771e-05/0.4041, allocations: 3.812 kB / 0.5398 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.12e-05/0.4041, allocations: 13.52 kB / 0.5399 GB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.4041, allocations: 5.812 kB / 0.5399 GB, free: 2.609 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.026e-05/0.4041, allocations: 82.38 kB / 0.5399 GB, free: 2.535 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4041, allocations: 0 / 0.5399 GB, free: 2.535 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002558/0.4067, allocations: 0.6288 MB / 0.5406 GB, free: 2.391 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.003504/0.4102, allocations: 0.9951 MB / 0.5415 GB, free: 2.023 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003747/0.4106, allocations: 309.6 kB / 0.5418 GB, free: 1.902 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4106, allocations: 0 / 0.5418 GB, free: 1.902 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.4107, allocations: 173.8 kB / 0.542 GB, free: 1.797 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005425/0.4112, allocations: 78.86 kB / 0.5421 GB, free: 1.758 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006904/0.4119, allocations: 404.9 kB / 0.5425 GB, free: 1.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.412, allocations: 0.7171 MB / 0.5432 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.222e-05/0.4121, allocations: 15.8 kB / 0.5432 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.812e-05/0.4121, allocations: 20.86 kB / 0.5432 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4121, allocations: 0 / 0.5432 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of Templates: time 0.03695/0.4491, allocations: 25.25 MB / 0.5679 GB, free: 11.82 MB / 414.1 MB " [Timeout remaining time 660] 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.252902442589402] Failed to read output from testmodel.py, exit status != 0: 0.4574505970813334 0.474465988 0.08361447100000001 Calling exit ...