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.001566/0.001566, allocations: 106.7 kB / 16.45 MB, free: 6.449 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.001656/0.001656, allocations: 212 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.541/1.541, allocations: 207.6 MB / 229.8 MB, free: 11.42 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05298/0.05298, allocations: 9.146 MB / 290.8 MB, free: 13.91 MB / 238.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 81.92 kB / 405.9 MB, free: 47.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0701/0.07233, allocations: 50.73 MB / 456.6 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel): time 0.3879/0.4602, allocations: 128 MB / 0.5709 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1267/0.5869, allocations: 109.8 MB / 0.6782 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006/0.5875, allocations: 7.938 kB / 0.6782 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002887/0.5904, allocations: 1.207 MB / 0.6794 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002983/0.5934, allocations: 1.256 MB / 0.6806 GB, free: 9.469 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.08839/0.6818, allocations: 30.46 MB / 0.7103 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002312/0.6841, allocations: 1.367 MB / 0.7117 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002729/0.6844, allocations: 93.66 kB / 0.7118 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02185/0.7062, allocations: 12.09 MB / 0.7236 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006239/0.7068, allocations: 386.5 kB / 0.7239 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.299e-05/0.7069, allocations: 47.94 kB / 0.724 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3716/1.079, allocations: 33.61 MB / 0.7568 GB, free: 50.72 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003458/1.079, allocations: 125.3 kB / 0.7569 GB, free: 50.72 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006507/1.08, allocations: 304.6 kB / 0.7572 GB, free: 50.72 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.04273/1.122, allocations: 14.14 MB / 0.771 GB, free: 50.29 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/1.122, allocations: 0 / 0.771 GB, free: 50.29 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.715e-06/1.122, allocations: 0 / 0.771 GB, free: 50.29 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.334e-05/1.122, allocations: 0 / 0.771 GB, free: 50.29 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.009302/1.132, allocations: 2.681 MB / 0.7736 GB, free: 48.78 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/1.132, allocations: 13.41 kB / 0.7737 GB, free: 48.78 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.058e-05/1.132, allocations: 79.17 kB / 0.7737 GB, free: 48.74 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006715/1.132, allocations: 94.97 kB / 0.7738 GB, free: 48.71 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005842/1.133, allocations: 338.8 kB / 0.7741 GB, free: 48.49 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.308e-05/1.133, allocations: 30.97 kB / 0.7742 GB, free: 48.49 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.94e-05/1.133, allocations: 29.94 kB / 0.7742 GB, free: 48.49 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/1.134, allocations: 0.6054 MB / 0.7748 GB, free: 48.39 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/1.134, allocations: 0 / 0.7748 GB, free: 48.39 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.015e-05/1.134, allocations: 15.56 kB / 0.7748 GB, free: 48.39 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.358e-05/1.134, allocations: 18.42 kB / 0.7748 GB, free: 48.39 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/1.136, allocations: 0.5475 MB / 0.7754 GB, free: 48.39 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002249/1.138, allocations: 2.558 MB / 0.7779 GB, free: 46.65 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/1.139, allocations: 474.7 kB / 0.7783 GB, free: 46.62 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005241/1.14, allocations: 313.2 kB / 0.7786 GB, free: 46.61 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2635/1.403, allocations: 139 MB / 0.9143 GB, free: 16.14 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.435e-05/1.403, allocations: 40.09 kB / 0.9144 GB, free: 16.09 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=79): time 2.895e-06/1.403, allocations: 0 / 0.9144 GB, free: 16.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=83): time 0.006384/1.41, allocations: 2.336 MB / 0.9166 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/1.41, allocations: 55.41 kB / 0.9167 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003112/1.41, allocations: 258.6 kB / 0.9169 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.948e-05/1.41, allocations: 31.08 kB / 0.917 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/1.41, allocations: 191.8 kB / 0.9172 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001772/1.41, allocations: 279.1 kB / 0.9174 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/1.41, allocations: 101.2 kB / 0.9175 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001836/1.411, allocations: 353.4 kB / 0.9179 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004854/1.411, allocations: 270.6 kB / 0.9181 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005489/1.412, allocations: 398.6 kB / 0.9185 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/1.413, allocations: 0.7006 MB / 0.9192 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.413, allocations: 1.75 kB / 0.9192 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001605/1.415, allocations: 0.7867 MB / 0.9199 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/1.415, allocations: 11.98 kB / 0.92 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/1.415, allocations: 0 / 0.92 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002714/1.415, allocations: 57.44 kB / 0.92 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004398/1.415, allocations: 108.6 kB / 0.9201 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07768/1.493, allocations: 17.2 MB / 0.9369 GB, free: 10.82 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005017/1.494, allocations: 35.72 kB / 0.937 GB, free: 10.79 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.221e-05/1.494, allocations: 19.75 kB / 0.937 GB, free: 10.78 MB / 0.67 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.0004019/1.494, allocations: 182.5 kB / 0.9371 GB, free: 10.63 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002102/1.494, allocations: 43.75 kB / 0.9372 GB, free: 10.59 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002312/1.497, allocations: 1.554 MB / 0.9387 GB, free: 9.496 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.306e-05/1.497, allocations: 14.83 kB / 0.9387 GB, free: 9.488 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/1.497, allocations: 4 kB / 0.9387 GB, free: 9.484 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001665/1.498, allocations: 1.134 MB / 0.9398 GB, free: 8.527 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00267/1.501, allocations: 1.589 MB / 0.9414 GB, free: 7.371 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/1.501, allocations: 0.9844 kB / 0.9414 GB, free: 7.371 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003869/1.501, allocations: 85.66 kB / 0.9415 GB, free: 7.297 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002289/1.502, allocations: 40.62 kB / 0.9415 GB, free: 7.262 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/1.502, allocations: 11.8 kB / 0.9415 GB, free: 7.254 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001401/1.503, allocations: 1.437 MB / 0.9429 GB, free: 5.77 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.503, allocations: 0 / 0.9429 GB, free: 5.77 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002207/1.505, allocations: 1.177 MB / 0.9441 GB, free: 4.945 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001701/1.505, allocations: 112.9 kB / 0.9442 GB, free: 4.816 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.44e-05/1.505, allocations: 11.88 kB / 0.9442 GB, free: 4.812 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003581/1.506, allocations: 29.77 kB / 0.9442 GB, free: 4.789 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/1.506, allocations: 47.69 kB / 0.9443 GB, free: 4.75 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.553e-05/1.506, allocations: 15.8 kB / 0.9443 GB, free: 4.738 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000323/1.506, allocations: 237.1 kB / 0.9445 GB, free: 4.551 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/1.506, allocations: 0 / 0.9445 GB, free: 4.551 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01127/1.518, allocations: 3.578 MB / 0.948 GB, free: 1.074 MB / 0.67 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.02578/1.543, allocations: 6.228 MB / 0.9541 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002735/1.546, allocations: 0.8998 MB / 0.955 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/1.546, allocations: 4.062 kB / 0.955 GB, free: 11.13 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001212/1.547, allocations: 470.7 kB / 0.9554 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003056/1.55, allocations: 398.6 kB / 0.9558 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01989/1.57, allocations: 6.323 MB / 0.962 GB, free: 5.059 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000798/1.571, allocations: 0.8447 MB / 0.9628 GB, free: 4.188 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000828/1.572, allocations: 169.1 kB / 0.9629 GB, free: 4.023 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003831/1.572, allocations: 177.8 kB / 0.9631 GB, free: 3.965 MB / 0.6856 GB Notification: Performance of SimCode: time 1.493e-06/1.572, allocations: 0 / 0.9631 GB, free: 3.965 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4184/1.991, allocations: 132.5 MB / 1.092 GB, free: 246.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.43/19.42, allocations: 3.938 kB / 1.092 GB, free: 246.3 MB / 0.6856 GB " [Timeout remaining time 640] (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 & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel_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_EthanolTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 23.923109787981957] Failed to read output from testmodel.py, exit status != 0: 19.59933653427288 19.608686253 18.484066478 Calling exit ...