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.001482/0.001482, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.00178/0.00178, allocations: 219.3 kB / 22.26 MB, free: 5.125 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.502/1.502, allocations: 207.6 MB / 233 MB, free: 9.984 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.05243/0.05243, allocations: 9.155 MB / 294.4 MB, free: 12.7 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.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: 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.002302/0.002302, allocations: 71.08 kB / 411.1 MB, free: 46.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08818/0.09049, allocations: 50.75 MB / 461.9 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2): time 0.4597/0.5502, allocations: 197.1 MB / 0.6435 GB, free: 3.238 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.5155/1.066, allocations: 142.1 MB / 0.7823 GB, free: 276 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/1.067, allocations: 12.56 kB / 0.7823 GB, free: 276 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003585/1.07, allocations: 1.625 MB / 0.7839 GB, free: 268 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003505/1.074, allocations: 1.909 MB / 0.7858 GB, free: 252 kB / 0.545 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.1006/1.174, allocations: 40.88 MB / 0.8257 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002946/1.177, allocations: 1.945 MB / 0.8276 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003595/1.178, allocations: 141.7 kB / 0.8277 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001838/1.18, allocations: 0.8575 MB / 0.8286 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009332/1.181, allocations: 0.5488 MB / 0.8291 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.792e-05/1.181, allocations: 58.47 kB / 0.8291 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.09146/1.272, allocations: 46.06 MB / 0.8741 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003719/1.272, allocations: 166.4 kB / 0.8743 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008693/1.273, allocations: 436.7 kB / 0.8747 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.06047/1.334, allocations: 18.9 MB / 0.8932 GB, free: 5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/1.334, allocations: 0 / 0.8932 GB, free: 5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.638e-06/1.334, allocations: 4 kB / 0.8932 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.477e-05/1.334, allocations: 0 / 0.8932 GB, free: 4.996 MB / 0.6075 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.00994/1.344, allocations: 3.422 MB / 0.8965 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.07e-05/1.344, allocations: 11.98 kB / 0.8965 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001446/1.344, allocations: 114.5 kB / 0.8966 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008211/1.345, allocations: 116 kB / 0.8967 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007188/1.345, allocations: 349.9 kB / 0.8971 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.995e-05/1.346, allocations: 45 kB / 0.8971 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-05/1.346, allocations: 51.94 kB / 0.8972 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/1.347, allocations: 0.827 MB / 0.898 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/1.347, allocations: 7.938 kB / 0.898 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.069e-05/1.347, allocations: 20.86 kB / 0.898 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.654e-05/1.348, allocations: 30.64 kB / 0.898 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001848/1.349, allocations: 0.773 MB / 0.8988 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003877/1.353, allocations: 3.395 MB / 0.9021 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/1.355, allocations: 0.6518 MB / 0.9027 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007749/1.356, allocations: 447.1 kB / 0.9032 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.282/1.638, allocations: 58.56 MB / 0.9603 GB, free: 8 kB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.611e-05/1.638, allocations: 41 kB / 0.9604 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=109): time 3.527e-06/1.638, allocations: 0 / 0.9604 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of matching and sorting (n=117): time 0.009965/1.648, allocations: 3.336 MB / 0.9636 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/1.648, allocations: 59.91 kB / 0.9637 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004067/1.648, allocations: 320.5 kB / 0.964 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.272e-05/1.648, allocations: 33.7 kB / 0.964 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/1.648, allocations: 229.5 kB / 0.9643 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003299/1.649, allocations: 393.7 kB / 0.9646 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002209/1.649, allocations: 146.2 kB / 0.9648 GB, free: 11.4 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001881/1.649, allocations: 362.8 kB / 0.9651 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007846/1.65, allocations: 417.7 kB / 0.9655 GB, free: 10.63 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008788/1.651, allocations: 0.5434 MB / 0.966 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001696/1.652, allocations: 1.002 MB / 0.967 GB, free: 8.992 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/1.652, allocations: 0 / 0.967 GB, free: 8.992 MB / 0.6856 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.00245/1.655, allocations: 1.167 MB / 0.9682 GB, free: 7.805 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/1.655, allocations: 7.375 kB / 0.9682 GB, free: 7.801 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/1.655, allocations: 4 kB / 0.9682 GB, free: 7.797 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004438/1.655, allocations: 102.9 kB / 0.9683 GB, free: 7.688 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/1.656, allocations: 204.7 kB / 0.9685 GB, free: 7.492 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1472/1.804, allocations: 35.03 MB / 1.003 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009397/1.805, allocations: 44.03 kB / 1.003 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/1.805, allocations: 20 kB / 1.003 GB, free: 3.148 MB / 0.7169 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.000598/1.805, allocations: 227 kB / 1.003 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002736/1.806, allocations: 63.58 kB / 1.003 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005427/1.811, allocations: 2.434 MB / 1.005 GB, free: 356 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.813e-05/1.811, allocations: 30.42 kB / 1.005 GB, free: 332 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/1.811, allocations: 4 kB / 1.005 GB, free: 328 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2432/2.054, allocations: 1.68 MB / 1.007 GB, free: 367.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003806/2.058, allocations: 2.492 MB / 1.009 GB, free: 367.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/2.058, allocations: 2.438 kB / 1.009 GB, free: 367.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000532/2.059, allocations: 119.5 kB / 1.01 GB, free: 367.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005472/2.059, allocations: 213.7 kB / 1.01 GB, free: 367.2 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.938e-05/2.059, allocations: 15.94 kB / 1.01 GB, free: 367.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002051/2.061, allocations: 3.779 MB / 1.014 GB, free: 363.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/2.061, allocations: 8.484 kB / 1.014 GB, free: 363.7 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003311/2.065, allocations: 2.026 MB / 1.016 GB, free: 363.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002312/2.065, allocations: 63.39 kB / 1.016 GB, free: 363.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/2.065, allocations: 14.06 kB / 1.016 GB, free: 363.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004507/2.065, allocations: 33.22 kB / 1.016 GB, free: 363.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002258/2.066, allocations: 65.92 kB / 1.016 GB, free: 363.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.151e-05/2.066, allocations: 27.52 kB / 1.016 GB, free: 363.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003708/2.066, allocations: 251.9 kB / 1.016 GB, free: 363.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/2.066, allocations: 1.25 kB / 1.016 GB, free: 363.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.01766/2.084, allocations: 5.544 MB / 1.021 GB, free: 363.4 MB / 0.7169 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.03054/2.114, allocations: 9.208 MB / 1.03 GB, free: 361 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003067/2.117, allocations: 1.516 MB / 1.032 GB, free: 360.2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/2.117, allocations: 0 / 1.032 GB, free: 360.2 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001095/2.118, allocations: 0.8011 MB / 1.033 GB, free: 359.8 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002395/2.121, allocations: 0.5339 MB / 1.033 GB, free: 359.7 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01731/2.138, allocations: 8.741 MB / 1.042 GB, free: 355.2 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/2.138, allocations: 0.9278 MB / 1.043 GB, free: 354.5 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0005582/2.139, allocations: 187.7 kB / 1.043 GB, free: 354.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002709/2.139, allocations: 255.7 kB / 1.043 GB, free: 354.3 MB / 0.7169 GB Notification: Performance of SimCode: time 1.473e-06/2.139, allocations: 0 / 1.043 GB, free: 354.3 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.307/2.446, allocations: 212.2 MB / 1.25 GB, free: 155.8 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.82/24.27, allocations: 15.98 kB / 1.25 GB, free: 155.8 MB / 0.7169 GB " [Timeout remaining time 635] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_EthanolTestModel2_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_EthanolTestModel2.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 27.204680847004056] Failed to read output from testmodel.py, exit status != 0: 24.52859686105512 24.546901091 23.209437347 Calling exit ...