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.001259/0.001259, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001653/0.001653, allocations: 218.8 kB / 23.03 MB, free: 4.949 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.389/1.389, allocations: 207.7 MB / 233.9 MB, free: 9.785 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.05214/0.05214, allocations: 9.146 MB / 295.3 MB, free: 12.51 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_EthanolTestModel",fmuType="cs",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.002106/0.002106, allocations: 67.44 kB / 411.9 MB, free: 46.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07939/0.0815, allocations: 50.76 MB / 462.6 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel): time 0.3639/0.4454, allocations: 113.9 MB / 0.563 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1082/0.5536, allocations: 97.12 MB / 0.6578 GB, free: 1.57 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007355/0.5544, allocations: 7.938 kB / 0.6578 GB, free: 1.562 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002809/0.5572, allocations: 0.923 MB / 0.6587 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002911/0.5601, allocations: 1.106 MB / 0.6598 GB, free: 15.53 MB / 494.1 MB [/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.09072/0.6508, allocations: 30.51 MB / 0.6896 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002192/0.653, allocations: 1.394 MB / 0.691 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002346/0.6532, allocations: 77.94 kB / 0.6911 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02165/0.6749, allocations: 12.27 MB / 0.703 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005817/0.6755, allocations: 394.5 kB / 0.7034 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.194e-05/0.6755, allocations: 40 kB / 0.7034 GB, free: 2.723 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04731/0.7228, allocations: 24.59 MB / 0.7275 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000272/0.7231, allocations: 119.6 kB / 0.7276 GB, free: 9.969 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005206/0.7236, allocations: 251.1 kB / 0.7278 GB, free: 9.723 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.3208/1.044, allocations: 12.33 MB / 0.7399 GB, free: 71.62 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/1.044, allocations: 3.062 kB / 0.7399 GB, free: 71.62 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.873e-06/1.044, allocations: 0 / 0.7399 GB, free: 71.62 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.088e-05/1.044, allocations: 0.9688 kB / 0.7399 GB, free: 71.62 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.007416/1.052, allocations: 2.588 MB / 0.7424 GB, free: 70.2 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/1.052, allocations: 13.8 kB / 0.7424 GB, free: 70.2 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.778e-05/1.052, allocations: 12.55 kB / 0.7424 GB, free: 70.2 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.098e-05/1.052, allocations: 83.34 kB / 0.7425 GB, free: 70.16 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006343/1.053, allocations: 89.12 kB / 0.7426 GB, free: 70.13 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004655/1.053, allocations: 276.1 kB / 0.7428 GB, free: 69.97 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.214e-05/1.053, allocations: 33.97 kB / 0.7429 GB, free: 69.97 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.164e-05/1.053, allocations: 32.19 kB / 0.7429 GB, free: 69.97 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/1.055, allocations: 0.7606 MB / 0.7437 GB, free: 69.7 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.774e-05/1.055, allocations: 5.094 kB / 0.7437 GB, free: 69.7 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.849e-05/1.055, allocations: 14.69 kB / 0.7437 GB, free: 69.7 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-05/1.055, allocations: 19.81 kB / 0.7437 GB, free: 69.7 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/1.056, allocations: 0.5575 MB / 0.7442 GB, free: 69.69 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002234/1.059, allocations: 1.709 MB / 0.7459 GB, free: 68.89 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/1.06, allocations: 489.1 kB / 0.7464 GB, free: 68.86 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005277/1.06, allocations: 317.7 kB / 0.7467 GB, free: 68.85 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1905/1.251, allocations: 44.04 MB / 0.7897 GB, free: 68.03 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.16e-05/1.251, allocations: 37.91 kB / 0.7897 GB, free: 67.99 MB / 0.545 GB Notification: Performance of pre-optimization done (n=79): time 3.586e-06/1.251, allocations: 3.516 kB / 0.7897 GB, free: 67.99 MB / 0.545 GB Notification: Performance of matching and sorting (n=83): time 0.005414/1.256, allocations: 2.239 MB / 0.7919 GB, free: 67.52 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/1.256, allocations: 64.81 kB / 0.792 GB, free: 67.45 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/1.256, allocations: 248.2 kB / 0.7922 GB, free: 67.32 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/1.256, allocations: 36.67 kB / 0.7922 GB, free: 67.29 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.149e-05/1.257, allocations: 189.4 kB / 0.7924 GB, free: 67.14 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/1.257, allocations: 275.5 kB / 0.7927 GB, free: 66.93 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/1.257, allocations: 100.2 kB / 0.7928 GB, free: 66.9 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.748e-05/1.257, allocations: 351.4 kB / 0.7931 GB, free: 66.58 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004401/1.257, allocations: 288.9 kB / 0.7934 GB, free: 66.53 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004625/1.258, allocations: 400.6 kB / 0.7938 GB, free: 66.36 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008692/1.259, allocations: 0.7226 MB / 0.7945 GB, free: 65.91 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.259, allocations: 0 / 0.7945 GB, free: 65.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001215/1.26, allocations: 0.8116 MB / 0.7953 GB, free: 65.34 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/1.26, allocations: 9.719 kB / 0.7953 GB, free: 65.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/1.26, allocations: 5.094 kB / 0.7953 GB, free: 65.33 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002316/1.26, allocations: 64.11 kB / 0.7953 GB, free: 65.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003601/1.26, allocations: 100.2 kB / 0.7954 GB, free: 65.19 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06405/1.325, allocations: 17 MB / 0.812 GB, free: 48.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005503/1.325, allocations: 31.11 kB / 0.8121 GB, free: 48.72 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.365e-05/1.325, allocations: 19.8 kB / 0.8121 GB, free: 48.71 MB / 0.545 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.0003082/1.325, allocations: 190.7 kB / 0.8123 GB, free: 48.56 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.129e-05/1.326, allocations: 47.66 kB / 0.8123 GB, free: 48.51 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00166/1.327, allocations: 1.588 MB / 0.8139 GB, free: 47.38 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/1.327, allocations: 17.8 kB / 0.8139 GB, free: 47.36 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/1.327, allocations: 0 / 0.8139 GB, free: 47.36 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001142/1.328, allocations: 1.173 MB / 0.815 GB, free: 46.38 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001884/1.33, allocations: 1.547 MB / 0.8165 GB, free: 45.26 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/1.33, allocations: 3.938 kB / 0.8165 GB, free: 45.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003056/1.331, allocations: 85.06 kB / 0.8166 GB, free: 45.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001898/1.331, allocations: 40.72 kB / 0.8167 GB, free: 45.14 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/1.331, allocations: 15.3 kB / 0.8167 GB, free: 45.13 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006841/1.331, allocations: 1.309 MB / 0.818 GB, free: 43.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/1.331, allocations: 0 / 0.818 GB, free: 43.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001491/1.333, allocations: 1.222 MB / 0.8191 GB, free: 42.93 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.046e-05/1.333, allocations: 39.73 kB / 0.8192 GB, free: 42.89 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.277e-05/1.333, allocations: 7.938 kB / 0.8192 GB, free: 42.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002978/1.333, allocations: 34.59 kB / 0.8192 GB, free: 42.86 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/1.333, allocations: 51.59 kB / 0.8193 GB, free: 42.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.77e-05/1.334, allocations: 11.81 kB / 0.8193 GB, free: 42.81 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002125/1.334, allocations: 240.4 kB / 0.8195 GB, free: 42.62 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/1.334, allocations: 0 / 0.8195 GB, free: 42.62 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01424/1.348, allocations: 3.586 MB / 0.823 GB, free: 39.14 MB / 0.545 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.02096/1.369, allocations: 6.232 MB / 0.8291 GB, free: 33.88 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001664/1.371, allocations: 0.9339 MB / 0.83 GB, free: 33.16 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.371, allocations: 0 / 0.83 GB, free: 33.16 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006775/1.371, allocations: 474.3 kB / 0.8305 GB, free: 32.81 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001741/1.373, allocations: 391.6 kB / 0.8308 GB, free: 32.47 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01284/1.386, allocations: 6.392 MB / 0.8371 GB, free: 27.02 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001706/1.386, allocations: 246.3 kB / 0.8373 GB, free: 26.76 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004161/1.386, allocations: 170.1 kB / 0.8375 GB, free: 26.59 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001905/1.387, allocations: 173.2 kB / 0.8376 GB, free: 26.54 MB / 0.545 GB Notification: Performance of SimCode: time 5.51e-07/1.387, allocations: 0 / 0.8376 GB, free: 26.54 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2174/1.604, allocations: 134.2 MB / 0.9687 GB, free: 4.527 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.61/19.22, allocations: 11.86 kB / 0.9687 GB, free: 4.516 MB / 0.6544 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: 26.80708729592152] Failed to read output from testmodel.py, exit status != 0: 19.472669010050595 19.65186018 18.604374515 Calling exit ...