Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.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.001339/0.001339, allocations: 109.2 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.002519/0.002519, allocations: 219.7 kB / 22.26 MB, free: 5.121 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.409/1.409, allocations: 207.6 MB / 233 MB, free: 9.988 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.05271/0.05271, allocations: 9.156 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.R134aTestModel2,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_R134aTestModel2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_R134aTestModel2",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.002181/0.002181, allocations: 71.94 kB / 411.1 MB, free: 46.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08167/0.08385, allocations: 50.76 MB / 461.9 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2): time 0.4264/0.5103, allocations: 198.8 MB / 0.6452 GB, free: 1.535 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.4613/0.9716, allocations: 144.1 MB / 0.7859 GB, free: 188 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001118/0.9727, allocations: 12.28 kB / 0.7859 GB, free: 188 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.006794/0.9795, allocations: 2.1 MB / 0.7879 GB, free: 168 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.009148/0.9887, allocations: 2.801 MB / 0.7907 GB, free: 136 kB / 0.545 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.09752/1.086, allocations: 41.81 MB / 0.8315 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00279/1.089, allocations: 1.99 MB / 0.8334 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003274/1.089, allocations: 147.8 kB / 0.8336 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001445/1.091, allocations: 0.8288 MB / 0.8344 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007575/1.092, allocations: 0.5545 MB / 0.8349 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.057e-05/1.092, allocations: 59.66 kB / 0.835 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0889/1.18, allocations: 48.48 MB / 0.8823 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003786/1.181, allocations: 179.6 kB / 0.8825 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008035/1.182, allocations: 423.6 kB / 0.8829 GB, free: 0.6211 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.05701/1.239, allocations: 18.86 MB / 0.9013 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.239, allocations: 0 / 0.9013 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.593e-06/1.239, allocations: 4 kB / 0.9013 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.771e-05/1.239, allocations: 0 / 0.9013 GB, free: 15.2 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.008319/1.247, allocations: 3.425 MB / 0.9047 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/1.247, allocations: 19.98 kB / 0.9047 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001289/1.247, allocations: 102.5 kB / 0.9048 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008193/1.248, allocations: 119.5 kB / 0.9049 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006004/1.249, allocations: 348.1 kB / 0.9052 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.223e-05/1.249, allocations: 41 kB / 0.9053 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.778e-05/1.249, allocations: 52 kB / 0.9053 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001842/1.251, allocations: 0.8356 MB / 0.9061 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/1.251, allocations: 0 / 0.9061 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.797e-05/1.251, allocations: 19.94 kB / 0.9062 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.946e-05/1.251, allocations: 25.62 kB / 0.9062 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001864/1.253, allocations: 0.7769 MB / 0.9069 GB, free: 9.371 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003941/1.257, allocations: 3.395 MB / 0.9103 GB, free: 5.695 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001584/1.258, allocations: 0.6513 MB / 0.9109 GB, free: 5.039 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007862/1.259, allocations: 455 kB / 0.9113 GB, free: 4.594 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2889/1.548, allocations: 58.54 MB / 0.9685 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.388e-05/1.548, allocations: 39 kB / 0.9685 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=109): time 3.927e-06/1.548, allocations: 3.562 kB / 0.9685 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of matching and sorting (n=117): time 0.0103/1.558, allocations: 3.339 MB / 0.9718 GB, free: 6.805 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/1.558, allocations: 59.84 kB / 0.9719 GB, free: 6.73 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004195/1.559, allocations: 316.5 kB / 0.9722 GB, free: 6.414 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.423e-05/1.559, allocations: 33.7 kB / 0.9722 GB, free: 6.375 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002006/1.559, allocations: 229.5 kB / 0.9724 GB, free: 6.145 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003642/1.559, allocations: 397.1 kB / 0.9728 GB, free: 5.762 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002514/1.56, allocations: 142.2 kB / 0.9729 GB, free: 5.617 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001976/1.56, allocations: 370.8 kB / 0.9733 GB, free: 5.246 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008134/1.561, allocations: 406.8 kB / 0.9737 GB, free: 4.852 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009199/1.561, allocations: 0.5467 MB / 0.9742 GB, free: 4.258 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001791/1.563, allocations: 1.01 MB / 0.9752 GB, free: 3.203 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/1.563, allocations: 0 / 0.9752 GB, free: 3.203 MB / 0.6856 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002427/1.566, allocations: 1.166 MB / 0.9763 GB, free: 2.016 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/1.566, allocations: 4 kB / 0.9763 GB, free: 2.012 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/1.566, allocations: 4.469 kB / 0.9763 GB, free: 2.008 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004249/1.566, allocations: 106.5 kB / 0.9764 GB, free: 1.895 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/1.567, allocations: 199 kB / 0.9766 GB, free: 1.703 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4653/2.032, allocations: 35 MB / 1.011 GB, free: 143.2 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005745/2.033, allocations: 43.84 kB / 1.011 GB, free: 143.2 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.042e-05/2.033, allocations: 24.97 kB / 1.011 GB, free: 143.2 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 12 (volume1.medium.sat.vap.phase,volume1.medium.sat.liq.phase,volume1.medium.state.phase,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 (73): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * 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): 4 systems {1, 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003248/2.033, allocations: 222.6 kB / 1.011 GB, free: 143.1 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/2.034, allocations: 62.75 kB / 1.011 GB, free: 143.1 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00282/2.036, allocations: 2.434 MB / 1.014 GB, free: 142.9 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-05/2.036, allocations: 25.91 kB / 1.014 GB, free: 142.9 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/2.036, allocations: 0 / 1.014 GB, free: 142.9 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002127/2.039, allocations: 1.694 MB / 1.015 GB, free: 142.5 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003209/2.042, allocations: 2.496 MB / 1.018 GB, free: 142.1 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/2.042, allocations: 0 / 1.018 GB, free: 142.1 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004587/2.042, allocations: 118 kB / 1.018 GB, free: 142.1 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004686/2.043, allocations: 214.1 kB / 1.018 GB, free: 142.1 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.526e-05/2.043, allocations: 19 kB / 1.018 GB, free: 142.1 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001851/2.045, allocations: 3.782 MB / 1.022 GB, free: 138.6 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/2.045, allocations: 0 / 1.022 GB, free: 138.6 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002766/2.047, allocations: 2.027 MB / 1.024 GB, free: 138.4 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/2.047, allocations: 63.22 kB / 1.024 GB, free: 138.3 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.408e-05/2.048, allocations: 15.39 kB / 1.024 GB, free: 138.3 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000398/2.048, allocations: 42.89 kB / 1.024 GB, free: 138.3 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/2.048, allocations: 63.16 kB / 1.024 GB, free: 138.3 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.615e-05/2.048, allocations: 21.45 kB / 1.024 GB, free: 138.3 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002565/2.048, allocations: 253.7 kB / 1.024 GB, free: 138.3 MB / 0.7012 GB Notification: Performance of sort global known variables: time 7e-08/2.048, allocations: 0 / 1.024 GB, free: 138.3 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.01381/2.062, allocations: 5.542 MB / 1.029 GB, free: 138.2 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 14 ($cse13.phase,$cse16.phase,$cse17.phase,$cse18.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,volume1.medium.state.phase,volume1.medium.sat.liq.phase,volume1.medium.sat.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (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.02861/2.091, allocations: 9.199 MB / 1.038 GB, free: 136.3 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00329/2.094, allocations: 1.514 MB / 1.04 GB, free: 136 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/2.094, allocations: 4.312 kB / 1.04 GB, free: 135.9 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001114/2.095, allocations: 0.802 MB / 1.041 GB, free: 135.7 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002349/2.098, allocations: 0.5114 MB / 1.041 GB, free: 135.6 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01885/2.116, allocations: 8.733 MB / 1.05 GB, free: 132.5 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/2.117, allocations: 0.9357 MB / 1.051 GB, free: 131.7 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0005803/2.117, allocations: 180.5 kB / 1.051 GB, free: 131.7 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002691/2.118, allocations: 254 kB / 1.051 GB, free: 131.7 MB / 0.7012 GB Notification: Performance of SimCode: time 9.22e-07/2.118, allocations: 4 kB / 1.051 GB, free: 131.7 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4937/2.611, allocations: 211.8 MB / 1.258 GB, free: 387.3 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.48/24.09, allocations: 6.172 kB / 1.258 GB, free: 387.3 MB / 0.7481 GB " [Timeout remaining time 636] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_R134aTestModel2_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_R134aTestModel2.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 43.49593147682026] Failed to read output from testmodel.py, exit status != 0: 24.349278626963496 24.372116177 23.129217974 Calling exit ...