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.001326/0.001326, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001439/0.001439, allocations: 215 kB / 20.13 MB, free: 2.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.328/1.328, allocations: 207.6 MB / 230.5 MB, free: 4.039 MB / 174.1 MB " [Timeout remaining time 179] 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.04976/0.04976, allocations: 9.137 MB / 291.5 MB, free: 7.188 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PentaneTestModel",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.002259/0.002259, allocations: 76.36 kB / 406.6 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2326, allocations: 50.72 MB / 457.3 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel): time 0.1421/0.3747, allocations: 129.1 MB / 0.5727 GB, free: 6.309 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3225/0.6973, allocations: 111.4 MB / 0.6815 GB, free: 15.97 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005376/0.6978, allocations: 12.84 kB / 0.6815 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002808/0.7006, allocations: 1.603 MB / 0.6831 GB, free: 15.95 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003134/0.7037, allocations: 1.865 MB / 0.6849 GB, free: 15.9 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.07351/0.7772, allocations: 31.34 MB / 0.7155 GB, free: 2.137 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002141/0.7794, allocations: 1.422 MB / 0.7169 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002472/0.7796, allocations: 86.64 kB / 0.717 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001079/0.7807, allocations: 0.6179 MB / 0.7176 GB, free: 68 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000531/0.7812, allocations: 390.3 kB / 0.7179 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.274e-05/0.7813, allocations: 44 kB / 0.718 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06417/0.8455, allocations: 35.45 MB / 0.7526 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002508/0.8457, allocations: 126 kB / 0.7527 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005267/0.8462, allocations: 307.8 kB / 0.753 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.04119/0.8874, allocations: 13.96 MB / 0.7666 GB, free: 48 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.8874, allocations: 0 / 0.7666 GB, free: 48 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.944e-06/0.8874, allocations: 3.938 kB / 0.7666 GB, free: 44 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.838e-06/0.8875, allocations: 0 / 0.7666 GB, free: 44 kB / 0.5294 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.006841/0.8943, allocations: 2.678 MB / 0.7693 GB, free: 13.32 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.8943, allocations: 12.03 kB / 0.7693 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.731e-05/0.8944, allocations: 8.656 kB / 0.7693 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.425e-05/0.8945, allocations: 86.52 kB / 0.7694 GB, free: 13.2 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006217/0.8951, allocations: 91.62 kB / 0.7694 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005307/0.8956, allocations: 354.3 kB / 0.7698 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.403e-05/0.8957, allocations: 32.66 kB / 0.7698 GB, free: 12.7 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.359e-05/0.8957, allocations: 28 kB / 0.7698 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.897, allocations: 0.5972 MB / 0.7704 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.8971, allocations: 3.953 kB / 0.7704 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.33e-05/0.8971, allocations: 16 kB / 0.7704 GB, free: 12.04 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/0.8971, allocations: 14.03 kB / 0.7705 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.8985, allocations: 0.5493 MB / 0.771 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002735/0.9012, allocations: 2.556 MB / 0.7735 GB, free: 8.695 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.9024, allocations: 475.9 kB / 0.7739 GB, free: 8.223 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005459/0.9029, allocations: 302.3 kB / 0.7742 GB, free: 7.926 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4681/1.371, allocations: 139 MB / 0.9099 GB, free: 58.4 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/1.371, allocations: 33.66 kB / 0.91 GB, free: 58.36 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=79): time 3.086e-06/1.371, allocations: 0 / 0.91 GB, free: 58.36 MB / 0.6075 GB Notification: Performance of matching and sorting (n=83): time 0.005373/1.376, allocations: 2.334 MB / 0.9123 GB, free: 57.87 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.255e-05/1.376, allocations: 59.47 kB / 0.9123 GB, free: 57.81 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/1.377, allocations: 255.9 kB / 0.9126 GB, free: 57.7 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/1.377, allocations: 32.08 kB / 0.9126 GB, free: 57.67 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.685e-05/1.377, allocations: 183.2 kB / 0.9128 GB, free: 57.55 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/1.377, allocations: 283.5 kB / 0.913 GB, free: 57.4 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/1.377, allocations: 103.8 kB / 0.9131 GB, free: 57.38 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 6.386e-05/1.377, allocations: 353.3 kB / 0.9135 GB, free: 57.07 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004301/1.377, allocations: 267 kB / 0.9137 GB, free: 57.07 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004906/1.378, allocations: 396.1 kB / 0.9141 GB, free: 56.93 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009815/1.379, allocations: 0.7064 MB / 0.9148 GB, free: 56.79 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/1.379, allocations: 0 / 0.9148 GB, free: 56.79 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001306/1.38, allocations: 0.7906 MB / 0.9156 GB, free: 56.69 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/1.38, allocations: 8.844 kB / 0.9156 GB, free: 56.69 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/1.38, allocations: 3.625 kB / 0.9156 GB, free: 56.69 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002355/1.381, allocations: 58.5 kB / 0.9156 GB, free: 56.67 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000375/1.381, allocations: 109 kB / 0.9157 GB, free: 56.67 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06222/1.443, allocations: 16.62 MB / 0.932 GB, free: 50.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004359/1.444, allocations: 32.89 kB / 0.932 GB, free: 50.46 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.265e-05/1.444, allocations: 24.97 kB / 0.932 GB, free: 50.46 MB / 0.6075 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.0002481/1.444, allocations: 192.9 kB / 0.9322 GB, free: 50.35 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.134e-05/1.444, allocations: 43.31 kB / 0.9323 GB, free: 50.32 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001612/1.446, allocations: 1.544 MB / 0.9338 GB, free: 50.07 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/1.446, allocations: 15.41 kB / 0.9338 GB, free: 50.07 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/1.446, allocations: 0 / 0.9338 GB, free: 50.07 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001157/1.447, allocations: 1.139 MB / 0.9349 GB, free: 49.58 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001854/1.449, allocations: 1.596 MB / 0.9364 GB, free: 49.24 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/1.449, allocations: 4.031 kB / 0.9364 GB, free: 49.24 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003098/1.449, allocations: 85.78 kB / 0.9365 GB, free: 49.24 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001857/1.449, allocations: 39.11 kB / 0.9366 GB, free: 49.23 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/1.449, allocations: 10.88 kB / 0.9366 GB, free: 49.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006904/1.45, allocations: 1.426 MB / 0.938 GB, free: 47.88 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/1.45, allocations: 0 / 0.938 GB, free: 47.88 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00154/1.451, allocations: 1.181 MB / 0.9391 GB, free: 47.66 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.848e-05/1.451, allocations: 117 kB / 0.9392 GB, free: 47.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.961e-05/1.451, allocations: 14.19 kB / 0.9392 GB, free: 47.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002855/1.452, allocations: 27.31 kB / 0.9393 GB, free: 47.54 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/1.452, allocations: 37.95 kB / 0.9393 GB, free: 47.54 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-05/1.452, allocations: 17.14 kB / 0.9393 GB, free: 47.54 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001952/1.452, allocations: 244.7 kB / 0.9396 GB, free: 47.46 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/1.452, allocations: 0 / 0.9396 GB, free: 47.46 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00843/1.46, allocations: 3.574 MB / 0.943 GB, free: 45.87 MB / 0.6075 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.01637/1.477, allocations: 6.115 MB / 0.949 GB, free: 41.32 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001653/1.479, allocations: 0.9073 MB / 0.9499 GB, free: 40.71 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.479, allocations: 3.938 kB / 0.9499 GB, free: 40.71 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000695/1.479, allocations: 465.5 kB / 0.9504 GB, free: 40.41 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001886/1.481, allocations: 403.8 kB / 0.9507 GB, free: 40.15 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/1.492, allocations: 6.334 MB / 0.9569 GB, free: 35.28 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002241/1.492, allocations: 0.8557 MB / 0.9578 GB, free: 34.45 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000386/1.492, allocations: 169.3 kB / 0.9579 GB, free: 34.34 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/1.492, allocations: 166.3 kB / 0.9581 GB, free: 34.31 MB / 0.6075 GB Notification: Performance of SimCode: time 7.11e-07/1.492, allocations: 0 / 0.9581 GB, free: 34.31 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3734/1.866, allocations: 132.5 MB / 1.087 GB, free: 347.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.66/18.52, allocations: 11.78 kB / 1.087 GB, free: 347.5 MB / 0.6856 GB " [Timeout remaining time 641] (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 os._exit(0), Time elapsed: 20.915285311988555] Failed to read output from testmodel.py, exit status != 0: 18.75815433403477 18.767578328 17.877908935 Calling exit ...