Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.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.0008386/0.0008386, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009303/0.0009303, 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.865/0.865, 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.02955/0.02955, allocations: 7.515 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.MediaTestModels.EthanolTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_EthanolTestModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_EthanolTestModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 391.8 MB, free: 5.113 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.32e-05/2.546e-05, allocations: 2.281 kB / 391.8 MB, free: 5.109 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel): time 0.2146/0.2146, allocations: 113.7 MB / 0.4937 GB, free: 8.84 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.2696/0.4842, allocations: 97.14 MB / 0.5885 GB, free: 496 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000507/0.4848, allocations: 11.12 kB / 0.5885 GB, free: 496 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002039/0.4868, allocations: 0.9408 MB / 0.5894 GB, free: 492 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00236/0.4892, allocations: 1.122 MB / 0.5905 GB, free: 484 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.05075/0.5399, allocations: 30.93 MB / 0.6207 GB, free: 12.89 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001607/0.5415, allocations: 1.392 MB / 0.6221 GB, free: 12.56 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002144/0.5417, allocations: 88.12 kB / 0.6222 GB, free: 12.54 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01186/0.5536, allocations: 12.58 MB / 0.6345 GB, free: 9.91 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003532/0.5539, allocations: 340.5 kB / 0.6348 GB, free: 9.809 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.418e-05/0.554, allocations: 41.28 kB / 0.6348 GB, free: 9.809 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0336/0.5876, allocations: 23.81 MB / 0.6581 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002437/0.5878, allocations: 125 kB / 0.6582 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.00049/0.5883, allocations: 216.7 kB / 0.6584 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.03048/0.6188, allocations: 14.48 MB / 0.6726 GB, free: 4.867 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.6188, allocations: 0 / 0.6726 GB, free: 4.867 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.945e-06/0.6188, allocations: 4 kB / 0.6726 GB, free: 4.863 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.6188, allocations: 0 / 0.6726 GB, free: 4.863 MB / 0.4948 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.004918/0.6237, allocations: 2.585 MB / 0.6751 GB, free: 2.355 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.6238, allocations: 12.62 kB / 0.6751 GB, free: 2.344 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.425e-05/0.6238, allocations: 82.08 kB / 0.6752 GB, free: 2.281 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003423/0.6242, allocations: 95.62 kB / 0.6753 GB, free: 2.188 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003972/0.6246, allocations: 270.8 kB / 0.6755 GB, free: 1.957 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.988e-05/0.6246, allocations: 34.72 kB / 0.6756 GB, free: 1.938 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.06e-05/0.6247, allocations: 34.75 kB / 0.6756 GB, free: 1.914 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008128/0.6255, allocations: 0.76 MB / 0.6763 GB, free: 1.285 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.6255, allocations: 7.375 kB / 0.6763 GB, free: 1.281 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.679e-05/0.6255, allocations: 14.69 kB / 0.6764 GB, free: 1.277 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.6255, allocations: 17.88 kB / 0.6764 GB, free: 1.266 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007062/0.6262, allocations: 0.5543 MB / 0.6769 GB, free: 0.8789 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001424/0.6277, allocations: 1.708 MB / 0.6786 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006304/0.6283, allocations: 484.3 kB / 0.6791 GB, free: 15.19 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002895/0.6286, allocations: 318.1 kB / 0.6794 GB, free: 15 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09553/0.7241, allocations: 44.05 MB / 0.7224 GB, free: 3.461 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/0.7241, allocations: 40.91 kB / 0.7224 GB, free: 3.414 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=79): time 2.655e-06/0.7241, allocations: 0 / 0.7224 GB, free: 3.414 MB / 0.5417 GB Notification: Performance of matching and sorting (n=83): time 0.003605/0.7278, allocations: 2.238 MB / 0.7246 GB, free: 1.148 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.7278, allocations: 59.34 kB / 0.7246 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.728, allocations: 257.8 kB / 0.7249 GB, free: 0.8164 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.728, allocations: 29.7 kB / 0.7249 GB, free: 0.7812 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002379/0.7282, allocations: 190 kB / 0.7251 GB, free: 0.5898 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.7284, allocations: 278.9 kB / 0.7254 GB, free: 328 kB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.38e-05/0.7285, allocations: 101.5 kB / 0.7255 GB, free: 224 kB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.7286, allocations: 350.8 kB / 0.7258 GB, free: 15.87 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002884/0.7289, allocations: 281.3 kB / 0.7261 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003374/0.7292, allocations: 405 kB / 0.7265 GB, free: 15.15 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006523/0.7298, allocations: 0.7345 MB / 0.7272 GB, free: 14.39 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.7298, allocations: 0 / 0.7272 GB, free: 14.39 MB / 0.5573 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0008644/0.7307, allocations: 0.8101 MB / 0.728 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.7307, allocations: 15.94 kB / 0.728 GB, free: 13.58 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.7307, allocations: 4 kB / 0.728 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001599/0.7309, allocations: 61.67 kB / 0.728 GB, free: 13.51 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.7311, allocations: 97.84 kB / 0.7281 GB, free: 13.42 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03335/0.7645, allocations: 16.99 MB / 0.7447 GB, free: 11.89 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002401/0.7647, allocations: 31.91 kB / 0.7448 GB, free: 11.86 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.7647, allocations: 20 kB / 0.7448 GB, free: 11.84 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002026/0.7649, allocations: 197.5 kB / 0.745 GB, free: 11.65 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.214e-05/0.765, allocations: 47.66 kB / 0.745 GB, free: 11.6 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001404/0.7664, allocations: 1.583 MB / 0.7466 GB, free: 9.953 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.7664, allocations: 19.53 kB / 0.7466 GB, free: 9.938 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.7664, allocations: 0 / 0.7466 GB, free: 9.938 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008216/0.7672, allocations: 1.173 MB / 0.7477 GB, free: 8.68 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00134/0.7686, allocations: 1.547 MB / 0.7492 GB, free: 7.086 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.7686, allocations: 0 / 0.7492 GB, free: 7.086 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.7688, allocations: 93.25 kB / 0.7493 GB, free: 7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001127/0.7689, allocations: 36.81 kB / 0.7494 GB, free: 6.961 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.7689, allocations: 12 kB / 0.7494 GB, free: 6.949 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006291/0.7695, allocations: 1.316 MB / 0.7507 GB, free: 5.523 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.7695, allocations: 0 / 0.7507 GB, free: 5.523 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.7706, allocations: 1.212 MB / 0.7518 GB, free: 4.289 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.858e-05/0.7706, allocations: 43.67 kB / 0.7519 GB, free: 4.246 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.059e-05/0.7707, allocations: 8 kB / 0.7519 GB, free: 4.238 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.7708, allocations: 31.91 kB / 0.7519 GB, free: 4.207 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.944e-05/0.7709, allocations: 43.11 kB / 0.752 GB, free: 4.168 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.7709, allocations: 16.05 kB / 0.752 GB, free: 4.152 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001726/0.7711, allocations: 247 kB / 0.7522 GB, free: 3.91 MB / 0.573 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7711, allocations: 0 / 0.7522 GB, free: 3.91 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006969/0.7781, allocations: 3.572 MB / 0.7557 GB, free: 336 kB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 9 ($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 (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0114/0.7895, allocations: 6.627 MB / 0.7622 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001096/0.7906, allocations: 0.917 MB / 0.7631 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.7906, allocations: 0 / 0.7631 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0004603/0.791, allocations: 477.3 kB / 0.7635 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.792, allocations: 397.8 kB / 0.7639 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00664/0.7987, allocations: 6.362 MB / 0.7701 GB, free: 1.824 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001514/0.7988, allocations: 250.3 kB / 0.7704 GB, free: 1.551 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0002928/0.7991, allocations: 161.4 kB / 0.7705 GB, free: 1.398 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/0.7993, allocations: 168.5 kB / 0.7707 GB, free: 1.234 MB / 0.5886 GB Notification: Performance of SimCode: time 5.31e-07/0.7993, allocations: 0 / 0.7707 GB, free: 1.234 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2936/1.093, allocations: 135 MB / 0.9025 GB, free: 218.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.88, allocations: 7.797 kB / 0.9025 GB, free: 218.2 MB / 0.6198 GB " [Timeout remaining time 648] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_EthanolTestModel_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_EthanolTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.14614254143089] Failed to read output from testmodel.py, exit status != 0: 12.038113005459309 12.046724452 11.426357188999999 Calling exit ...