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.001909/0.001909, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.002203/0.002203, allocations: 220.3 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.438/1.438, allocations: 207.6 MB / 233 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05235/0.05235, allocations: 9.161 MB / 294.4 MB, free: 12.7 MB / 238.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00222/0.00222, allocations: 72.25 kB / 411.1 MB, free: 46.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07597/0.07819, allocations: 50.76 MB / 461.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.idealGasLimit): time 0.02166/0.09985, allocations: 17.31 MB / 479.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01029/0.1101, allocations: 9.374 MB / 488.5 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.368e-05/0.1102, allocations: 4 kB / 488.5 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009537/0.1112, allocations: 411.6 kB / 488.9 MB, free: 1.527 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeBindings: time 0.01103/0.1222, allocations: 4.608 MB / 493.5 MB, free: 12.9 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.671e-05/0.1222, allocations: 4 kB / 493.5 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002615/0.1225, allocations: 147.1 kB / 493.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.248e-05/0.1226, allocations: 5.312 kB / 493.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.1227, allocations: 63.66 kB / 493.7 MB, free: 12.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.525e-05/0.1228, allocations: 51.73 kB / 493.8 MB, free: 12.63 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.1228, allocations: 0 / 493.8 MB, free: 12.63 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01349/0.1363, allocations: 8.02 MB / 0.49 GB, free: 4.598 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.732e-05/0.1363, allocations: 19.86 kB / 0.4901 GB, free: 4.578 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.1364, allocations: 55.67 kB / 0.4901 GB, free: 4.523 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007765/0.1442, allocations: 3.281 MB / 0.4933 GB, free: 1.234 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1442, allocations: 4 kB / 0.4933 GB, free: 1.23 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1442, allocations: 0 / 0.4933 GB, free: 1.23 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.1442, allocations: 0 / 0.4933 GB, free: 1.23 MB / 366.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.001436/0.1457, allocations: 0.647 MB / 0.494 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.1457, allocations: 15.98 kB / 0.494 GB, free: 0.5352 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.707e-05/0.1457, allocations: 46.55 kB / 0.494 GB, free: 492 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.1459, allocations: 23.83 kB / 0.494 GB, free: 468 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.146, allocations: 125 kB / 0.4942 GB, free: 316 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.146, allocations: 4 kB / 0.4942 GB, free: 312 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.146, allocations: 8 kB / 0.4942 GB, free: 304 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002784/0.1463, allocations: 194.4 kB / 0.4944 GB, free: 104 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.1463, allocations: 0 / 0.4944 GB, free: 104 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.1463, allocations: 0 / 0.4944 GB, free: 104 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/0.1463, allocations: 11.98 kB / 0.4944 GB, free: 92 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003179/0.1466, allocations: 260.2 kB / 0.4946 GB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003103/0.147, allocations: 269.8 kB / 0.4949 GB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002516/0.1472, allocations: 190.7 kB / 0.4951 GB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/0.1474, allocations: 157.1 kB / 0.4952 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01027/0.1577, allocations: 1.991 MB / 0.4972 GB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.1577, allocations: 38.56 kB / 0.4972 GB, free: 13.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 1.773e-06/0.1577, allocations: 3.938 kB / 0.4972 GB, free: 13.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=39): time 0.0006957/0.1584, allocations: 0.4899 MB / 0.4977 GB, free: 12.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.1584, allocations: 59.34 kB / 0.4977 GB, free: 12.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.1585, allocations: 109.8 kB / 0.4978 GB, free: 12.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.1585, allocations: 25.7 kB / 0.4979 GB, free: 12.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.816e-05/0.1586, allocations: 92.78 kB / 0.4979 GB, free: 12.31 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.1587, allocations: 130.8 kB / 0.4981 GB, free: 12.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.849e-05/0.1588, allocations: 45.66 kB / 0.4981 GB, free: 12.13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.1589, allocations: 318.8 kB / 0.4984 GB, free: 11.81 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.1591, allocations: 124 kB / 0.4985 GB, free: 11.69 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.1592, allocations: 153.5 kB / 0.4987 GB, free: 11.53 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003789/0.1596, allocations: 287.2 kB / 0.499 GB, free: 11.24 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.1596, allocations: 0 / 0.499 GB, free: 11.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004383/0.1601, allocations: 334.7 kB / 0.4993 GB, free: 10.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.1601, allocations: 6.344 kB / 0.4993 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.1601, allocations: 4 kB / 0.4993 GB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.1601, allocations: 0 / 0.4993 GB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.1602, allocations: 31.92 kB / 0.4993 GB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.1602, allocations: 0 / 0.4993 GB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.421e-05/0.1603, allocations: 15.84 kB / 0.4993 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.1603, allocations: 4.031 kB / 0.4993 GB, free: 10.85 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 0.0001123/0.1604, allocations: 125.8 kB / 0.4995 GB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.914e-05/0.1605, allocations: 11.91 kB / 0.4995 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005955/0.1611, allocations: 389.1 kB / 0.4998 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.1611, allocations: 3.984 kB / 0.4998 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1611, allocations: 0 / 0.4998 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.1611, allocations: 0 / 0.4998 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003229/0.1614, allocations: 277 kB / 0.5001 GB, free: 10 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-06/0.1614, allocations: 8 kB / 0.5001 GB, free: 9.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.474e-05/0.1615, allocations: 19.98 kB / 0.5001 GB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1615, allocations: 0 / 0.5001 GB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.1615, allocations: 8 kB / 0.5001 GB, free: 9.965 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1615, allocations: 0 / 0.5001 GB, free: 9.965 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1615, allocations: 0 / 0.5001 GB, free: 9.965 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005104/0.1621, allocations: 449.7 kB / 0.5006 GB, free: 9.508 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.769e-05/0.1621, allocations: 31.83 kB / 0.5006 GB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.1621, allocations: 4 kB / 0.5006 GB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.063e-05/0.1622, allocations: 4 kB / 0.5006 GB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.282e-05/0.1623, allocations: 7.984 kB / 0.5006 GB, free: 9.461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.1623, allocations: 4 kB / 0.5006 GB, free: 9.457 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.742e-05/0.1623, allocations: 87.27 kB / 0.5007 GB, free: 9.371 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1623, allocations: 0 / 0.5007 GB, free: 9.371 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001715/0.164, allocations: 0.6231 MB / 0.5013 GB, free: 8.746 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.003574/0.1676, allocations: 1.882 MB / 0.5031 GB, free: 6.832 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004343/0.168, allocations: 309.5 kB / 0.5034 GB, free: 6.523 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.168, allocations: 0 / 0.5034 GB, free: 6.523 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001957/0.1682, allocations: 177.6 kB / 0.5036 GB, free: 6.344 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005508/0.1688, allocations: 63.86 kB / 0.5037 GB, free: 6.281 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.1703, allocations: 0.6712 MB / 0.5043 GB, free: 5.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/0.1707, allocations: 0.717 MB / 0.505 GB, free: 4.828 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.865e-05/0.1707, allocations: 16.38 kB / 0.505 GB, free: 4.812 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.105e-05/0.1708, allocations: 43.42 kB / 0.5051 GB, free: 4.77 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1708, allocations: 0 / 0.5051 GB, free: 4.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2454/0.4162, allocations: 27.54 MB / 0.532 GB, free: 54.58 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/12.66, allocations: 10.41 kB / 0.532 GB, free: 54.58 MB / 398.1 MB " [Timeout remaining time 647] (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.547018145996844] Failed to read output from testmodel.py, exit status != 0: 12.783243263002078 12.796157616 12.649258995 Calling exit ...