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.0007953/0.0007953, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.000847/0.000847, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8874/0.8874, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.02854/0.02854, allocations: 7.512 MB / 266.7 MB, free: 6.191 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 1.713e-06/1.713e-06, allocations: 0 / 391.7 MB, free: 5.172 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.506e-05/1.677e-05, allocations: 6.281 kB / 391.7 MB, free: 5.164 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.idealGasLimit): time 0.013/0.01302, allocations: 15.63 MB / 407.4 MB, free: 5.461 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1573/0.1703, allocations: 8.248 MB / 415.6 MB, free: 14.86 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.827e-05/0.1704, allocations: 1.094 kB / 415.6 MB, free: 14.86 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007502/0.1712, allocations: 326.6 kB / 415.9 MB, free: 14.85 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007347/0.1785, allocations: 4.608 MB / 420.5 MB, free: 14.34 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.391e-05/0.1785, allocations: 2.734 kB / 420.6 MB, free: 14.34 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.1787, allocations: 151.4 kB / 420.7 MB, free: 14.28 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.201e-05/0.1787, allocations: 9.609 kB / 420.7 MB, free: 14.28 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.1789, allocations: 99.7 kB / 420.8 MB, free: 14.26 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.766e-05/0.179, allocations: 30.73 kB / 420.8 MB, free: 14.26 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.179, allocations: 1.312 kB / 420.8 MB, free: 14.26 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006541/0.1855, allocations: 5.384 MB / 426.2 MB, free: 14.03 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.948e-05/0.1855, allocations: 19.64 kB / 426.2 MB, free: 14.02 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.305e-05/0.1856, allocations: 32.39 kB / 426.3 MB, free: 14.02 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003358/0.1889, allocations: 3.164 MB / 429.4 MB, free: 13.25 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1889, allocations: 0 / 429.4 MB, free: 13.25 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1889, allocations: 0 / 429.4 MB, free: 13.25 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.189, allocations: 0 / 429.4 MB, free: 13.25 MB / 330.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.001099/0.19, allocations: 0.6325 MB / 430.1 MB, free: 12.74 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.1901, allocations: 11.25 kB / 430.1 MB, free: 12.74 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.964e-05/0.1901, allocations: 45.11 kB / 430.1 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.555e-05/0.1902, allocations: 21.39 kB / 430.1 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.353e-05/0.1903, allocations: 121.6 kB / 430.3 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.1903, allocations: 5.125 kB / 430.3 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.1903, allocations: 11.31 kB / 430.3 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.1905, allocations: 190.3 kB / 430.5 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1905, allocations: 1.219 kB / 430.5 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.1905, allocations: 7.438 kB / 430.5 MB, free: 12.49 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.1905, allocations: 7.953 kB / 430.5 MB, free: 12.49 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001845/0.1907, allocations: 255.5 kB / 430.7 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001742/0.1909, allocations: 263.7 kB / 431 MB, free: 12.28 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.191, allocations: 192.3 kB / 431.2 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.736e-05/0.1911, allocations: 155.6 kB / 431.3 MB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004615/0.1957, allocations: 1.988 MB / 433.3 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.479e-05/0.1957, allocations: 32.53 kB / 433.3 MB, free: 11.19 MB / 330.7 MB Notification: Performance of pre-optimization done (n=39): time 1.162e-06/0.1957, allocations: 0 / 433.3 MB, free: 11.19 MB / 330.7 MB Notification: Performance of matching and sorting (n=39): time 0.0003929/0.1961, allocations: 0.5089 MB / 433.9 MB, free: 10.9 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.014e-05/0.1962, allocations: 53.31 kB / 433.9 MB, free: 10.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.288e-05/0.1962, allocations: 104.5 kB / 434 MB, free: 10.73 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.923e-06/0.1962, allocations: 25.7 kB / 434 MB, free: 10.7 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.669e-05/0.1962, allocations: 89.03 kB / 434.1 MB, free: 10.62 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.022e-05/0.1963, allocations: 132 kB / 434.3 MB, free: 10.5 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/0.1963, allocations: 43.8 kB / 434.3 MB, free: 10.47 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.071e-05/0.1963, allocations: 318.8 kB / 434.6 MB, free: 10.15 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.815e-05/0.1964, allocations: 128.4 kB / 434.7 MB, free: 10.08 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.09e-05/0.1965, allocations: 146.2 kB / 434.9 MB, free: 9.996 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.1967, allocations: 291.5 kB / 435.2 MB, free: 9.836 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1967, allocations: 0 / 435.2 MB, free: 9.836 MB / 330.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002342/0.1969, allocations: 328.4 kB / 435.5 MB, free: 9.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.1969, allocations: 9.562 kB / 435.5 MB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.1969, allocations: 5.094 kB / 435.5 MB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.197, allocations: 3.75 kB / 435.5 MB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.024e-05/0.197, allocations: 28.3 kB / 435.5 MB, free: 9.645 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.197, allocations: 1.344 kB / 435.5 MB, free: 9.645 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.3e-05/0.1971, allocations: 12.58 kB / 435.5 MB, free: 9.637 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.1971, allocations: 3.844 kB / 435.5 MB, free: 9.637 MB / 330.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 5.41e-05/0.1971, allocations: 126.4 kB / 435.7 MB, free: 9.508 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.03e-05/0.1972, allocations: 13.19 kB / 435.7 MB, free: 9.5 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003486/0.1975, allocations: 392.2 kB / 436.1 MB, free: 9.277 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.1975, allocations: 7.172 kB / 436.1 MB, free: 9.273 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1975, allocations: 0 / 436.1 MB, free: 9.273 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1975, allocations: 1 kB / 436.1 MB, free: 9.273 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.1977, allocations: 254.4 kB / 436.3 MB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.1977, allocations: 5.688 kB / 436.3 MB, free: 9.035 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.871e-05/0.1977, allocations: 28.27 kB / 436.4 MB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1977, allocations: 0 / 436.4 MB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.1978, allocations: 7.562 kB / 436.4 MB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1978, allocations: 0 / 436.4 MB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1978, allocations: 0 / 436.4 MB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.198, allocations: 440.9 kB / 436.8 MB, free: 8.727 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.491e-05/0.198, allocations: 32.78 kB / 436.8 MB, free: 8.703 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.198, allocations: 7.938 kB / 436.8 MB, free: 8.695 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.302e-05/0.1981, allocations: 6.938 kB / 436.8 MB, free: 8.695 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.873e-05/0.1981, allocations: 6.984 kB / 436.8 MB, free: 8.691 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.607e-06/0.1981, allocations: 13.41 kB / 436.9 MB, free: 8.684 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.642e-05/0.1981, allocations: 86.88 kB / 436.9 MB, free: 8.602 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1981, allocations: 0 / 436.9 MB, free: 8.602 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001041/0.1992, allocations: 0.6219 MB / 437.6 MB, free: 8.441 MB / 330.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.002162/0.2013, allocations: 1.928 MB / 439.5 MB, free: 7.316 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002447/0.2016, allocations: 312.6 kB / 439.8 MB, free: 7.152 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.2016, allocations: 0 / 439.8 MB, free: 7.152 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.986e-05/0.2017, allocations: 173 kB / 440 MB, free: 7.051 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.202, allocations: 72.84 kB / 440 MB, free: 7.016 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.203, allocations: 0.6459 MB / 440.7 MB, free: 6.586 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.057e-05/0.2031, allocations: 99.44 kB / 440.8 MB, free: 6.496 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.684e-05/0.2031, allocations: 21.95 kB / 440.8 MB, free: 6.484 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.079e-05/0.2032, allocations: 45.98 kB / 440.8 MB, free: 6.453 MB / 330.7 MB Notification: Performance of SimCode: time 9.02e-07/0.2032, allocations: 0 / 440.8 MB, free: 6.453 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.035/0.2382, allocations: 28.25 MB / 469.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.362/7.6, allocations: 6.594 kB / 469.1 MB, free: 10.86 MB / 362.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.70596117619425] Failed to read output from testmodel.py, exit status != 0: 7.6950060473755 7.70504154 7.513973829 Calling exit ...