Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.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.001819/0.001819, allocations: 101.3 kB / 19.73 MB, free: 2.109 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.002203/0.002203, allocations: 219.2 kB / 23.03 MB, free: 4.91 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.346/1.346, allocations: 207.7 MB / 233.9 MB, free: 9.793 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.04914/0.04914, 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.IsopentaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsopentaneTestModel",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsopentaneTestModel",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.00213/0.00213, allocations: 67.25 kB / 411.9 MB, free: 46.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0744/0.07653, allocations: 50.77 MB / 462.6 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel): time 0.3233/0.3998, allocations: 114.8 MB / 0.5639 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1002/0.5, allocations: 98.56 MB / 0.6602 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004609/0.5004, allocations: 7.938 kB / 0.6602 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002795/0.5032, allocations: 1.235 MB / 0.6614 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003688/0.5069, allocations: 1.563 MB / 0.6629 GB, free: 12.45 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.07024/0.5772, allocations: 31.15 MB / 0.6934 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001861/0.579, allocations: 1.421 MB / 0.6947 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002192/0.5792, allocations: 89.89 kB / 0.6948 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01796/0.5972, allocations: 10.86 MB / 0.7054 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005594/0.5978, allocations: 402 kB / 0.7058 GB, free: 412 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.649e-05/0.5978, allocations: 40 kB / 0.7059 GB, free: 372 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04728/0.6451, allocations: 24.8 MB / 0.7301 GB, free: 7.516 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002552/0.6454, allocations: 123.6 kB / 0.7302 GB, free: 7.395 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004658/0.6458, allocations: 251.1 kB / 0.7304 GB, free: 7.148 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.2899/0.9357, allocations: 12.22 MB / 0.7424 GB, free: 65.91 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.9357, allocations: 5.016 kB / 0.7424 GB, free: 65.91 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.973e-06/0.9357, allocations: 0 / 0.7424 GB, free: 65.91 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.245e-05/0.9357, allocations: 0 / 0.7424 GB, free: 65.91 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.008759/0.9445, allocations: 2.588 MB / 0.7449 GB, free: 64.49 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.9445, allocations: 15.05 kB / 0.7449 GB, free: 64.48 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.014e-05/0.9445, allocations: 9.906 kB / 0.7449 GB, free: 64.48 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.038e-05/0.9446, allocations: 82.95 kB / 0.745 GB, free: 64.45 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006515/0.9453, allocations: 92.16 kB / 0.7451 GB, free: 64.42 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005301/0.9458, allocations: 280.1 kB / 0.7454 GB, free: 64.26 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.429e-05/0.9458, allocations: 31.97 kB / 0.7454 GB, free: 64.26 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.897e-05/0.9459, allocations: 36.56 kB / 0.7454 GB, free: 64.26 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001383/0.9473, allocations: 0.7582 MB / 0.7462 GB, free: 63.98 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.9473, allocations: 4.781 kB / 0.7462 GB, free: 63.98 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.351e-05/0.9473, allocations: 16.34 kB / 0.7462 GB, free: 63.98 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.593e-05/0.9474, allocations: 16.8 kB / 0.7462 GB, free: 63.98 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/0.9487, allocations: 0.5585 MB / 0.7467 GB, free: 63.98 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002231/0.9509, allocations: 1.724 MB / 0.7484 GB, free: 63.18 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009411/0.9519, allocations: 466.1 kB / 0.7489 GB, free: 63.15 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004656/0.9523, allocations: 317.7 kB / 0.7492 GB, free: 63.14 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1904/1.143, allocations: 44.04 MB / 0.7922 GB, free: 62.24 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/1.143, allocations: 40.95 kB / 0.7922 GB, free: 62.2 MB / 0.545 GB Notification: Performance of pre-optimization done (n=77): time 2.605e-06/1.143, allocations: 5.312 kB / 0.7922 GB, free: 62.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=81): time 0.005358/1.148, allocations: 2.241 MB / 0.7944 GB, free: 61.71 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.395e-05/1.148, allocations: 57.75 kB / 0.7945 GB, free: 61.65 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/1.148, allocations: 266.5 kB / 0.7947 GB, free: 61.42 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/1.148, allocations: 35.52 kB / 0.7948 GB, free: 61.39 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.265e-05/1.148, allocations: 197.1 kB / 0.795 GB, free: 61.22 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/1.149, allocations: 268.3 kB / 0.7952 GB, free: 60.99 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/1.149, allocations: 100.8 kB / 0.7953 GB, free: 60.92 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.975e-05/1.149, allocations: 355.2 kB / 0.7956 GB, free: 60.59 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004362/1.149, allocations: 284.7 kB / 0.7959 GB, free: 60.41 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000452/1.15, allocations: 408.3 kB / 0.7963 GB, free: 60.11 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008457/1.151, allocations: 0.7098 MB / 0.797 GB, free: 59.62 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/1.151, allocations: 4 kB / 0.797 GB, free: 59.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001175/1.152, allocations: 0.821 MB / 0.7978 GB, free: 59.05 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/1.152, allocations: 4 kB / 0.7978 GB, free: 59.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/1.152, allocations: 4 kB / 0.7978 GB, free: 59.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002239/1.152, allocations: 63.39 kB / 0.7979 GB, free: 58.99 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006558/1.153, allocations: 145.9 kB / 0.798 GB, free: 58.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06361/1.216, allocations: 18.23 MB / 0.8158 GB, free: 41.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004903/1.217, allocations: 35.66 kB / 0.8158 GB, free: 41.13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.34e-05/1.217, allocations: 12 kB / 0.8159 GB, free: 41.12 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * 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): 3 systems {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): 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.000242/1.217, allocations: 198.3 kB / 0.816 GB, free: 40.96 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.246e-05/1.217, allocations: 45.69 kB / 0.8161 GB, free: 40.91 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001666/1.219, allocations: 1.741 MB / 0.8178 GB, free: 39.68 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/1.219, allocations: 10.59 kB / 0.8178 GB, free: 39.68 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/1.219, allocations: 0 / 0.8178 GB, free: 39.68 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001182/1.22, allocations: 1.327 MB / 0.8191 GB, free: 38.58 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001869/1.222, allocations: 1.709 MB / 0.8208 GB, free: 37.36 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/1.222, allocations: 0 / 0.8208 GB, free: 37.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000296/1.222, allocations: 78.56 kB / 0.8208 GB, free: 37.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000276/1.222, allocations: 174.5 kB / 0.821 GB, free: 37.15 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/1.222, allocations: 3.812 kB / 0.821 GB, free: 37.15 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009829/1.223, allocations: 2.466 MB / 0.8234 GB, free: 34.67 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/1.223, allocations: 3.984 kB / 0.8234 GB, free: 34.67 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/1.225, allocations: 1.415 MB / 0.8248 GB, free: 33.68 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/1.225, allocations: 49.11 kB / 0.8248 GB, free: 33.64 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.448e-05/1.225, allocations: 7.875 kB / 0.8249 GB, free: 33.63 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002943/1.225, allocations: 31.78 kB / 0.8249 GB, free: 33.61 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.385e-05/1.226, allocations: 39.8 kB / 0.8249 GB, free: 33.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.527e-05/1.226, allocations: 15.92 kB / 0.8249 GB, free: 33.56 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001701/1.226, allocations: 221.1 kB / 0.8252 GB, free: 33.39 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/1.226, allocations: 4 kB / 0.8252 GB, free: 33.38 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01011/1.236, allocations: 3.571 MB / 0.8286 GB, free: 29.91 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 10 ($cse7.phase,$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 (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02057/1.256, allocations: 6.224 MB / 0.8347 GB, free: 24.69 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002303/1.259, allocations: 1.017 MB / 0.8357 GB, free: 23.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/1.259, allocations: 1.75 kB / 0.8357 GB, free: 23.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007068/1.259, allocations: 499.5 kB / 0.8362 GB, free: 23.54 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001937/1.261, allocations: 401.9 kB / 0.8366 GB, free: 23.18 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01393/1.275, allocations: 6.345 MB / 0.8428 GB, free: 17.79 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001661/1.275, allocations: 250.1 kB / 0.843 GB, free: 17.53 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004079/1.276, allocations: 137.7 kB / 0.8431 GB, free: 17.39 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/1.276, allocations: 164.6 kB / 0.8433 GB, free: 17.35 MB / 0.545 GB Notification: Performance of SimCode: time 6.31e-07/1.276, allocations: 0 / 0.8433 GB, free: 17.35 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4156/1.692, allocations: 135 MB / 0.9751 GB, free: 318.2 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.83/19.52, allocations: 4.312 kB / 0.9751 GB, free: 318.2 MB / 0.6544 GB " [Timeout remaining time 640] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsopentaneTestModel_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsopentaneTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 29.222290019970387] Failed to read output from testmodel.py, exit status != 0: 19.76714616199024 19.779400793 18.841286473 Calling exit ...