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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 106.6 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001879/0.001879, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.478/1.478, allocations: 207.6 MB / 229.8 MB, free: 11.43 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.05283/0.05283, allocations: 9.146 MB / 290.8 MB, free: 13.93 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002178/0.002178, allocations: 67.41 kB / 405.9 MB, free: 47.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08686/0.08904, allocations: 50.71 MB / 456.6 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel): time 0.4049/0.4939, allocations: 128 MB / 0.5709 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1246/0.6185, allocations: 109.8 MB / 0.6781 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006011/0.6191, allocations: 7.938 kB / 0.6781 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0027/0.6218, allocations: 1.2 MB / 0.6793 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002985/0.6248, allocations: 1.257 MB / 0.6805 GB, free: 9.574 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.08259/0.7074, allocations: 30.47 MB / 0.7103 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002731/0.7101, allocations: 1.371 MB / 0.7116 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003138/0.7105, allocations: 77.75 kB / 0.7117 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02209/0.7326, allocations: 12.1 MB / 0.7235 GB, free: 13.44 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006165/0.7332, allocations: 390.5 kB / 0.7239 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.189e-05/0.7332, allocations: 47.94 kB / 0.7239 GB, free: 13.01 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4189/1.152, allocations: 33.61 MB / 0.7568 GB, free: 50.86 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003012/1.152, allocations: 125.7 kB / 0.7569 GB, free: 50.86 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005652/1.153, allocations: 303.9 kB / 0.7572 GB, free: 50.86 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.04918/1.202, allocations: 14.14 MB / 0.771 GB, free: 50.44 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/1.202, allocations: 3.516 kB / 0.771 GB, free: 50.44 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.034e-06/1.202, allocations: 0 / 0.771 GB, free: 50.44 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.906e-05/1.202, allocations: 0 / 0.771 GB, free: 50.44 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.008133/1.21, allocations: 2.675 MB / 0.7736 GB, free: 48.93 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/1.21, allocations: 6.719 kB / 0.7736 GB, free: 48.93 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001356/1.211, allocations: 92.14 kB / 0.7737 GB, free: 48.89 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007847/1.211, allocations: 90.62 kB / 0.7738 GB, free: 48.86 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006063/1.212, allocations: 334.4 kB / 0.7741 GB, free: 48.63 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.772e-05/1.212, allocations: 36.44 kB / 0.7741 GB, free: 48.63 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.963e-05/1.212, allocations: 29.69 kB / 0.7741 GB, free: 48.63 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/1.213, allocations: 0.6034 MB / 0.7747 GB, free: 48.54 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/1.213, allocations: 2.953 kB / 0.7747 GB, free: 48.54 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.247e-05/1.214, allocations: 17.09 kB / 0.7748 GB, free: 48.54 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.844e-05/1.214, allocations: 14.81 kB / 0.7748 GB, free: 48.54 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/1.215, allocations: 0.5522 MB / 0.7753 GB, free: 48.54 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002464/1.217, allocations: 2.554 MB / 0.7778 GB, free: 46.8 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/1.218, allocations: 478.7 kB / 0.7783 GB, free: 46.77 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004683/1.219, allocations: 305.6 kB / 0.7785 GB, free: 46.76 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2553/1.474, allocations: 139 MB / 0.9143 GB, free: 16.36 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.003e-05/1.474, allocations: 38.78 kB / 0.9143 GB, free: 16.31 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=79): time 2.534e-06/1.474, allocations: 0 / 0.9143 GB, free: 16.31 MB / 0.6544 GB Notification: Performance of matching and sorting (n=83): time 0.005745/1.48, allocations: 2.332 MB / 0.9166 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/1.48, allocations: 59.22 kB / 0.9166 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/1.48, allocations: 252.1 kB / 0.9169 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.325e-05/1.48, allocations: 33.52 kB / 0.9169 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/1.481, allocations: 187.6 kB / 0.9171 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/1.481, allocations: 281.7 kB / 0.9174 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/1.481, allocations: 105.2 kB / 0.9175 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001601/1.481, allocations: 353.4 kB / 0.9178 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004412/1.481, allocations: 268.4 kB / 0.9181 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004771/1.482, allocations: 398.7 kB / 0.9184 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/1.483, allocations: 0.7015 MB / 0.9191 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/1.483, allocations: 0 / 0.9191 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001542/1.484, allocations: 0.7811 MB / 0.9199 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.041e-05/1.485, allocations: 9.422 kB / 0.9199 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/1.485, allocations: 11.98 kB / 0.9199 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003018/1.485, allocations: 61.38 kB / 0.92 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004487/1.485, allocations: 98.34 kB / 0.9201 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07287/1.558, allocations: 17.21 MB / 0.9369 GB, free: 11.03 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000471/1.559, allocations: 27.47 kB / 0.9369 GB, free: 11.01 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-05/1.559, allocations: 19.94 kB / 0.9369 GB, free: 10.99 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.00034/1.559, allocations: 187.4 kB / 0.9371 GB, free: 10.84 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/1.559, allocations: 39.77 kB / 0.9371 GB, free: 10.8 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002158/1.561, allocations: 1.551 MB / 0.9386 GB, free: 9.711 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.052e-05/1.561, allocations: 13.09 kB / 0.9387 GB, free: 9.703 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/1.561, allocations: 0 / 0.9387 GB, free: 9.703 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001509/1.563, allocations: 1.14 MB / 0.9398 GB, free: 8.746 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002447/1.565, allocations: 1.592 MB / 0.9413 GB, free: 7.594 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/1.565, allocations: 0 / 0.9413 GB, free: 7.594 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003449/1.566, allocations: 82.59 kB / 0.9414 GB, free: 7.52 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002084/1.566, allocations: 48.53 kB / 0.9415 GB, free: 7.477 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-05/1.566, allocations: 10.56 kB / 0.9415 GB, free: 7.473 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00129/1.567, allocations: 1.431 MB / 0.9429 GB, free: 5.988 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/1.567, allocations: 0 / 0.9429 GB, free: 5.988 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001972/1.569, allocations: 1.183 MB / 0.944 GB, free: 5.156 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/1.569, allocations: 112.9 kB / 0.9441 GB, free: 5.027 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.119e-05/1.569, allocations: 11.88 kB / 0.9441 GB, free: 5.023 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003227/1.57, allocations: 23.84 kB / 0.9442 GB, free: 5.004 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/1.57, allocations: 47.38 kB / 0.9442 GB, free: 4.965 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-05/1.57, allocations: 11.56 kB / 0.9442 GB, free: 4.957 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002823/1.57, allocations: 253.8 kB / 0.9445 GB, free: 4.758 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/1.57, allocations: 0 / 0.9445 GB, free: 4.758 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01169/1.582, allocations: 3.578 MB / 0.948 GB, free: 1.281 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.02629/1.608, allocations: 6.222 MB / 0.954 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002178/1.61, allocations: 0.8941 MB / 0.9549 GB, free: 11.35 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/1.61, allocations: 2.625 kB / 0.9549 GB, free: 11.35 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00096/1.611, allocations: 470.2 kB / 0.9554 GB, free: 11 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002181/1.613, allocations: 398.7 kB / 0.9557 GB, free: 10.66 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01761/1.631, allocations: 6.324 MB / 0.9619 GB, free: 5.277 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005276/1.632, allocations: 0.8507 MB / 0.9627 GB, free: 4.402 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00057/1.632, allocations: 162.7 kB / 0.9629 GB, free: 4.246 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002313/1.632, allocations: 173.8 kB / 0.9631 GB, free: 4.191 MB / 0.6856 GB Notification: Performance of SimCode: time 9.82e-07/1.632, allocations: 0 / 0.9631 GB, free: 4.191 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.475/2.107, allocations: 132.4 MB / 1.092 GB, free: 246.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.1/19.2, allocations: 15.89 kB / 1.092 GB, free: 246.6 MB / 0.6856 GB " [Timeout remaining time 641] (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: 25.923801655881107] Failed to read output from testmodel.py, exit status != 0: 19.382620295044035 19.400154151 18.194487121 Calling exit ...