Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.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.001025/0.001025, 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.001153/0.001153, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8696/0.8696, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.02978/0.02978, allocations: 7.51 MB / 266.7 MB, free: 6.211 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.EthanolTestModel2,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_EthanolTestModel2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_EthanolTestModel2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 3.938 kB / 391.8 MB, free: 6.309 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.924e-05/2.089e-05, allocations: 6.281 kB / 391.8 MB, free: 6.301 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2): time 0.3236/0.3236, allocations: 174.6 MB / 0.5531 GB, free: 14.65 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.3349/0.6585, allocations: 125.6 MB / 0.6757 GB, free: 204 kB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007596/0.6593, allocations: 17.09 kB / 0.6758 GB, free: 200 kB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.002798/0.6621, allocations: 1.264 MB / 0.677 GB, free: 84 kB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.003351/0.6654, allocations: 1.672 MB / 0.6786 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.07978/0.7452, allocations: 41.26 MB / 0.7189 GB, free: 6.594 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002465/0.7477, allocations: 1.958 MB / 0.7208 GB, free: 5.957 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003008/0.748, allocations: 127.4 kB / 0.721 GB, free: 5.914 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001778/0.7498, allocations: 1.153 MB / 0.7221 GB, free: 5.594 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005603/0.7503, allocations: 481.2 kB / 0.7225 GB, free: 5.445 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 6.29e-05/0.7504, allocations: 62.86 kB / 0.7226 GB, free: 5.445 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04771/0.7981, allocations: 31.73 MB / 0.7536 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0003365/0.7984, allocations: 183 kB / 0.7538 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0006761/0.7991, allocations: 308 kB / 0.7541 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.04615/0.8453, allocations: 19.32 MB / 0.7729 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.84e-06/0.8453, allocations: 0 / 0.7729 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.894e-06/0.8453, allocations: 0 / 0.7729 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.214e-05/0.8453, allocations: 0 / 0.7729 GB, free: 13.35 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.007422/0.8527, allocations: 3.393 MB / 0.7762 GB, free: 9.934 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.8528, allocations: 8.031 kB / 0.7762 GB, free: 9.926 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.694e-05/0.8529, allocations: 110.5 kB / 0.7763 GB, free: 9.809 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000553/0.8534, allocations: 127.4 kB / 0.7765 GB, free: 9.684 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005581/0.854, allocations: 347.5 kB / 0.7768 GB, free: 9.344 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.169e-05/0.854, allocations: 45 kB / 0.7768 GB, free: 9.301 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.492e-05/0.8541, allocations: 48 kB / 0.7769 GB, free: 9.254 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.8553, allocations: 1.031 MB / 0.7779 GB, free: 8.152 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.8553, allocations: 3.281 kB / 0.7779 GB, free: 8.152 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.758e-05/0.8553, allocations: 23.94 kB / 0.7779 GB, free: 8.129 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.314e-05/0.8553, allocations: 24.45 kB / 0.7779 GB, free: 8.109 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.8564, allocations: 0.7597 MB / 0.7787 GB, free: 7.359 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002682/0.8591, allocations: 2.295 MB / 0.7809 GB, free: 5.043 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009688/0.86, allocations: 0.6402 MB / 0.7816 GB, free: 4.395 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000453/0.8605, allocations: 455.1 kB / 0.782 GB, free: 3.949 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1344/0.9949, allocations: 58.72 MB / 0.8393 GB, free: 9.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.412e-05/0.995, allocations: 39.06 kB / 0.8394 GB, free: 9.273 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=109): time 4.248e-06/0.995, allocations: 0 / 0.8394 GB, free: 9.273 MB / 0.6198 GB Notification: Performance of matching and sorting (n=117): time 0.005674/1.001, allocations: 3.355 MB / 0.8426 GB, free: 5.895 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/1.001, allocations: 55.91 kB / 0.8427 GB, free: 5.828 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/1.001, allocations: 316.4 kB / 0.843 GB, free: 5.508 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/1.001, allocations: 37.7 kB / 0.843 GB, free: 5.465 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/1.001, allocations: 225.5 kB / 0.8433 GB, free: 5.238 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001709/1.001, allocations: 395.4 kB / 0.8436 GB, free: 4.859 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003792/1.002, allocations: 146.2 kB / 0.8438 GB, free: 4.711 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.736e-05/1.002, allocations: 366.8 kB / 0.8441 GB, free: 4.344 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004131/1.002, allocations: 409.8 kB / 0.8445 GB, free: 3.941 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004716/1.003, allocations: 0.5428 MB / 0.845 GB, free: 3.359 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000951/1.004, allocations: 1.006 MB / 0.846 GB, free: 2.316 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.004, allocations: 4 kB / 0.846 GB, free: 2.312 MB / 0.6198 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001326/1.005, allocations: 1.156 MB / 0.8472 GB, free: 1.168 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/1.005, allocations: 8 kB / 0.8472 GB, free: 1.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/1.005, allocations: 4.469 kB / 0.8472 GB, free: 1.156 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002459/1.005, allocations: 105.4 kB / 0.8473 GB, free: 1.047 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000564/1.006, allocations: 197.4 kB / 0.8475 GB, free: 0.8594 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2305/1.236, allocations: 35.01 MB / 0.8816 GB, free: 301.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000428/1.237, allocations: 45.31 kB / 0.8817 GB, free: 301.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.001e-05/1.237, allocations: 23.12 kB / 0.8817 GB, free: 301.9 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 12 (volume1.medium.sat.vap.phase,volume1.medium.sat.liq.phase,volume1.medium.state.phase,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 (73): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * 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): 4 systems {1, 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002699/1.237, allocations: 220 kB / 0.8819 GB, free: 301.8 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.493e-05/1.237, allocations: 63.77 kB / 0.882 GB, free: 301.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001778/1.239, allocations: 2.436 MB / 0.8844 GB, free: 300.7 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.91e-05/1.239, allocations: 19.88 kB / 0.8844 GB, free: 300.7 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/1.239, allocations: 3.062 kB / 0.8844 GB, free: 300.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001145/1.24, allocations: 1.695 MB / 0.886 GB, free: 299.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002184/1.242, allocations: 2.413 MB / 0.8884 GB, free: 298.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/1.242, allocations: 0 / 0.8884 GB, free: 298.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002553/1.242, allocations: 118.6 kB / 0.8885 GB, free: 298.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002664/1.243, allocations: 210.8 kB / 0.8887 GB, free: 298.6 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/1.243, allocations: 17.67 kB / 0.8887 GB, free: 298.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001181/1.244, allocations: 3.784 MB / 0.8924 GB, free: 294.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/1.244, allocations: 0 / 0.8924 GB, free: 294.9 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00167/1.246, allocations: 2.025 MB / 0.8944 GB, free: 294 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/1.246, allocations: 60.77 kB / 0.8945 GB, free: 293.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.638e-05/1.246, allocations: 15.31 kB / 0.8945 GB, free: 293.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/1.246, allocations: 33.11 kB / 0.8945 GB, free: 293.9 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/1.246, allocations: 60.95 kB / 0.8946 GB, free: 293.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/1.246, allocations: 21.8 kB / 0.8946 GB, free: 293.9 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001751/1.246, allocations: 265.2 kB / 0.8948 GB, free: 293.8 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/1.246, allocations: 0 / 0.8948 GB, free: 293.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.01393/1.26, allocations: 5.547 MB / 0.9003 GB, free: 293.5 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 14 ($cse13.phase,$cse16.phase,$cse17.phase,$cse18.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,volume1.medium.state.phase,volume1.medium.sat.liq.phase,volume1.medium.sat.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (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.02742/1.288, allocations: 9.776 MB / 0.9098 GB, free: 290.9 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002101/1.29, allocations: 1.527 MB / 0.9113 GB, free: 290.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/1.29, allocations: 0 / 0.9113 GB, free: 290.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006792/1.29, allocations: 0.7888 MB / 0.9121 GB, free: 289.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/1.292, allocations: 0.5226 MB / 0.9126 GB, free: 289.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01394/1.306, allocations: 8.689 MB / 0.9211 GB, free: 285 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/1.306, allocations: 337 kB / 0.9214 GB, free: 284.9 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005724/1.307, allocations: 186.3 kB / 0.9216 GB, free: 284.9 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002451/1.307, allocations: 255.5 kB / 0.9218 GB, free: 284.7 MB / 0.6355 GB Notification: Performance of SimCode: time 1.653e-06/1.307, allocations: 0 / 0.9218 GB, free: 284.7 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2124/1.519, allocations: 214.5 MB / 1.131 GB, free: 75.93 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/14.31, allocations: 2.75 kB / 1.131 GB, free: 75.93 MB / 0.6355 GB " [Timeout remaining time 645] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2_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_EthanolTestModel2.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.273725452832878] Failed to read output from testmodel.py, exit status != 0: 14.508927412331104 14.516594458 13.669636611 Calling exit ...