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.001285/0.001285, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001385/0.001385, allocations: 223.7 kB / 23.05 MB, free: 5.074 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.352/1.352, allocations: 207.6 MB / 233.8 MB, free: 9.98 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.04906/0.04906, allocations: 9.157 MB / 295.2 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.R134aTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_R134aTestModel",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_R134aTestModel",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.002083/0.002083, allocations: 75.62 kB / 411.9 MB, free: 46.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07072/0.0728, allocations: 50.74 MB / 462.7 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel): time 0.3238/0.3966, allocations: 129.3 MB / 0.5781 GB, free: 284 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1183/0.5149, allocations: 111.4 MB / 0.6869 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005602/0.5155, allocations: 11.94 kB / 0.6869 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003455/0.5189, allocations: 1.551 MB / 0.6885 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004174/0.5231, allocations: 1.829 MB / 0.6902 GB, free: 4.062 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.08826/0.6113, allocations: 31.36 MB / 0.7209 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002421/0.6138, allocations: 1.421 MB / 0.7223 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003392/0.6141, allocations: 89.91 kB / 0.7223 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01868/0.6328, allocations: 9.364 MB / 0.7315 GB, free: 9.695 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008909/0.6337, allocations: 390.5 kB / 0.7319 GB, free: 9.312 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000146/0.6338, allocations: 48 kB / 0.7319 GB, free: 9.266 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3393/0.9731, allocations: 36.36 MB / 0.7674 GB, free: 47.2 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002418/0.9733, allocations: 121 kB / 0.7675 GB, free: 47.2 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005328/0.9739, allocations: 308.8 kB / 0.7678 GB, free: 47.2 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.04291/1.017, allocations: 14.13 MB / 0.7816 GB, free: 46.79 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/1.017, allocations: 0 / 0.7816 GB, free: 46.79 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.823e-06/1.017, allocations: 1.75 kB / 0.7816 GB, free: 46.79 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.263e-05/1.017, allocations: 0 / 0.7816 GB, free: 46.79 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.008147/1.025, allocations: 2.598 MB / 0.7842 GB, free: 45.37 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/1.025, allocations: 10.67 kB / 0.7842 GB, free: 45.36 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.743e-05/1.025, allocations: 15.28 kB / 0.7842 GB, free: 45.36 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.99e-05/1.025, allocations: 86.69 kB / 0.7843 GB, free: 45.32 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006318/1.026, allocations: 94.44 kB / 0.7844 GB, free: 45.3 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004617/1.026, allocations: 281.6 kB / 0.7846 GB, free: 45.13 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.53e-05/1.026, allocations: 33.41 kB / 0.7847 GB, free: 45.13 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.113e-05/1.026, allocations: 35.41 kB / 0.7847 GB, free: 45.13 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/1.027, allocations: 0.6071 MB / 0.7853 GB, free: 45.04 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/1.027, allocations: 0 / 0.7853 GB, free: 45.04 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.926e-05/1.028, allocations: 16.16 kB / 0.7853 GB, free: 45.04 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.952e-05/1.028, allocations: 15 kB / 0.7853 GB, free: 45.04 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/1.029, allocations: 0.5626 MB / 0.7859 GB, free: 45.03 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002317/1.031, allocations: 2.525 MB / 0.7883 GB, free: 43.32 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/1.032, allocations: 493.8 kB / 0.7888 GB, free: 43.29 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004738/1.033, allocations: 316.3 kB / 0.7891 GB, free: 43.27 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1944/1.227, allocations: 43.91 MB / 0.832 GB, free: 17.09 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/1.227, allocations: 38.59 kB / 0.832 GB, free: 17.05 MB / 0.545 GB Notification: Performance of pre-optimization done (n=79): time 3.226e-06/1.227, allocations: 0 / 0.832 GB, free: 17.05 MB / 0.545 GB Notification: Performance of matching and sorting (n=83): time 0.006069/1.233, allocations: 2.24 MB / 0.8342 GB, free: 15.38 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/1.233, allocations: 58.03 kB / 0.8343 GB, free: 15.31 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003572/1.234, allocations: 251.7 kB / 0.8345 GB, free: 15.1 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.896e-05/1.234, allocations: 29.64 kB / 0.8345 GB, free: 15.07 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/1.234, allocations: 188.3 kB / 0.8347 GB, free: 14.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000224/1.234, allocations: 280.3 kB / 0.835 GB, free: 14.67 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/1.234, allocations: 104.6 kB / 0.8351 GB, free: 14.59 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001028/1.234, allocations: 348.4 kB / 0.8354 GB, free: 14.26 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005218/1.235, allocations: 286.2 kB / 0.8357 GB, free: 14.09 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005769/1.235, allocations: 405.3 kB / 0.8361 GB, free: 13.77 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/1.236, allocations: 0.7198 MB / 0.8368 GB, free: 13.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/1.236, allocations: 1.422 kB / 0.8368 GB, free: 13.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001556/1.238, allocations: 0.8057 MB / 0.8376 GB, free: 12.71 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/1.238, allocations: 9.875 kB / 0.8376 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/1.238, allocations: 4.406 kB / 0.8376 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002703/1.238, allocations: 67.36 kB / 0.8376 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003873/1.239, allocations: 98.38 kB / 0.8377 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06755/1.306, allocations: 17.01 MB / 0.8544 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004832/1.307, allocations: 31.78 kB / 0.8544 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.88e-05/1.307, allocations: 19.75 kB / 0.8544 GB, free: 12.03 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.0003474/1.307, allocations: 188.4 kB / 0.8546 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/1.307, allocations: 43.72 kB / 0.8546 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002229/1.31, allocations: 1.589 MB / 0.8562 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.05e-05/1.31, allocations: 9.641 kB / 0.8562 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/1.31, allocations: 0 / 0.8562 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001582/1.311, allocations: 1.175 MB / 0.8573 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002527/1.314, allocations: 1.607 MB / 0.8589 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/1.314, allocations: 0 / 0.8589 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003584/1.314, allocations: 82.47 kB / 0.859 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002252/1.314, allocations: 46.06 kB / 0.859 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.074e-05/1.314, allocations: 15.2 kB / 0.859 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001186/1.315, allocations: 1.32 MB / 0.8603 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.315, allocations: 0 / 0.8603 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002022/1.317, allocations: 1.217 MB / 0.8615 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/1.318, allocations: 39.62 kB / 0.8616 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.328e-05/1.318, allocations: 7.938 kB / 0.8616 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003528/1.318, allocations: 27.66 kB / 0.8616 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/1.318, allocations: 47.61 kB / 0.8616 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.87e-05/1.318, allocations: 15.92 kB / 0.8616 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002945/1.318, allocations: 247.7 kB / 0.8619 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.318, allocations: 4.875 kB / 0.8619 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0109/1.329, allocations: 3.573 MB / 0.8654 GB, free: 2.434 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.02336/1.353, allocations: 6.23 MB / 0.8715 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002408/1.355, allocations: 0.9313 MB / 0.8724 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/1.355, allocations: 4 kB / 0.8724 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/1.356, allocations: 471.9 kB / 0.8728 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002157/1.358, allocations: 382.4 kB / 0.8732 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0167/1.375, allocations: 6.395 MB / 0.8794 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005567/1.376, allocations: 0.8612 MB / 0.8803 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005276/1.376, allocations: 157.3 kB / 0.8804 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000234/1.376, allocations: 169.1 kB / 0.8806 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of SimCode: time 1.162e-06/1.376, allocations: 0 / 0.8806 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4679/1.844, allocations: 132.8 MB / 1.01 GB, free: 242 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.19/19.04, allocations: 5.797 kB / 1.01 GB, free: 242 MB / 0.67 GB " [Timeout remaining time 641] (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.849997699959204] Failed to read output from testmodel.py, exit status != 0: 19.281772210029885 19.293733198 18.274272851 Calling exit ...