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.001395/0.001395, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001695/0.001695, allocations: 215.9 kB / 22.26 MB, free: 5.082 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.471/1.471, allocations: 207.6 MB / 233 MB, free: 9.996 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.05203/0.05203, allocations: 9.154 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.002198/0.002198, allocations: 80.06 kB / 411.1 MB, free: 46.51 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08586/0.08806, allocations: 50.74 MB / 461.9 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2): time 0.4666/0.5547, allocations: 197.1 MB / 0.6435 GB, free: 3.227 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.548/1.103, allocations: 142.1 MB / 0.7823 GB, free: 256 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009967/1.104, allocations: 13.19 kB / 0.7823 GB, free: 256 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003553/1.107, allocations: 1.619 MB / 0.7839 GB, free: 252 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004155/1.111, allocations: 1.908 MB / 0.7858 GB, free: 232 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.1131/1.225, allocations: 40.87 MB / 0.8257 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003312/1.228, allocations: 1.952 MB / 0.8276 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003493/1.228, allocations: 135.9 kB / 0.8277 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00205/1.23, allocations: 0.8539 MB / 0.8286 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009939/1.231, allocations: 0.5548 MB / 0.8291 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.503e-05/1.231, allocations: 59.38 kB / 0.8291 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.09972/1.331, allocations: 46.05 MB / 0.8741 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004408/1.331, allocations: 185 kB / 0.8743 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009329/1.332, allocations: 422.3 kB / 0.8747 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.07156/1.404, allocations: 18.91 MB / 0.8932 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/1.404, allocations: 3.938 kB / 0.8932 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.445e-06/1.404, allocations: 0 / 0.8932 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.533e-05/1.404, allocations: 4 kB / 0.8932 GB, free: 4.98 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.01131/1.415, allocations: 3.415 MB / 0.8965 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/1.415, allocations: 15.98 kB / 0.8965 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001278/1.415, allocations: 105.7 kB / 0.8966 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008572/1.416, allocations: 123.5 kB / 0.8967 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006593/1.417, allocations: 357 kB / 0.8971 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.879e-05/1.417, allocations: 45 kB / 0.8971 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.742e-05/1.417, allocations: 51.92 kB / 0.8972 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001922/1.419, allocations: 0.8309 MB / 0.898 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/1.419, allocations: 0 / 0.898 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.451e-05/1.419, allocations: 24 kB / 0.898 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-05/1.419, allocations: 24.44 kB / 0.898 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001908/1.421, allocations: 0.7652 MB / 0.8988 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004187/1.425, allocations: 3.404 MB / 0.9021 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001688/1.427, allocations: 0.6503 MB / 0.9027 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008/1.428, allocations: 451.1 kB / 0.9032 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2929/1.721, allocations: 58.55 MB / 0.9603 GB, free: 8 kB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.273e-05/1.721, allocations: 42.94 kB / 0.9604 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=109): time 2.745e-06/1.721, allocations: 0 / 0.9604 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of matching and sorting (n=117): time 0.009785/1.731, allocations: 3.342 MB / 0.9636 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/1.731, allocations: 59.91 kB / 0.9637 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004038/1.731, allocations: 304.5 kB / 0.964 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.559e-05/1.731, allocations: 37.7 kB / 0.964 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/1.731, allocations: 236 kB / 0.9643 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003383/1.732, allocations: 400 kB / 0.9646 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002207/1.732, allocations: 142.3 kB / 0.9648 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001906/1.732, allocations: 370.8 kB / 0.9651 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007621/1.733, allocations: 401.7 kB / 0.9655 GB, free: 10.63 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009296/1.734, allocations: 0.5512 MB / 0.966 GB, free: 10.03 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001727/1.735, allocations: 1.003 MB / 0.967 GB, free: 8.984 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/1.735, allocations: 0 / 0.967 GB, free: 8.984 MB / 0.6856 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002381/1.738, allocations: 1.159 MB / 0.9682 GB, free: 7.805 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/1.738, allocations: 8 kB / 0.9682 GB, free: 7.797 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/1.738, allocations: 4.469 kB / 0.9682 GB, free: 7.793 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004302/1.738, allocations: 102.5 kB / 0.9683 GB, free: 7.684 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/1.739, allocations: 210.1 kB / 0.9685 GB, free: 7.48 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1474/1.887, allocations: 35.03 MB / 1.003 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007569/1.888, allocations: 39.98 kB / 1.003 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.883e-05/1.888, allocations: 28 kB / 1.003 GB, free: 3.133 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.0005122/1.888, allocations: 219.1 kB / 1.003 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/1.888, allocations: 63.58 kB / 1.003 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003633/1.892, allocations: 2.446 MB / 1.005 GB, free: 336 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.104e-05/1.892, allocations: 23.36 kB / 1.005 GB, free: 316 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/1.892, allocations: 4 kB / 1.005 GB, free: 312 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.242/2.134, allocations: 1.678 MB / 1.007 GB, free: 367.2 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004111/2.138, allocations: 2.493 MB / 1.01 GB, free: 366.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/2.138, allocations: 1.375 kB / 1.01 GB, free: 366.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005148/2.139, allocations: 116.8 kB / 1.01 GB, free: 366.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005453/2.139, allocations: 214.5 kB / 1.01 GB, free: 366.9 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.937e-05/2.139, allocations: 14.38 kB / 1.01 GB, free: 366.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002051/2.141, allocations: 3.779 MB / 1.014 GB, free: 363.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/2.141, allocations: 1.312 kB / 1.014 GB, free: 363.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003126/2.144, allocations: 2.032 MB / 1.016 GB, free: 363.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/2.144, allocations: 60.47 kB / 1.016 GB, free: 363.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.021e-05/2.145, allocations: 14.05 kB / 1.016 GB, free: 363.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004071/2.145, allocations: 36.44 kB / 1.016 GB, free: 363.2 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001716/2.145, allocations: 67.12 kB / 1.016 GB, free: 363.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.593e-05/2.145, allocations: 22.38 kB / 1.016 GB, free: 363.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003194/2.146, allocations: 258.5 kB / 1.016 GB, free: 363.1 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/2.146, allocations: 0 / 1.016 GB, free: 363.1 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.01817/2.164, allocations: 5.541 MB / 1.021 GB, free: 363.1 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.03497/2.199, allocations: 9.213 MB / 1.03 GB, free: 360.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003117/2.202, allocations: 1.517 MB / 1.032 GB, free: 359.9 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/2.202, allocations: 3.281 kB / 1.032 GB, free: 359.9 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001087/2.203, allocations: 0.8025 MB / 1.033 GB, free: 359.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002362/2.205, allocations: 0.5249 MB / 1.033 GB, free: 359.4 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01771/2.223, allocations: 8.737 MB / 1.042 GB, free: 354.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003775/2.223, allocations: 0.9362 MB / 1.043 GB, free: 354.2 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0005795/2.224, allocations: 185.2 kB / 1.043 GB, free: 354.2 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00028/2.224, allocations: 258.3 kB / 1.043 GB, free: 354 MB / 0.7169 GB Notification: Performance of SimCode: time 1.543e-06/2.224, allocations: 0 / 1.043 GB, free: 354 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2833/2.507, allocations: 212.2 MB / 1.25 GB, free: 155.6 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.28/24.79, allocations: 3.984 kB / 1.25 GB, free: 155.6 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 & 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: 27.74317258699739] Failed to read output from testmodel.py, exit status != 0: 25.069263794001017 25.080426587 23.673790237 Calling exit ...