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.001521/0.001521, allocations: 80.2 kB / 19.18 MB, free: 2.527 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.001664/0.001664, allocations: 172.8 kB / 22.46 MB, free: 5.352 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.381/1.381, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 179] 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.04783/0.04783, allocations: 7.516 MB / 266.7 MB, free: 9.656 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 1.372e-06/1.372e-06, allocations: 0 / 392.2 MB, free: 10.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.194e-05/2.331e-05, allocations: 2.281 kB / 392.2 MB, free: 10.4 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.idealGasLimit): time 0.01916/0.01918, allocations: 15.65 MB / 407.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009397/0.02858, allocations: 8.254 MB / 416.1 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.155e-05/0.02863, allocations: 0 / 416.1 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008568/0.02948, allocations: 323.7 kB / 416.4 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009657/0.03914, allocations: 4.607 MB / 421.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.409e-05/0.03916, allocations: 0 / 421.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001991/0.03936, allocations: 151 kB / 421.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.492e-05/0.0394, allocations: 13.23 kB / 421.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001735/0.03957, allocations: 95.61 kB / 421.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.181e-05/0.03965, allocations: 31.86 kB / 421.3 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.03966, allocations: 8 kB / 421.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008704/0.04836, allocations: 5.382 MB / 426.7 MB, free: 7.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.129e-05/0.04839, allocations: 11.88 kB / 426.7 MB, free: 7.758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.31e-05/0.04845, allocations: 35.92 kB / 426.8 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005254/0.0537, allocations: 3.168 MB / 429.9 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.05371, allocations: 0 / 429.9 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.05371, allocations: 0 / 429.9 MB, free: 4.547 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.05371, allocations: 4 kB / 429.9 MB, free: 4.543 MB / 350.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.001188/0.0549, allocations: 0.6315 MB / 430.6 MB, free: 3.879 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.05493, allocations: 12.62 kB / 430.6 MB, free: 3.867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.05505, allocations: 27.83 kB / 430.6 MB, free: 3.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.05517, allocations: 117 kB / 430.7 MB, free: 3.699 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.05518, allocations: 4 kB / 430.7 MB, free: 3.695 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.0552, allocations: 8 kB / 430.7 MB, free: 3.688 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002638/0.05546, allocations: 190.5 kB / 430.9 MB, free: 3.496 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.05547, allocations: 0 / 430.9 MB, free: 3.496 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.05548, allocations: 0 / 430.9 MB, free: 3.496 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.0555, allocations: 19.97 kB / 431 MB, free: 3.477 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002879/0.05579, allocations: 252.2 kB / 431.2 MB, free: 3.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002779/0.05606, allocations: 230.4 kB / 431.4 MB, free: 2.977 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.05631, allocations: 186.8 kB / 431.6 MB, free: 2.785 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001728/0.05648, allocations: 157.1 kB / 431.8 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00988/0.06636, allocations: 1.984 MB / 433.7 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.06639, allocations: 38.5 kB / 433.8 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 1.884e-06/0.06639, allocations: 0 / 433.8 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of matching and sorting (n=39): time 0.0006915/0.06708, allocations: 0.5072 MB / 434.3 MB, free: 64 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.06714, allocations: 55.45 kB / 434.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.931e-05/0.06723, allocations: 93.86 kB / 434.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.06725, allocations: 29.7 kB / 434.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.66e-05/0.0673, allocations: 88.73 kB / 434.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.06741, allocations: 134.8 kB / 434.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.318e-05/0.06748, allocations: 53.64 kB / 434.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.06764, allocations: 326.8 kB / 435.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.06778, allocations: 116 kB / 435.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001763/0.06796, allocations: 150.6 kB / 435.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003437/0.0683, allocations: 287.2 kB / 435.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.0683, allocations: 0 / 435.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00042/0.06872, allocations: 326.8 kB / 435.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.06874, allocations: 8.031 kB / 435.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.06875, allocations: 0 / 435.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.06877, allocations: 7.938 kB / 435.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.06889, allocations: 23.92 kB / 436 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.06889, allocations: 0 / 436 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.1e-05/0.06896, allocations: 23.84 kB / 436 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.06898, allocations: 4 kB / 436 MB, free: 14.3 MB / 366.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 0.0001032/0.06908, allocations: 121.8 kB / 436.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.289e-05/0.06912, allocations: 11.91 kB / 436.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005553/0.06968, allocations: 385.2 kB / 436.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/0.06969, allocations: 15.92 kB / 436.5 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.0697, allocations: 0 / 436.5 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.0697, allocations: 0 / 436.5 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002707/0.06997, allocations: 225.6 kB / 436.7 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.06998, allocations: 4 kB / 436.7 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.734e-05/0.07007, allocations: 16 kB / 436.7 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.07007, allocations: 3.984 kB / 436.7 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.07008, allocations: 4 kB / 436.7 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.07008, allocations: 0 / 436.7 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.07009, allocations: 3.938 kB / 436.8 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004776/0.07056, allocations: 445.8 kB / 437.2 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.955e-05/0.07062, allocations: 35.8 kB / 437.2 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.07064, allocations: 4 kB / 437.2 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.499e-05/0.07073, allocations: 3.938 kB / 437.2 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.334e-05/0.07076, allocations: 11.92 kB / 437.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.07078, allocations: 8 kB / 437.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.414e-05/0.07082, allocations: 79.47 kB / 437.3 MB, free: 12.9 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.07082, allocations: 0 / 437.3 MB, free: 12.9 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001587/0.07241, allocations: 0.6309 MB / 438 MB, free: 12.27 MB / 366.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.002794/0.0752, allocations: 1.063 MB / 439 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004243/0.07563, allocations: 309.5 kB / 439.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.07563, allocations: 0 / 439.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002023/0.07583, allocations: 169.6 kB / 439.5 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005462/0.07638, allocations: 74.27 kB / 439.6 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000773/0.07715, allocations: 378.5 kB / 439.9 MB, free: 10.24 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.722e-05/0.07725, allocations: 106.5 kB / 440 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.867e-05/0.07732, allocations: 28.41 kB / 440.1 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.11e-05/0.07737, allocations: 16.5 kB / 440.1 MB, free: 10.07 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.07737, allocations: 0 / 440.1 MB, free: 10.07 MB / 366.1 MB Notification: Performance of Templates: time 0.161/0.2383, allocations: 25.26 MB / 465.3 MB, free: 61.95 MB / 366.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: 5.463311146944761] Failed to read output from testmodel.py, exit status != 0: 0.24569614976644516 0.254094441 0.198246961 Calling exit ...