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.0007127/0.0007127, allocations: 68.47 kB / 19.17 MB, free: 0.7344 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.0007725/0.0007725, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.8948/0.8948, 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.02902/0.02902, allocations: 7.519 MB / 266.7 MB, free: 6.195 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.552e-06/1.552e-06, allocations: 0 / 391.8 MB, free: 6.316 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.623e-05/1.778e-05, allocations: 4.953 kB / 391.8 MB, free: 6.312 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2): time 0.2651/0.2651, allocations: 174.6 MB / 0.5531 GB, free: 14.66 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.3912/0.6563, allocations: 125.6 MB / 0.6757 GB, free: 216 kB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006996/0.657, allocations: 14.97 kB / 0.6758 GB, free: 216 kB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.002565/0.6596, allocations: 1.268 MB / 0.677 GB, free: 100 kB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.002805/0.6624, allocations: 1.67 MB / 0.6786 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.07808/0.7405, allocations: 41.25 MB / 0.7189 GB, free: 6.613 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002649/0.7431, allocations: 1.962 MB / 0.7208 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003053/0.7435, allocations: 130.5 kB / 0.721 GB, free: 5.934 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001599/0.745, allocations: 1.147 MB / 0.7221 GB, free: 5.613 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006973/0.7457, allocations: 486.8 kB / 0.7225 GB, free: 5.465 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 7.729e-05/0.7458, allocations: 59.47 kB / 0.7226 GB, free: 5.465 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05095/0.7968, allocations: 31.73 MB / 0.7536 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0004861/0.7973, allocations: 180.8 kB / 0.7538 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0007459/0.798, allocations: 307.1 kB / 0.754 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.05153/0.8495, allocations: 19.32 MB / 0.7729 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.8495, allocations: 0 / 0.7729 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.382e-06/0.8495, allocations: 0 / 0.7729 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.297e-05/0.8496, allocations: 0 / 0.7729 GB, free: 13.38 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.006416/0.856, allocations: 3.4 MB / 0.7762 GB, free: 9.957 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.856, allocations: 8.031 kB / 0.7762 GB, free: 9.949 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.649e-05/0.8561, allocations: 106.5 kB / 0.7763 GB, free: 9.836 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004977/0.8566, allocations: 127.5 kB / 0.7765 GB, free: 9.711 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004726/0.8571, allocations: 356.6 kB / 0.7768 GB, free: 9.359 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.937e-05/0.8571, allocations: 45.88 kB / 0.7768 GB, free: 9.316 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.12e-05/0.8572, allocations: 44 kB / 0.7769 GB, free: 9.273 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.8583, allocations: 1.03 MB / 0.7779 GB, free: 8.176 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.8583, allocations: 4 kB / 0.7779 GB, free: 8.172 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.376e-05/0.8583, allocations: 19.94 kB / 0.7779 GB, free: 8.152 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.8584, allocations: 33.61 kB / 0.778 GB, free: 8.125 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.8594, allocations: 0.756 MB / 0.7787 GB, free: 7.379 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002182/0.8616, allocations: 2.289 MB / 0.7809 GB, free: 5.07 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008861/0.8624, allocations: 0.6523 MB / 0.7816 GB, free: 4.41 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004434/0.8629, allocations: 451.1 kB / 0.782 GB, free: 3.969 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1285/0.9914, allocations: 58.71 MB / 0.8393 GB, free: 9.348 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.088e-05/0.9915, allocations: 39.06 kB / 0.8394 GB, free: 9.301 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=109): time 2.194e-06/0.9915, allocations: 0 / 0.8394 GB, free: 9.301 MB / 0.6198 GB Notification: Performance of matching and sorting (n=117): time 0.0055/0.997, allocations: 3.358 MB / 0.8426 GB, free: 5.914 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.997, allocations: 58.53 kB / 0.8427 GB, free: 5.848 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/0.9972, allocations: 316.4 kB / 0.843 GB, free: 5.527 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/0.9973, allocations: 37.7 kB / 0.843 GB, free: 5.484 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.9974, allocations: 233 kB / 0.8433 GB, free: 5.254 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/0.9975, allocations: 392 kB / 0.8436 GB, free: 4.875 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.9977, allocations: 138.3 kB / 0.8438 GB, free: 4.734 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.9978, allocations: 366.8 kB / 0.8441 GB, free: 4.367 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004295/0.9982, allocations: 413.7 kB / 0.8445 GB, free: 3.961 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004928/0.9987, allocations: 0.5459 MB / 0.845 GB, free: 3.375 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000958/0.9997, allocations: 1.01 MB / 0.846 GB, free: 2.328 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.9997, allocations: 4 kB / 0.846 GB, free: 2.324 MB / 0.6198 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001254/1.001, allocations: 1.158 MB / 0.8472 GB, free: 1.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/1.001, allocations: 8 kB / 0.8472 GB, free: 1.172 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/1.001, allocations: 4.469 kB / 0.8472 GB, free: 1.168 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002176/1.001, allocations: 102.5 kB / 0.8473 GB, free: 1.059 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005174/1.002, allocations: 208.3 kB / 0.8475 GB, free: 0.8672 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2443/1.246, allocations: 34.98 MB / 0.8816 GB, free: 302 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003974/1.246, allocations: 40.66 kB / 0.8817 GB, free: 302 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.984e-05/1.246, allocations: 34.48 kB / 0.8817 GB, free: 302 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.0002468/1.247, allocations: 221.3 kB / 0.8819 GB, free: 301.8 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.505e-05/1.247, allocations: 62.41 kB / 0.882 GB, free: 301.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001643/1.248, allocations: 2.442 MB / 0.8844 GB, free: 300.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/1.248, allocations: 17.47 kB / 0.8844 GB, free: 300.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/1.248, allocations: 3.156 kB / 0.8844 GB, free: 300.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001138/1.25, allocations: 1.691 MB / 0.886 GB, free: 299.9 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/1.251, allocations: 2.416 MB / 0.8884 GB, free: 298.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/1.251, allocations: 0 / 0.8884 GB, free: 298.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002456/1.252, allocations: 119.8 kB / 0.8885 GB, free: 298.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002581/1.252, allocations: 210.2 kB / 0.8887 GB, free: 298.7 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/1.252, allocations: 15.25 kB / 0.8887 GB, free: 298.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001063/1.253, allocations: 3.771 MB / 0.8924 GB, free: 295 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.253, allocations: 3.531 kB / 0.8924 GB, free: 295 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/1.254, allocations: 2.031 MB / 0.8944 GB, free: 294 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.707e-05/1.255, allocations: 60.41 kB / 0.8945 GB, free: 294 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.203e-05/1.255, allocations: 15 kB / 0.8945 GB, free: 294 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/1.255, allocations: 34.27 kB / 0.8945 GB, free: 294 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.037e-05/1.255, allocations: 70.88 kB / 0.8946 GB, free: 294 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/1.255, allocations: 20.28 kB / 0.8946 GB, free: 294 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001481/1.255, allocations: 251.2 kB / 0.8948 GB, free: 293.8 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/1.255, allocations: 5.375 kB / 0.8948 GB, free: 293.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.01299/1.268, allocations: 5.54 MB / 0.9002 GB, free: 293.6 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.01946/1.287, allocations: 9.787 MB / 0.9098 GB, free: 290.9 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001821/1.289, allocations: 1.528 MB / 0.9113 GB, free: 290.2 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/1.289, allocations: 7.969 kB / 0.9113 GB, free: 290.2 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006267/1.29, allocations: 0.7915 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.001335/1.291, allocations: 0.5227 MB / 0.9126 GB, free: 289.6 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009679/1.301, allocations: 8.677 MB / 0.9211 GB, free: 285.1 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/1.301, allocations: 342.4 kB / 0.9214 GB, free: 285 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004083/1.302, allocations: 192.2 kB / 0.9216 GB, free: 284.9 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002138/1.302, allocations: 254 kB / 0.9218 GB, free: 284.7 MB / 0.6355 GB Notification: Performance of SimCode: time 1.152e-06/1.302, allocations: 0 / 0.9218 GB, free: 284.7 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2245/1.526, allocations: 213.6 MB / 1.13 GB, free: 76.77 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/14.11, allocations: 3.984 kB / 1.13 GB, free: 76.77 MB / 0.6355 GB " [Timeout remaining time 646] (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.059683225117624] Failed to read output from testmodel.py, exit status != 0: 14.310207540169358 14.317556973 13.466470946 Calling exit ...