Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.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.001401/0.001401, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001795/0.001795, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.465/1.465, allocations: 207.6 MB / 233 MB, free: 9.992 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.05531/0.05531, allocations: 9.159 MB / 294.4 MB, free: 12.69 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.R134aTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_R134aTestModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_R134aTestModel",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.00224/0.00224, allocations: 71.48 kB / 411.1 MB, free: 46.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06705/0.06929, allocations: 50.76 MB / 461.9 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel): time 0.342/0.4112, allocations: 129.3 MB / 0.5774 GB, free: 268 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1263/0.5376, allocations: 111.4 MB / 0.6862 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005732/0.5381, allocations: 11.94 kB / 0.6862 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003602/0.5417, allocations: 1.551 MB / 0.6877 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004237/0.546, allocations: 1.833 MB / 0.6895 GB, free: 4.047 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.07836/0.6243, allocations: 31.36 MB / 0.7201 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002047/0.6264, allocations: 1.425 MB / 0.7215 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002233/0.6266, allocations: 89.89 kB / 0.7216 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01767/0.6443, allocations: 9.36 MB / 0.7307 GB, free: 9.68 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007214/0.645, allocations: 394.4 kB / 0.7311 GB, free: 9.293 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.818e-05/0.6451, allocations: 44 kB / 0.7311 GB, free: 9.25 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3219/0.9669, allocations: 36.37 MB / 0.7667 GB, free: 47.05 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002331/0.9672, allocations: 120 kB / 0.7668 GB, free: 47.05 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005731/0.9677, allocations: 308.1 kB / 0.7671 GB, free: 47.05 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.03934/1.007, allocations: 14.13 MB / 0.7809 GB, free: 46.63 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/1.007, allocations: 2.391 kB / 0.7809 GB, free: 46.63 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.704e-06/1.007, allocations: 1.969 kB / 0.7809 GB, free: 46.63 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.06e-05/1.007, allocations: 0 / 0.7809 GB, free: 46.63 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.006221/1.013, allocations: 2.598 MB / 0.7834 GB, free: 45.21 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/1.013, allocations: 13.67 kB / 0.7834 GB, free: 45.21 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.896e-05/1.013, allocations: 83.28 kB / 0.7835 GB, free: 45.17 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005867/1.014, allocations: 103.2 kB / 0.7836 GB, free: 45.14 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003973/1.014, allocations: 278 kB / 0.7839 GB, free: 44.98 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.393e-05/1.014, allocations: 31.47 kB / 0.7839 GB, free: 44.98 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.544e-05/1.015, allocations: 32.03 kB / 0.7839 GB, free: 44.98 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/1.016, allocations: 0.6109 MB / 0.7845 GB, free: 44.88 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/1.016, allocations: 1.969 kB / 0.7845 GB, free: 44.88 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.48e-05/1.016, allocations: 11.22 kB / 0.7845 GB, free: 44.88 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/1.016, allocations: 16.66 kB / 0.7845 GB, free: 44.88 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/1.017, allocations: 0.5636 MB / 0.7851 GB, free: 44.88 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002119/1.019, allocations: 2.525 MB / 0.7876 GB, free: 43.16 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/1.02, allocations: 493.7 kB / 0.788 GB, free: 43.13 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004565/1.021, allocations: 312.5 kB / 0.7883 GB, free: 43.12 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1936/1.214, allocations: 43.91 MB / 0.8312 GB, free: 16.97 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/1.214, allocations: 35.22 kB / 0.8312 GB, free: 16.93 MB / 0.545 GB Notification: Performance of pre-optimization done (n=79): time 2.535e-06/1.214, allocations: 0 / 0.8312 GB, free: 16.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=83): time 0.00545/1.22, allocations: 2.239 MB / 0.8334 GB, free: 15.26 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/1.22, allocations: 55.41 kB / 0.8335 GB, free: 15.19 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/1.22, allocations: 253.4 kB / 0.8337 GB, free: 14.98 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.348e-05/1.22, allocations: 37.39 kB / 0.8338 GB, free: 14.94 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.258e-05/1.22, allocations: 186.5 kB / 0.8339 GB, free: 14.78 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/1.22, allocations: 275.3 kB / 0.8342 GB, free: 14.55 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/1.22, allocations: 104.5 kB / 0.8343 GB, free: 14.47 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.965e-05/1.22, allocations: 357.8 kB / 0.8346 GB, free: 14.14 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000435/1.221, allocations: 279.5 kB / 0.8349 GB, free: 13.97 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004591/1.221, allocations: 403.4 kB / 0.8353 GB, free: 13.65 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008966/1.222, allocations: 0.7281 MB / 0.836 GB, free: 13.14 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/1.222, allocations: 1.188 kB / 0.836 GB, free: 13.14 MB / 0.545 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001283/1.223, allocations: 0.8038 MB / 0.8368 GB, free: 12.59 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/1.223, allocations: 7.594 kB / 0.8368 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/1.223, allocations: 4.438 kB / 0.8368 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002313/1.224, allocations: 67.39 kB / 0.8369 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003907/1.224, allocations: 96.47 kB / 0.837 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06934/1.293, allocations: 17.01 MB / 0.8536 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004535/1.294, allocations: 27.53 kB / 0.8536 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.826e-05/1.294, allocations: 19.75 kB / 0.8536 GB, free: 11.91 MB / 0.5606 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.0002907/1.294, allocations: 190.3 kB / 0.8538 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/1.294, allocations: 43.72 kB / 0.8538 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002115/1.296, allocations: 1.584 MB / 0.8554 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.687e-05/1.296, allocations: 10.12 kB / 0.8554 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/1.296, allocations: 0 / 0.8554 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001567/1.298, allocations: 1.172 MB / 0.8565 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00245/1.3, allocations: 1.61 MB / 0.8581 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/1.3, allocations: 0 / 0.8581 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003762/1.301, allocations: 84.41 kB / 0.8582 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002236/1.301, allocations: 44.53 kB / 0.8582 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.83e-05/1.301, allocations: 11.92 kB / 0.8583 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001181/1.302, allocations: 1.316 MB / 0.8595 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.302, allocations: 1.75 kB / 0.8595 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002031/1.304, allocations: 1.216 MB / 0.8607 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.575e-05/1.304, allocations: 35.75 kB / 0.8608 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.256e-05/1.304, allocations: 11.75 kB / 0.8608 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003267/1.305, allocations: 31.08 kB / 0.8608 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/1.305, allocations: 47.67 kB / 0.8608 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.272e-05/1.305, allocations: 19.73 kB / 0.8609 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002828/1.305, allocations: 248.4 kB / 0.8611 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.305, allocations: 0 / 0.8611 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00928/1.314, allocations: 3.573 MB / 0.8646 GB, free: 2.316 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.01949/1.334, allocations: 6.232 MB / 0.8707 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001948/1.336, allocations: 0.9264 MB / 0.8716 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/1.336, allocations: 0 / 0.8716 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009233/1.337, allocations: 479.6 kB / 0.872 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001873/1.339, allocations: 384.7 kB / 0.8724 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01366/1.352, allocations: 6.393 MB / 0.8787 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005723/1.353, allocations: 0.8548 MB / 0.8795 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005236/1.353, allocations: 166 kB / 0.8796 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002527/1.354, allocations: 168.5 kB / 0.8798 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of SimCode: time 9.62e-07/1.354, allocations: 0 / 0.8798 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4307/1.784, allocations: 132.8 MB / 1.009 GB, free: 242 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.02/19.81, allocations: 9.172 kB / 1.009 GB, free: 242 MB / 0.67 GB " [Timeout remaining time 640] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_R134aTestModel_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_R134aTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 28.093188875820488] Failed to read output from testmodel.py, exit status != 0: 20.028655857080594 20.049038506 19.038003927 Calling exit ...