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.001825/0.001825, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002359/0.002359, allocations: 211.9 kB / 22.24 MB, free: 5.262 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.424/1.424, allocations: 230.6 MB / 256 MB, free: 7.781 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.05045/0.05045, allocations: 9.138 MB / 321.6 MB, free: 10.22 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.002104/0.002104, allocations: 67.91 kB / 446.5 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1047, allocations: 54.95 MB / 0.4897 GB, free: 9.547 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.idealGasLimit): time 0.02037/0.1251, allocations: 15.66 MB / 0.505 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009472/0.1345, allocations: 8.25 MB / 0.5131 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.25e-05/0.1346, allocations: 0 / 0.5131 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000998/0.1356, allocations: 327.8 kB / 0.5134 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2232/0.3589, allocations: 4.53 MB / 0.5178 GB, free: 8.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.399e-05/0.3589, allocations: 0 / 0.5178 GB, free: 8.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001917/0.3591, allocations: 146.4 kB / 0.5179 GB, free: 8.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.977e-05/0.3591, allocations: 13.05 kB / 0.5179 GB, free: 8.266 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.3593, allocations: 67.02 kB / 0.518 GB, free: 8.266 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.821e-05/0.3593, allocations: 45.84 kB / 0.5181 GB, free: 8.266 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.034e-05/0.3593, allocations: 1.656 kB / 0.5181 GB, free: 8.266 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00931/0.3686, allocations: 5.357 MB / 0.5233 GB, free: 8.254 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.278e-05/0.3687, allocations: 16.42 kB / 0.5233 GB, free: 8.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.3688, allocations: 49.03 kB / 0.5233 GB, free: 8.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006804/0.3756, allocations: 2.697 MB / 0.526 GB, free: 8.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3756, allocations: 0 / 0.526 GB, free: 8.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3756, allocations: 0 / 0.526 GB, free: 8.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.3756, allocations: 0 / 0.526 GB, free: 8.16 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.002277/0.3779, allocations: 0.6447 MB / 0.5266 GB, free: 7.695 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.3779, allocations: 9.844 kB / 0.5266 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.411e-05/0.378, allocations: 45.55 kB / 0.5267 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.3781, allocations: 19.47 kB / 0.5267 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.805e-05/0.3782, allocations: 116 kB / 0.5268 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.3782, allocations: 11 kB / 0.5268 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.3782, allocations: 9.656 kB / 0.5268 GB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.3785, allocations: 190.9 kB / 0.527 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.3785, allocations: 0 / 0.527 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.3785, allocations: 5.281 kB / 0.527 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.3785, allocations: 9.766 kB / 0.527 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002449/0.3787, allocations: 250.1 kB / 0.5272 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002274/0.379, allocations: 265.1 kB / 0.5275 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.3792, allocations: 190 kB / 0.5277 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.3793, allocations: 155 kB / 0.5278 GB, free: 7.273 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0098/0.3891, allocations: 1.991 MB / 0.5298 GB, free: 7.055 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.3891, allocations: 35.06 kB / 0.5298 GB, free: 7.016 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 2.475e-06/0.3891, allocations: 0 / 0.5298 GB, free: 7.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=39): time 0.0007503/0.3899, allocations: 0.5043 MB / 0.5303 GB, free: 6.922 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.3899, allocations: 56.53 kB / 0.5304 GB, free: 6.855 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.058e-05/0.39, allocations: 103.7 kB / 0.5305 GB, free: 6.758 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.39, allocations: 25.7 kB / 0.5305 GB, free: 6.727 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.337e-05/0.39, allocations: 83.19 kB / 0.5306 GB, free: 6.645 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.782e-05/0.3901, allocations: 133.5 kB / 0.5307 GB, free: 6.555 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.08e-05/0.3902, allocations: 40.59 kB / 0.5307 GB, free: 6.539 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.819e-05/0.3902, allocations: 330.4 kB / 0.531 GB, free: 6.227 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.3903, allocations: 122 kB / 0.5312 GB, free: 6.223 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.3905, allocations: 145.7 kB / 0.5313 GB, free: 6.207 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002887/0.3908, allocations: 289.1 kB / 0.5316 GB, free: 6.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3908, allocations: 1.094 kB / 0.5316 GB, free: 6.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003609/0.3911, allocations: 328.8 kB / 0.5319 GB, free: 6.137 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.3912, allocations: 5.531 kB / 0.5319 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.3912, allocations: 2.312 kB / 0.5319 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.3912, allocations: 2.375 kB / 0.5319 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.3913, allocations: 27.48 kB / 0.5319 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.3913, allocations: 1.094 kB / 0.5319 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.62e-05/0.3914, allocations: 18.83 kB / 0.5319 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.3914, allocations: 7.406 kB / 0.5319 GB, free: 6.117 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.551e-05/0.3915, allocations: 127.2 kB / 0.5321 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.731e-05/0.3915, allocations: 12.22 kB / 0.5321 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004908/0.392, allocations: 386.1 kB / 0.5324 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.392, allocations: 14.2 kB / 0.5325 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.392, allocations: 4.281 kB / 0.5325 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.392, allocations: 1.297 kB / 0.5325 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.3923, allocations: 253.2 kB / 0.5327 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.3923, allocations: 2.281 kB / 0.5327 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.3924, allocations: 23.39 kB / 0.5327 GB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.3924, allocations: 2.5 kB / 0.5327 GB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.3924, allocations: 3.125 kB / 0.5327 GB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3924, allocations: 3.938 kB / 0.5327 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3924, allocations: 2.859 kB / 0.5327 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004041/0.3928, allocations: 450 kB / 0.5332 GB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.21e-05/0.3929, allocations: 31.06 kB / 0.5332 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.3929, allocations: 8.078 kB / 0.5332 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.513e-05/0.393, allocations: 9.188 kB / 0.5332 GB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.584e-05/0.393, allocations: 8.422 kB / 0.5332 GB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.393, allocations: 10.72 kB / 0.5332 GB, free: 5.574 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.925e-05/0.393, allocations: 78.5 kB / 0.5333 GB, free: 5.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.393, allocations: 0 / 0.5333 GB, free: 5.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003887/0.3969, allocations: 0.6311 MB / 0.5339 GB, free: 5.383 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.006971/0.4039, allocations: 1.865 MB / 0.5358 GB, free: 4.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005717/0.4045, allocations: 305.1 kB / 0.536 GB, free: 4.484 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4045, allocations: 0 / 0.536 GB, free: 4.484 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001963/0.4047, allocations: 174.2 kB / 0.5362 GB, free: 4.453 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006232/0.4053, allocations: 76.52 kB / 0.5363 GB, free: 4.441 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003028/0.4083, allocations: 0.6618 MB / 0.5369 GB, free: 4.121 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.128e-05/0.4084, allocations: 104.4 kB / 0.537 GB, free: 4.039 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000102/0.4085, allocations: 19.39 kB / 0.537 GB, free: 4.035 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.563e-05/0.4086, allocations: 37.84 kB / 0.5371 GB, free: 4.027 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4086, allocations: 0 / 0.5371 GB, free: 4.027 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0702/0.4788, allocations: 28.05 MB / 0.5645 GB, free: 14.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.3, allocations: 13.45 kB / 0.5645 GB, free: 14.92 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 & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit_res.csv --start-time 0 --stop-time 200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.08 HelmholtzMedia_HelmholtzMedia_Examples_Validation_idealGasLimit.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.119198945350945] Failed to read output from testmodel.py, exit status != 0: 12.417680060956627 12.434689967 12.05582747 Calling exit ...