Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.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.001791/0.001791, 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.001897/0.001897, allocations: 215.8 kB / 22.25 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.456/1.456, 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.05391/0.05391, 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.PentaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PentaneTestModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PentaneTestModel",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.002227/0.002227, allocations: 76.73 kB / 411.1 MB, free: 46.51 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08082/0.08305, allocations: 50.75 MB / 461.9 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel): time 0.4141/0.4971, allocations: 129.4 MB / 0.5774 GB, free: 240 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1237/0.6209, allocations: 111.5 MB / 0.6863 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007304/0.6216, allocations: 7.938 kB / 0.6863 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003858/0.6254, allocations: 1.602 MB / 0.6879 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004508/0.6299, allocations: 1.865 MB / 0.6897 GB, free: 3.867 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.08676/0.7167, allocations: 31.55 MB / 0.7205 GB, free: 4.215 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002026/0.7187, allocations: 1.441 MB / 0.7219 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002373/0.719, allocations: 85.84 kB / 0.722 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001227/0.7202, allocations: 0.6151 MB / 0.7226 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006606/0.7209, allocations: 398.4 kB / 0.723 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.415e-05/0.7209, allocations: 40 kB / 0.723 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3444/1.065, allocations: 36.38 MB / 0.7585 GB, free: 44.38 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003197/1.066, allocations: 126.4 kB / 0.7586 GB, free: 44.38 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006055/1.066, allocations: 307.9 kB / 0.7589 GB, free: 44.38 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.04282/1.109, allocations: 14 MB / 0.7726 GB, free: 43.95 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/1.109, allocations: 0 / 0.7726 GB, free: 43.95 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.543e-06/1.109, allocations: 0 / 0.7726 GB, free: 43.95 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.066e-05/1.109, allocations: 0 / 0.7726 GB, free: 43.95 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.006425/1.116, allocations: 2.609 MB / 0.7751 GB, free: 42.53 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/1.116, allocations: 15.05 kB / 0.7752 GB, free: 42.52 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.589e-05/1.116, allocations: 82.09 kB / 0.7752 GB, free: 42.48 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006259/1.116, allocations: 96.14 kB / 0.7753 GB, free: 42.46 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000428/1.117, allocations: 278.8 kB / 0.7756 GB, free: 42.3 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.183e-05/1.117, allocations: 33.06 kB / 0.7756 GB, free: 42.3 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.658e-05/1.117, allocations: 32.66 kB / 0.7757 GB, free: 42.3 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/1.118, allocations: 0.6066 MB / 0.7763 GB, free: 42.2 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/1.118, allocations: 6.688 kB / 0.7763 GB, free: 42.2 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.726e-05/1.118, allocations: 13.44 kB / 0.7763 GB, free: 42.2 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.053e-05/1.118, allocations: 18.58 kB / 0.7763 GB, free: 42.2 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/1.119, allocations: 0.5574 MB / 0.7768 GB, free: 42.2 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002161/1.121, allocations: 2.532 MB / 0.7793 GB, free: 40.48 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/1.122, allocations: 481.2 kB / 0.7798 GB, free: 40.45 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004345/1.123, allocations: 324.5 kB / 0.7801 GB, free: 40.44 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.193/1.316, allocations: 43.9 MB / 0.8229 GB, free: 20.99 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/1.316, allocations: 34.84 kB / 0.823 GB, free: 20.95 MB / 0.545 GB Notification: Performance of pre-optimization done (n=79): time 2.825e-06/1.316, allocations: 0 / 0.823 GB, free: 20.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=83): time 0.00595/1.322, allocations: 2.236 MB / 0.8252 GB, free: 19.28 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/1.322, allocations: 63.66 kB / 0.8252 GB, free: 19.21 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/1.322, allocations: 255.1 kB / 0.8255 GB, free: 18.99 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.208e-05/1.322, allocations: 37.45 kB / 0.8255 GB, free: 18.96 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.793e-05/1.322, allocations: 180.4 kB / 0.8257 GB, free: 18.8 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/1.323, allocations: 279.8 kB / 0.8259 GB, free: 18.56 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/1.323, allocations: 104.2 kB / 0.826 GB, free: 18.49 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.95e-05/1.323, allocations: 346.3 kB / 0.8264 GB, free: 18.16 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000467/1.323, allocations: 288.5 kB / 0.8266 GB, free: 17.98 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004909/1.324, allocations: 407 kB / 0.827 GB, free: 17.66 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009635/1.325, allocations: 0.7166 MB / 0.8277 GB, free: 17.17 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/1.325, allocations: 6.062 kB / 0.8277 GB, free: 17.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001392/1.326, allocations: 0.8117 MB / 0.8285 GB, free: 16.61 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/1.326, allocations: 4 kB / 0.8285 GB, free: 16.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/1.326, allocations: 8.938 kB / 0.8285 GB, free: 16.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002789/1.326, allocations: 61.05 kB / 0.8286 GB, free: 16.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000401/1.327, allocations: 101.6 kB / 0.8287 GB, free: 16.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06752/1.394, allocations: 16.44 MB / 0.8448 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004976/1.395, allocations: 27.98 kB / 0.8448 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.381e-05/1.395, allocations: 21.48 kB / 0.8448 GB, free: 0.5117 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.0003169/1.395, allocations: 186.4 kB / 0.845 GB, free: 376 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/1.395, allocations: 43.72 kB / 0.845 GB, free: 332 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00223/1.398, allocations: 1.585 MB / 0.8466 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.729e-05/1.398, allocations: 11.98 kB / 0.8466 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/1.398, allocations: 0 / 0.8466 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0016/1.399, allocations: 1.173 MB / 0.8477 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002574/1.402, allocations: 1.605 MB / 0.8493 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/1.402, allocations: 0 / 0.8493 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003741/1.402, allocations: 84.19 kB / 0.8494 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002252/1.402, allocations: 40.67 kB / 0.8494 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.082e-05/1.402, allocations: 13.5 kB / 0.8494 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001177/1.404, allocations: 1.315 MB / 0.8507 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.404, allocations: 0 / 0.8507 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002014/1.406, allocations: 1.22 MB / 0.8519 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/1.406, allocations: 47.64 kB / 0.8519 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.322e-05/1.406, allocations: 7.797 kB / 0.852 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003515/1.406, allocations: 31.8 kB / 0.852 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/1.406, allocations: 51.59 kB / 0.852 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.309e-05/1.406, allocations: 11.94 kB / 0.852 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003175/1.407, allocations: 240 kB / 0.8523 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.407, allocations: 0 / 0.8523 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01114/1.418, allocations: 3.578 MB / 0.8558 GB, free: 6.914 MB / 0.5606 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.02278/1.44, allocations: 6.138 MB / 0.8618 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002167/1.443, allocations: 0.928 MB / 0.8627 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/1.443, allocations: 5.422 kB / 0.8627 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000944/1.444, allocations: 476.1 kB / 0.8631 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002234/1.446, allocations: 407.7 kB / 0.8635 GB, free: 324 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01724/1.463, allocations: 6.398 MB / 0.8698 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005071/1.464, allocations: 0.8526 MB / 0.8706 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005521/1.464, allocations: 157.5 kB / 0.8707 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002328/1.464, allocations: 167.5 kB / 0.8709 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of SimCode: time 1.022e-06/1.464, allocations: 0 / 0.8709 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4616/1.926, allocations: 133 MB / 1.001 GB, free: 243.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.32/20.24, allocations: 0 / 1.001 GB, free: 243.5 MB / 0.67 GB " [Timeout remaining time 640] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PentaneTestModel_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PentaneTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 25.57400864898227] Failed to read output from testmodel.py, exit status != 0: 20.446292203152552 20.457693207 19.34566 Calling exit ...