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.0007357/0.0007357, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0007691/0.0007691, allocations: 166.3 kB / 22.46 MB, free: 2.098 MB / 18.57 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 0.9234/0.9234, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 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.02948/0.02948, allocations: 7.524 MB / 266.7 MB, free: 6.199 MB / 250.7 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 2.995e-06/2.995e-06, allocations: 0 / 391.7 MB, free: 6.367 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.765e-05/3.065e-05, allocations: 10.22 kB / 391.7 MB, free: 6.355 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.idealGasLimit): time 0.01332/0.01335, allocations: 15.63 MB / 407.4 MB, free: 6.664 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005539/0.01889, allocations: 8.261 MB / 415.6 MB, free: 14.38 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.587e-05/0.01895, allocations: 0 / 415.6 MB, free: 14.38 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000825/0.01978, allocations: 331.7 kB / 416 MB, free: 14.05 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008751/0.02853, allocations: 4.605 MB / 420.6 MB, free: 9.43 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.226e-05/0.02855, allocations: 4 kB / 420.6 MB, free: 9.426 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002107/0.02876, allocations: 151 kB / 420.7 MB, free: 9.277 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.688e-05/0.02882, allocations: 5.312 kB / 420.7 MB, free: 9.27 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.02899, allocations: 99.59 kB / 420.8 MB, free: 9.172 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.576e-05/0.02904, allocations: 31.92 kB / 420.8 MB, free: 9.141 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.02906, allocations: 7.938 kB / 420.9 MB, free: 9.133 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007126/0.03619, allocations: 5.379 MB / 426.2 MB, free: 3.742 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.295e-05/0.03621, allocations: 15.86 kB / 426.2 MB, free: 3.727 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 8.348e-05/0.03629, allocations: 39.86 kB / 426.3 MB, free: 3.688 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005198/0.04149, allocations: 3.16 MB / 429.4 MB, free: 0.5195 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.0415, allocations: 0 / 429.4 MB, free: 0.5195 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.0415, allocations: 0 / 429.4 MB, free: 0.5195 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.04151, allocations: 3.938 kB / 429.4 MB, free: 0.5156 MB / 394.7 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.001147/0.04265, allocations: 0.6354 MB / 430.1 MB, free: 15.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.0427, allocations: 12.62 kB / 430.1 MB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.318e-05/0.04274, allocations: 50.55 kB / 430.1 MB, free: 15.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.04287, allocations: 19.88 kB / 430.2 MB, free: 15.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.946e-05/0.04297, allocations: 117.1 kB / 430.3 MB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.04298, allocations: 8 kB / 430.3 MB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.043, allocations: 11.98 kB / 430.3 MB, free: 15.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/0.04321, allocations: 186.6 kB / 430.5 MB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.04322, allocations: 7.875 kB / 430.5 MB, free: 15.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.04323, allocations: 4 kB / 430.5 MB, free: 15.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.04324, allocations: 7.984 kB / 430.5 MB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001855/0.04343, allocations: 256.2 kB / 430.8 MB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000234/0.04366, allocations: 257.8 kB / 431 MB, free: 14.85 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.04385, allocations: 198.8 kB / 431.2 MB, free: 14.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.04396, allocations: 153.1 kB / 431.3 MB, free: 14.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005415/0.04937, allocations: 1.976 MB / 433.3 MB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.0494, allocations: 34.5 kB / 433.4 MB, free: 12.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 2.675e-06/0.04941, allocations: 0 / 433.4 MB, free: 12.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.0004736/0.04988, allocations: 0.5112 MB / 433.9 MB, free: 11.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.04991, allocations: 51.41 kB / 433.9 MB, free: 11.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.296e-05/0.04997, allocations: 101.9 kB / 434 MB, free: 11.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.04999, allocations: 25.7 kB / 434 MB, free: 11.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.499e-05/0.05002, allocations: 88.73 kB / 434.1 MB, free: 11.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.76e-05/0.0501, allocations: 130.8 kB / 434.3 MB, free: 11.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.246e-05/0.05015, allocations: 41.7 kB / 434.3 MB, free: 11.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.96e-05/0.05024, allocations: 326.8 kB / 434.6 MB, free: 11.13 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.05034, allocations: 124 kB / 434.7 MB, free: 11.01 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.05046, allocations: 145.7 kB / 434.9 MB, free: 10.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.05068, allocations: 295.2 kB / 435.2 MB, free: 10.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.05069, allocations: 0 / 435.2 MB, free: 10.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002903/0.05098, allocations: 326.8 kB / 435.5 MB, free: 10.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.051, allocations: 7.938 kB / 435.5 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.836e-05/0.05101, allocations: 7.984 kB / 435.5 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.05103, allocations: 0 / 435.5 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.05114, allocations: 27.94 kB / 435.5 MB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.05115, allocations: 0 / 435.5 MB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.646e-05/0.0512, allocations: 23.77 kB / 435.6 MB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.05121, allocations: 4 kB / 435.6 MB, free: 10.17 MB / 410.7 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 9.559e-05/0.05131, allocations: 125.8 kB / 435.7 MB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.118e-05/0.05134, allocations: 15.84 kB / 435.7 MB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004434/0.05178, allocations: 385.2 kB / 436.1 MB, free: 9.641 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.0518, allocations: 3.984 kB / 436.1 MB, free: 9.637 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.0518, allocations: 0 / 436.1 MB, free: 9.637 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/0.05181, allocations: 4 kB / 436.1 MB, free: 9.633 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.05204, allocations: 253.1 kB / 436.3 MB, free: 9.344 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.05204, allocations: 4 kB / 436.3 MB, free: 9.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.007e-05/0.0521, allocations: 20 kB / 436.3 MB, free: 9.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.05211, allocations: 7.938 kB / 436.4 MB, free: 9.312 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.05212, allocations: 7.984 kB / 436.4 MB, free: 9.305 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.05212, allocations: 4 kB / 436.4 MB, free: 9.301 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.05212, allocations: 0 / 436.4 MB, free: 9.301 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002869/0.05241, allocations: 445.7 kB / 436.8 MB, free: 8.852 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.247e-05/0.05246, allocations: 31.77 kB / 436.8 MB, free: 8.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.05248, allocations: 11.92 kB / 436.8 MB, free: 8.809 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.298e-05/0.05253, allocations: 0 / 436.8 MB, free: 8.809 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.279e-05/0.05256, allocations: 16.11 kB / 436.9 MB, free: 8.793 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.05257, allocations: 8 kB / 436.9 MB, free: 8.785 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.538e-05/0.0526, allocations: 79.27 kB / 436.9 MB, free: 8.707 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0526, allocations: 7.938 kB / 437 MB, free: 8.699 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002263/0.05487, allocations: 0.6231 MB / 437.6 MB, free: 8.074 MB / 410.7 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.003802/0.05867, allocations: 1.924 MB / 439.5 MB, free: 6.121 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003571/0.05902, allocations: 305.5 kB / 439.8 MB, free: 5.816 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.05903, allocations: 0 / 439.8 MB, free: 5.816 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.05914, allocations: 173.6 kB / 440 MB, free: 5.641 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003832/0.05952, allocations: 67.91 kB / 440 MB, free: 5.574 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.06115, allocations: 0.6613 MB / 440.7 MB, free: 4.875 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.002e-05/0.06122, allocations: 98.59 kB / 440.8 MB, free: 4.758 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.459e-05/0.0613, allocations: 32.53 kB / 440.8 MB, free: 4.727 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.51e-05/0.06136, allocations: 40.48 kB / 440.9 MB, free: 4.684 MB / 410.7 MB Notification: Performance of SimCode: time 1.764e-06/0.06136, allocations: 0 / 440.9 MB, free: 4.684 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1884/0.2498, allocations: 28.1 MB / 469 MB, free: 87.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.513/7.763, allocations: 3.281 kB / 469 MB, free: 87.09 MB / 410.7 MB " [Timeout remaining time 652] (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: 9.974018769338727] Failed to read output from testmodel.py, exit status != 0: 7.856464825570583 7.865707729 7.82229271 Calling exit ...