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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 105.9 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002049/0.002049, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.56/1.56, allocations: 207.6 MB / 229.8 MB, free: 4.246 MB / 174.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.0519/0.0519, allocations: 9.147 MB / 290.8 MB, free: 7.312 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 70.39 kB / 405.9 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3056, allocations: 50.71 MB / 456.6 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel): time 0.1505/0.4561, allocations: 129.1 MB / 0.572 GB, free: 6.316 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4885/0.9446, allocations: 111.4 MB / 0.6807 GB, free: 12 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006482/0.9453, allocations: 8.5 kB / 0.6808 GB, free: 12 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003263/0.9485, allocations: 1.605 MB / 0.6823 GB, free: 15.99 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003698/0.9522, allocations: 1.866 MB / 0.6841 GB, free: 15.95 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.0906/1.043, allocations: 31.34 MB / 0.7148 GB, free: 2.188 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002216/1.045, allocations: 1.42 MB / 0.7161 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002338/1.045, allocations: 91.92 kB / 0.7162 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/1.046, allocations: 0.6003 MB / 0.7168 GB, free: 132 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005427/1.047, allocations: 403 kB / 0.7172 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.202e-05/1.047, allocations: 40 kB / 0.7172 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.07131/1.118, allocations: 35.45 MB / 0.7519 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002656/1.118, allocations: 123.5 kB / 0.752 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005299/1.119, allocations: 297.4 kB / 0.7523 GB, free: 13 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.04382/1.163, allocations: 13.97 MB / 0.7659 GB, free: 112 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/1.163, allocations: 0 / 0.7659 GB, free: 112 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.723e-06/1.163, allocations: 0 / 0.7659 GB, free: 112 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.347e-06/1.163, allocations: 0 / 0.7659 GB, free: 112 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.006858/1.17, allocations: 2.683 MB / 0.7685 GB, free: 13.38 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/1.17, allocations: 12.03 kB / 0.7685 GB, free: 13.37 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.591e-05/1.17, allocations: 82.52 kB / 0.7686 GB, free: 13.28 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006545/1.17, allocations: 91.62 kB / 0.7687 GB, free: 13.19 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006344/1.171, allocations: 351.7 kB / 0.769 GB, free: 12.81 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.633e-05/1.171, allocations: 24.66 kB / 0.7691 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.078e-05/1.171, allocations: 36 kB / 0.7691 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/1.173, allocations: 0.5972 MB / 0.7697 GB, free: 12.13 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/1.173, allocations: 3.953 kB / 0.7697 GB, free: 12.13 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.838e-05/1.173, allocations: 12 kB / 0.7697 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.139e-05/1.173, allocations: 18.88 kB / 0.7697 GB, free: 12.1 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/1.174, allocations: 0.5532 MB / 0.7702 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002832/1.177, allocations: 2.546 MB / 0.7727 GB, free: 8.777 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/1.178, allocations: 475.9 kB / 0.7732 GB, free: 8.305 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005305/1.179, allocations: 302.3 kB / 0.7735 GB, free: 8.008 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5653/1.744, allocations: 139 MB / 0.9092 GB, free: 58.26 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/1.744, allocations: 36.94 kB / 0.9092 GB, free: 58.22 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=79): time 2.905e-06/1.744, allocations: 0 / 0.9092 GB, free: 58.22 MB / 0.6075 GB Notification: Performance of matching and sorting (n=83): time 0.005521/1.749, allocations: 2.343 MB / 0.9115 GB, free: 57.73 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/1.749, allocations: 56.53 kB / 0.9116 GB, free: 57.67 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/1.75, allocations: 257.8 kB / 0.9118 GB, free: 57.56 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/1.75, allocations: 36.02 kB / 0.9118 GB, free: 57.53 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.468e-05/1.75, allocations: 179.5 kB / 0.912 GB, free: 57.41 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/1.75, allocations: 281.9 kB / 0.9123 GB, free: 57.27 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/1.75, allocations: 102 kB / 0.9124 GB, free: 57.25 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.794e-05/1.75, allocations: 356.3 kB / 0.9127 GB, free: 56.93 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000444/1.751, allocations: 269.8 kB / 0.913 GB, free: 56.93 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005715/1.751, allocations: 392.2 kB / 0.9134 GB, free: 56.8 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/1.752, allocations: 0.7042 MB / 0.914 GB, free: 56.65 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.752, allocations: 2.625 kB / 0.914 GB, free: 56.65 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001356/1.754, allocations: 0.7843 MB / 0.9148 GB, free: 56.55 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/1.754, allocations: 10.83 kB / 0.9148 GB, free: 56.55 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/1.754, allocations: 3.594 kB / 0.9148 GB, free: 56.55 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002531/1.754, allocations: 59.48 kB / 0.9149 GB, free: 56.54 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003847/1.754, allocations: 104.8 kB / 0.915 GB, free: 56.53 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06587/1.82, allocations: 16.62 MB / 0.9312 GB, free: 50.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005162/1.821, allocations: 32.36 kB / 0.9312 GB, free: 50.33 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.61e-05/1.821, allocations: 23.47 kB / 0.9313 GB, free: 50.33 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.000289/1.821, allocations: 191.4 kB / 0.9315 GB, free: 50.21 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.575e-05/1.821, allocations: 49.69 kB / 0.9315 GB, free: 50.19 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001704/1.823, allocations: 1.543 MB / 0.933 GB, free: 49.94 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.581e-05/1.823, allocations: 11 kB / 0.933 GB, free: 49.94 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/1.823, allocations: 2.625 kB / 0.933 GB, free: 49.94 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001156/1.824, allocations: 1.14 MB / 0.9341 GB, free: 49.45 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001974/1.826, allocations: 1.596 MB / 0.9357 GB, free: 49.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/1.826, allocations: 4.031 kB / 0.9357 GB, free: 49.11 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003215/1.826, allocations: 86.42 kB / 0.9358 GB, free: 49.11 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001979/1.826, allocations: 40.25 kB / 0.9358 GB, free: 49.1 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/1.826, allocations: 7.875 kB / 0.9358 GB, free: 49.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007913/1.827, allocations: 1.434 MB / 0.9372 GB, free: 47.74 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/1.827, allocations: 0 / 0.9372 GB, free: 47.74 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/1.829, allocations: 1.177 MB / 0.9384 GB, free: 47.52 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/1.829, allocations: 119.6 kB / 0.9385 GB, free: 47.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.347e-05/1.829, allocations: 8.688 kB / 0.9385 GB, free: 47.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002849/1.829, allocations: 30.25 kB / 0.9385 GB, free: 47.4 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.689e-05/1.829, allocations: 42.64 kB / 0.9386 GB, free: 47.4 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.519e-05/1.829, allocations: 17.2 kB / 0.9386 GB, free: 47.4 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001991/1.83, allocations: 239.7 kB / 0.9388 GB, free: 47.32 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/1.83, allocations: 3.938 kB / 0.9388 GB, free: 47.31 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.009408/1.839, allocations: 3.58 MB / 0.9423 GB, free: 46.05 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.02266/1.862, allocations: 6.112 MB / 0.9483 GB, free: 41.51 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001776/1.863, allocations: 0.9074 MB / 0.9492 GB, free: 40.9 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/1.863, allocations: 2.188 kB / 0.9492 GB, free: 40.9 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007161/1.864, allocations: 470.5 kB / 0.9496 GB, free: 40.6 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001805/1.866, allocations: 402.2 kB / 0.95 GB, free: 40.34 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01244/1.878, allocations: 6.335 MB / 0.9562 GB, free: 35.47 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/1.879, allocations: 0.8498 MB / 0.957 GB, free: 34.65 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005015/1.879, allocations: 162.6 kB / 0.9572 GB, free: 34.55 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002354/1.88, allocations: 171.2 kB / 0.9573 GB, free: 34.51 MB / 0.6075 GB Notification: Performance of SimCode: time 1.262e-06/1.88, allocations: 0 / 0.9573 GB, free: 34.51 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4402/2.32, allocations: 132.4 MB / 1.087 GB, free: 347.4 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.96/19.28, allocations: 18.58 kB / 1.087 GB, free: 347.4 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 sys.exit(0), Time elapsed: 24.54084307793528] Failed to read output from testmodel.py, exit status != 0: 19.462927238084376 19.477929172 18.311668029 Calling exit ...