Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.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.001287/0.001287, 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.001576/0.001576, allocations: 214.2 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.364/1.364, 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.04919/0.04919, allocations: 9.138 MB / 321.6 MB, free: 10.2 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.MediaTestModels.IsopentaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsopentaneTestModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsopentaneTestModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 63.91 kB / 446.6 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09382/0.09574, allocations: 54.95 MB / 0.4897 GB, free: 9.473 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel): time 0.3101/0.4058, allocations: 114.9 MB / 0.6019 GB, free: 13.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1037/0.5095, allocations: 98.6 MB / 0.6982 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005618/0.5101, allocations: 11.94 kB / 0.6982 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003035/0.5131, allocations: 1.23 MB / 0.6994 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003454/0.5166, allocations: 1.571 MB / 0.701 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.3132/0.8298, allocations: 31.05 MB / 0.7313 GB, free: 21.89 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001656/0.8314, allocations: 1.417 MB / 0.7327 GB, free: 21.89 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002047/0.8317, allocations: 81.64 kB / 0.7327 GB, free: 21.88 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01501/0.8467, allocations: 10.82 MB / 0.7433 GB, free: 21.73 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004528/0.8471, allocations: 377.7 kB / 0.7437 GB, free: 21.73 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.826e-05/0.8472, allocations: 44.03 kB / 0.7437 GB, free: 21.73 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03746/0.8846, allocations: 23.85 MB / 0.767 GB, free: 21.68 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002146/0.8848, allocations: 121.9 kB / 0.7671 GB, free: 21.68 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004832/0.8853, allocations: 251.3 kB / 0.7674 GB, free: 21.68 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.02887/0.9142, allocations: 12.21 MB / 0.7793 GB, free: 20.88 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.9142, allocations: 0 / 0.7793 GB, free: 20.88 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.402e-06/0.9142, allocations: 0 / 0.7793 GB, free: 20.88 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.398e-06/0.9142, allocations: 0 / 0.7793 GB, free: 20.88 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.005616/0.9198, allocations: 2.586 MB / 0.7818 GB, free: 19.29 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.9199, allocations: 9.344 kB / 0.7818 GB, free: 19.29 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.904e-05/0.9199, allocations: 83.42 kB / 0.7819 GB, free: 19.24 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005898/0.9205, allocations: 91.66 kB / 0.782 GB, free: 19.2 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004168/0.9209, allocations: 286.3 kB / 0.7823 GB, free: 19.01 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.181e-05/0.921, allocations: 34.94 kB / 0.7823 GB, free: 19 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.55e-05/0.921, allocations: 30.59 kB / 0.7823 GB, free: 19 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/0.9221, allocations: 0.7622 MB / 0.7831 GB, free: 18.63 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.9221, allocations: 1.969 kB / 0.7831 GB, free: 18.63 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.244e-05/0.9221, allocations: 13.47 kB / 0.7831 GB, free: 18.63 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.9221, allocations: 24.25 kB / 0.7831 GB, free: 18.62 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.9233, allocations: 0.5522 MB / 0.7836 GB, free: 18.52 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001809/0.9251, allocations: 1.726 MB / 0.7853 GB, free: 17.54 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008648/0.9259, allocations: 467.4 kB / 0.7858 GB, free: 17.45 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004205/0.9263, allocations: 319.1 kB / 0.7861 GB, free: 17.41 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1928/1.119, allocations: 44.04 MB / 0.8291 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.613e-05/1.119, allocations: 38.44 kB / 0.8291 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=77): time 2.525e-06/1.119, allocations: 3.484 kB / 0.8291 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of matching and sorting (n=81): time 0.006301/1.126, allocations: 2.246 MB / 0.8313 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/1.126, allocations: 55.41 kB / 0.8314 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003001/1.126, allocations: 268.4 kB / 0.8316 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.993e-05/1.126, allocations: 30.06 kB / 0.8317 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/1.126, allocations: 195.5 kB / 0.8318 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002344/1.126, allocations: 277.3 kB / 0.8321 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/1.126, allocations: 100.8 kB / 0.8322 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001723/1.127, allocations: 358.1 kB / 0.8325 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005102/1.127, allocations: 278.9 kB / 0.8328 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006132/1.128, allocations: 411.5 kB / 0.8332 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/1.129, allocations: 0.7134 MB / 0.8339 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/1.129, allocations: 0 / 0.8339 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001525/1.13, allocations: 0.8193 MB / 0.8347 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/1.13, allocations: 14.39 kB / 0.8347 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/1.13, allocations: 0 / 0.8347 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002481/1.131, allocations: 57.25 kB / 0.8348 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007277/1.131, allocations: 155.2 kB / 0.8349 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0712/1.203, allocations: 18.23 MB / 0.8527 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004696/1.203, allocations: 30.22 kB / 0.8527 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.097e-05/1.203, allocations: 19.81 kB / 0.8528 GB, free: 8.988 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 9 (ambient.medium.sat.vap.phase,ambient.medium.sat.liq.phase,ambient.medium.state.phase,fixedMassFlowRate.medium.sat.vap.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.state.phase,volume.medium.sat.vap.phase,volume.medium.sat.liq.phase,volume.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003411/1.204, allocations: 183.3 kB / 0.8529 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/1.204, allocations: 51.64 kB / 0.853 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002348/1.206, allocations: 1.751 MB / 0.8547 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/1.206, allocations: 11.3 kB / 0.8547 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/1.206, allocations: 3.938 kB / 0.8547 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001726/1.208, allocations: 1.321 MB / 0.856 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002534/1.21, allocations: 1.711 MB / 0.8577 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/1.21, allocations: 5.125 kB / 0.8577 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000334/1.211, allocations: 70.95 kB / 0.8577 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003587/1.211, allocations: 172.6 kB / 0.8579 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.12e-05/1.211, allocations: 15.23 kB / 0.8579 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001981/1.213, allocations: 2.462 MB / 0.8603 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/1.213, allocations: 0 / 0.8603 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002203/1.215, allocations: 1.415 MB / 0.8617 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/1.215, allocations: 43.62 kB / 0.8618 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.495e-05/1.215, allocations: 13.55 kB / 0.8618 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003201/1.216, allocations: 24.72 kB / 0.8618 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/1.216, allocations: 50.88 kB / 0.8618 GB, free: 1.438 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.779e-05/1.216, allocations: 11.44 kB / 0.8618 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002435/1.216, allocations: 225.7 kB / 0.8621 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/1.216, allocations: 0 / 0.8621 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009701/1.226, allocations: 3.569 MB / 0.8655 GB, free: 13.79 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 10 ($cse7.phase,$cse8.phase,$cse9.phase,volume.medium.state.phase,volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,fixedMassFlowRate.medium.state.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.sat.vap.phase,ambient.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02054/1.246, allocations: 6.225 MB / 0.8716 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002548/1.249, allocations: 1.017 MB / 0.8726 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.249, allocations: 0 / 0.8726 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008754/1.25, allocations: 498.8 kB / 0.8731 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002078/1.252, allocations: 414.1 kB / 0.8735 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01438/1.266, allocations: 6.347 MB / 0.8797 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/1.267, allocations: 250.1 kB / 0.8799 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004771/1.267, allocations: 133.5 kB / 0.8801 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000215/1.267, allocations: 166.5 kB / 0.8802 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of SimCode: time 7.91e-07/1.267, allocations: 0 / 0.8802 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4494/1.717, allocations: 135.1 MB / 1.012 GB, free: 247 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.2/18.92, allocations: 9.641 kB / 1.012 GB, free: 247 MB / 0.7012 GB " [Timeout remaining time 641] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsopentaneTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 24.548732890281826] Failed to read output from testmodel.py, exit status != 0: 19.11710480367765 19.130053484 18.213428714 Calling exit ...