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.00127/0.00127, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001452/0.001452, allocations: 211.2 kB / 22.24 MB, free: 5.242 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.342/1.342, allocations: 230.6 MB / 256 MB, free: 7.801 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.04816/0.04816, allocations: 9.137 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.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.001902/0.001902, allocations: 71.88 kB / 446.6 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1023, allocations: 54.94 MB / 0.4897 GB, free: 9.508 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel): time 0.3235/0.4259, allocations: 114.9 MB / 0.6019 GB, free: 13.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1035/0.5294, allocations: 98.6 MB / 0.6982 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005369/0.5299, allocations: 7.938 kB / 0.6982 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003073/0.533, allocations: 1.237 MB / 0.6994 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00388/0.5369, allocations: 1.563 MB / 0.701 GB, free: 7.391 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.3317/0.8686, allocations: 31.06 MB / 0.7313 GB, free: 22.38 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001785/0.8704, allocations: 1.42 MB / 0.7327 GB, free: 22.38 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002062/0.8706, allocations: 72.38 kB / 0.7327 GB, free: 22.36 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01612/0.8867, allocations: 10.82 MB / 0.7433 GB, free: 22.21 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004817/0.8872, allocations: 375.6 kB / 0.7437 GB, free: 22.21 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.084e-05/0.8872, allocations: 43.03 kB / 0.7437 GB, free: 22.21 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03891/0.9261, allocations: 23.85 MB / 0.767 GB, free: 22.16 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002556/0.9264, allocations: 121.9 kB / 0.7671 GB, free: 22.16 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005416/0.9269, allocations: 249.1 kB / 0.7673 GB, free: 22.16 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.03269/0.9596, allocations: 12.21 MB / 0.7793 GB, free: 21.38 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.9596, allocations: 0 / 0.7793 GB, free: 21.38 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.164e-06/0.9596, allocations: 3.344 kB / 0.7793 GB, free: 21.38 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.9597, allocations: 0 / 0.7793 GB, free: 21.38 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.005919/0.9656, allocations: 2.588 MB / 0.7818 GB, free: 19.78 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.9656, allocations: 8.375 kB / 0.7818 GB, free: 19.78 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.075e-05/0.9657, allocations: 89.89 kB / 0.7819 GB, free: 19.73 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005977/0.9663, allocations: 94.53 kB / 0.782 GB, free: 19.69 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003766/0.9667, allocations: 282.1 kB / 0.7823 GB, free: 19.5 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.404e-05/0.9667, allocations: 30.88 kB / 0.7823 GB, free: 19.5 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.604e-05/0.9667, allocations: 30.41 kB / 0.7823 GB, free: 19.5 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.9679, allocations: 0.7638 MB / 0.7831 GB, free: 19.12 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.9679, allocations: 0 / 0.7831 GB, free: 19.12 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.551e-05/0.9679, allocations: 18.89 kB / 0.7831 GB, free: 19.11 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.9679, allocations: 17.36 kB / 0.7831 GB, free: 19.11 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.9691, allocations: 0.5533 MB / 0.7836 GB, free: 19.01 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00182/0.9709, allocations: 1.727 MB / 0.7853 GB, free: 18.03 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008978/0.9718, allocations: 469.3 kB / 0.7858 GB, free: 17.94 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000433/0.9722, allocations: 316.3 kB / 0.7861 GB, free: 17.9 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.19/1.162, allocations: 44.04 MB / 0.8291 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.551e-05/1.162, allocations: 34.38 kB / 0.8291 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=77): time 2.575e-06/1.162, allocations: 0 / 0.8291 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=81): time 0.006105/1.168, allocations: 2.257 MB / 0.8313 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/1.168, allocations: 57.38 kB / 0.8314 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003187/1.169, allocations: 271.5 kB / 0.8316 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.268e-05/1.169, allocations: 33.45 kB / 0.8317 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/1.169, allocations: 187.2 kB / 0.8318 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002263/1.169, allocations: 281 kB / 0.8321 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/1.169, allocations: 103.9 kB / 0.8322 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001628/1.169, allocations: 350.3 kB / 0.8325 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000521/1.17, allocations: 285.6 kB / 0.8328 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006126/1.171, allocations: 402.8 kB / 0.8332 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/1.172, allocations: 0.7182 MB / 0.8339 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/1.172, allocations: 4 kB / 0.8339 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001524/1.173, allocations: 0.8152 MB / 0.8347 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/1.173, allocations: 4 kB / 0.8347 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/1.173, allocations: 4 kB / 0.8347 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000247/1.174, allocations: 64.36 kB / 0.8348 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007176/1.174, allocations: 153.8 kB / 0.8349 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07042/1.245, allocations: 18.22 MB / 0.8527 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004311/1.245, allocations: 27.98 kB / 0.8527 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.007e-05/1.245, allocations: 19.92 kB / 0.8528 GB, free: 9.441 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.0003032/1.245, allocations: 187.9 kB / 0.8529 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/1.246, allocations: 54.56 kB / 0.853 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002288/1.248, allocations: 1.743 MB / 0.8547 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.477e-05/1.248, allocations: 18.53 kB / 0.8547 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/1.248, allocations: 4 kB / 0.8547 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001671/1.25, allocations: 1.327 MB / 0.856 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002395/1.252, allocations: 1.706 MB / 0.8577 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/1.252, allocations: 0 / 0.8577 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003323/1.252, allocations: 79.05 kB / 0.8578 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003633/1.253, allocations: 168.4 kB / 0.8579 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.979e-05/1.253, allocations: 11.12 kB / 0.8579 GB, free: 5.477 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001817/1.255, allocations: 2.461 MB / 0.8603 GB, free: 2.996 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/1.255, allocations: 4.031 kB / 0.8603 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002169/1.257, allocations: 1.409 MB / 0.8617 GB, free: 2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/1.257, allocations: 48.38 kB / 0.8618 GB, free: 1.957 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.359e-05/1.257, allocations: 5.375 kB / 0.8618 GB, free: 1.957 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003186/1.257, allocations: 30.09 kB / 0.8618 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/1.257, allocations: 45.41 kB / 0.8618 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.964e-05/1.257, allocations: 16 kB / 0.8618 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002535/1.258, allocations: 224.3 kB / 0.8621 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/1.258, allocations: 0 / 0.8621 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01002/1.268, allocations: 3.573 MB / 0.8655 GB, free: 14.24 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.02136/1.289, allocations: 6.228 MB / 0.8716 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002591/1.292, allocations: 1.012 MB / 0.8726 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/1.292, allocations: 4 kB / 0.8726 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009359/1.292, allocations: 497.2 kB / 0.8731 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002037/1.295, allocations: 400.9 kB / 0.8735 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01571/1.31, allocations: 6.354 MB / 0.8797 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/1.311, allocations: 250.2 kB / 0.8799 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005127/1.311, allocations: 139 kB / 0.8801 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002441/1.311, allocations: 171.8 kB / 0.8802 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of SimCode: time 1.052e-06/1.311, allocations: 1.094 kB / 0.8802 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4372/1.748, allocations: 135.1 MB / 1.012 GB, free: 247.3 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.99/18.74, allocations: 7.828 kB / 1.012 GB, free: 247.3 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsopentaneTestModel_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsopentaneTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 71.41085548559204] Failed to read output from testmodel.py, exit status != 0: 18.953169093932956 18.971448613 18.009374824 Calling exit ...