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.00126/0.00126, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001429/0.001429, allocations: 214.2 kB / 22.24 MB, free: 4.855 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.378/1.378, allocations: 230.6 MB / 256 MB, free: 7.992 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.0486/0.0486, allocations: 9.125 MB / 321.6 MB, free: 10.25 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: "" <> buildModelFMU(HelmholtzMedia.Examples.Validation.idealGasLimit,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_idealGasLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Validation.idealGasLimit,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_idealGasLimit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002161/0.002161, allocations: 71.83 kB / 446.5 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09948/0.1016, allocations: 54.95 MB / 0.4897 GB, free: 9.559 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.idealGasLimit): time 0.01916/0.1208, allocations: 15.65 MB / 0.505 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009225/0.13, allocations: 8.254 MB / 0.5131 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.05e-05/0.1301, allocations: 4 kB / 0.5131 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008828/0.131, allocations: 323.7 kB / 0.5134 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2247/0.3557, allocations: 4.539 MB / 0.5178 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.14e-05/0.3557, allocations: 1.547 kB / 0.5178 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000257/0.356, allocations: 140.9 kB / 0.5179 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.809e-05/0.356, allocations: 10.33 kB / 0.5179 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002112/0.3562, allocations: 73.12 kB / 0.518 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.811e-05/0.3563, allocations: 44.08 kB / 0.5181 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.3564, allocations: 2 kB / 0.5181 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01064/0.367, allocations: 5.363 MB / 0.5233 GB, free: 8.352 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.151e-05/0.367, allocations: 9.688 kB / 0.5233 GB, free: 8.352 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.3671, allocations: 43.17 kB / 0.5234 GB, free: 8.352 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007616/0.3748, allocations: 2.697 MB / 0.526 GB, free: 8.262 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3748, allocations: 1.188 kB / 0.526 GB, free: 8.262 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.3748, allocations: 0 / 0.526 GB, free: 8.262 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.3748, allocations: 0 / 0.526 GB, free: 8.262 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.002447/0.3772, allocations: 0.6408 MB / 0.5266 GB, free: 7.797 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.3773, allocations: 9.25 kB / 0.5266 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.268e-05/0.3773, allocations: 46.34 kB / 0.5267 GB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.3774, allocations: 19.47 kB / 0.5267 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.247e-05/0.3775, allocations: 119.8 kB / 0.5268 GB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.3775, allocations: 11.38 kB / 0.5268 GB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.3776, allocations: 7.188 kB / 0.5268 GB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002562/0.3778, allocations: 187.9 kB / 0.527 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3778, allocations: 2.594 kB / 0.527 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.3778, allocations: 3 kB / 0.527 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.3779, allocations: 6.766 kB / 0.527 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002713/0.3781, allocations: 255.8 kB / 0.5272 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002667/0.3784, allocations: 264.6 kB / 0.5275 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.3786, allocations: 189.1 kB / 0.5277 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.3788, allocations: 155.2 kB / 0.5278 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009972/0.3887, allocations: 1.995 MB / 0.5298 GB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.3888, allocations: 35.84 kB / 0.5298 GB, free: 7.117 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 2.404e-06/0.3888, allocations: 4 kB / 0.5298 GB, free: 7.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=39): time 0.0007361/0.3895, allocations: 0.4983 MB / 0.5303 GB, free: 7.023 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.3895, allocations: 58.31 kB / 0.5304 GB, free: 6.957 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.172e-05/0.3896, allocations: 104.5 kB / 0.5305 GB, free: 6.859 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.3896, allocations: 27.08 kB / 0.5305 GB, free: 6.828 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.992e-05/0.3896, allocations: 80.8 kB / 0.5306 GB, free: 6.746 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.308e-05/0.3897, allocations: 133.1 kB / 0.5307 GB, free: 6.656 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.674e-05/0.3898, allocations: 39.27 kB / 0.5307 GB, free: 6.641 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.234e-05/0.3898, allocations: 328 kB / 0.531 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.3899, allocations: 126.3 kB / 0.5312 GB, free: 6.324 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.3901, allocations: 143.2 kB / 0.5313 GB, free: 6.305 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000273/0.3903, allocations: 294.1 kB / 0.5316 GB, free: 6.281 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3903, allocations: 0 / 0.5316 GB, free: 6.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000362/0.3907, allocations: 327.1 kB / 0.5319 GB, free: 6.238 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.3907, allocations: 8.812 kB / 0.5319 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.3907, allocations: 2.281 kB / 0.5319 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.3908, allocations: 1 kB / 0.5319 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.3909, allocations: 24.38 kB / 0.5319 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.3909, allocations: 1.156 kB / 0.5319 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.993e-05/0.391, allocations: 20.91 kB / 0.5319 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.391, allocations: 10.66 kB / 0.532 GB, free: 6.219 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 7.433e-05/0.391, allocations: 125.2 kB / 0.5321 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.875e-05/0.3911, allocations: 12.12 kB / 0.5321 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000487/0.3916, allocations: 391.1 kB / 0.5325 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.3916, allocations: 10.58 kB / 0.5325 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3916, allocations: 1.641 kB / 0.5325 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3916, allocations: 0 / 0.5325 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002377/0.3918, allocations: 253.5 kB / 0.5327 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.3918, allocations: 7.641 kB / 0.5327 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.725e-05/0.3919, allocations: 20.28 kB / 0.5327 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.309e-06/0.3919, allocations: 1.125 kB / 0.5327 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.3919, allocations: 4.125 kB / 0.5327 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.3919, allocations: 8.469 kB / 0.5328 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3919, allocations: 0 / 0.5328 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003907/0.3923, allocations: 449.9 kB / 0.5332 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.317e-05/0.3924, allocations: 27.14 kB / 0.5332 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.3924, allocations: 7.891 kB / 0.5332 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.862e-05/0.3925, allocations: 8.75 kB / 0.5332 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.285e-05/0.3925, allocations: 14.86 kB / 0.5332 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.3925, allocations: 8 kB / 0.5332 GB, free: 5.676 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.303e-05/0.3926, allocations: 81.38 kB / 0.5333 GB, free: 5.602 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3926, allocations: 1.188 kB / 0.5333 GB, free: 5.602 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002697/0.3953, allocations: 0.6259 MB / 0.5339 GB, free: 5.484 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.005467/0.4007, allocations: 1.865 MB / 0.5358 GB, free: 4.621 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004649/0.4012, allocations: 311.8 kB / 0.5361 GB, free: 4.586 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.4012, allocations: 1.125 kB / 0.5361 GB, free: 4.586 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001807/0.4014, allocations: 168.2 kB / 0.5362 GB, free: 4.555 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005955/0.402, allocations: 74.64 kB / 0.5363 GB, free: 4.543 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002459/0.4044, allocations: 0.659 MB / 0.5369 GB, free: 4.223 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.011e-05/0.4045, allocations: 107.9 kB / 0.537 GB, free: 4.137 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.887e-05/0.4046, allocations: 19.7 kB / 0.5371 GB, free: 4.137 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.166e-05/0.4047, allocations: 43.64 kB / 0.5371 GB, free: 4.125 MB / 382.1 MB Notification: Performance of SimCode: time 6.82e-07/0.4047, allocations: 4 kB / 0.5371 GB, free: 4.121 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06841/0.4731, allocations: 28.02 MB / 0.5645 GB, free: 14.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.07, allocations: 6.281 kB / 0.5645 GB, free: 14.98 MB / 414.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Validation_idealGasLimit_fmu --startTime=0 --stopTime=200 --stepSize=0.08 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_Validation_idealGasLimit.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.891887789126486] Failed to read output from testmodel.py, exit status != 0: 12.192406104877591 12.21966284 11.83994619 Calling exit ...