Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.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.001362/0.001362, 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.001426/0.001426, allocations: 220.3 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.401/1.401, 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.05384/0.05384, allocations: 9.158 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.Parameter.State_pT_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_pT_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter",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.002234/0.002234, allocations: 71.59 kB / 411.1 MB, free: 46.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06583/0.06807, allocations: 50.75 MB / 461.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter): time 0.02108/0.08915, allocations: 17.1 MB / 478.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0132/0.1023, allocations: 11.13 MB / 490 MB, free: 400 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.56e-05/0.1024, allocations: 3.938 kB / 490 MB, free: 396 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008071/0.1032, allocations: 295.2 kB / 490.3 MB, free: 100 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.1033, allocations: 39.75 kB / 490.4 MB, free: 60 kB / 350.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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:1231:13-1231:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:1231:13-1231:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.01669/0.12, allocations: 6.137 MB / 496.5 MB, free: 9.922 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.1202, allocations: 87.48 kB / 496.6 MB, free: 9.836 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.891e-05/0.1202, allocations: 4 kB / 496.6 MB, free: 9.832 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.976e-05/0.1203, allocations: 39.78 kB / 496.6 MB, free: 9.793 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.216e-05/0.1204, allocations: 15.94 kB / 496.6 MB, free: 9.777 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.368e-06/0.1204, allocations: 0 / 496.6 MB, free: 9.777 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01691/0.1373, allocations: 9.112 MB / 0.4939 GB, free: 0.6484 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.819e-05/0.1373, allocations: 3.938 kB / 0.4939 GB, free: 0.6445 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.056e-05/0.1374, allocations: 27.94 kB / 0.4939 GB, free: 0.6172 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008952/0.1463, allocations: 3.679 MB / 0.4975 GB, free: 12.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1463, allocations: 0 / 0.4975 GB, free: 12.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1463, allocations: 0 / 0.4975 GB, free: 12.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1463, allocations: 4 kB / 0.4975 GB, free: 12.93 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001875/0.1482, allocations: 0.7323 MB / 0.4982 GB, free: 12.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.1483, allocations: 15.98 kB / 0.4983 GB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.482e-05/0.1483, allocations: 38.5 kB / 0.4983 GB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.048e-05/0.1483, allocations: 7.938 kB / 0.4983 GB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.1484, allocations: 113.1 kB / 0.4984 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.1485, allocations: 0 / 0.4984 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.1485, allocations: 4 kB / 0.4984 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.1486, allocations: 53.69 kB / 0.4985 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.1486, allocations: 4 kB / 0.4985 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.1486, allocations: 4 kB / 0.4985 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.1486, allocations: 0 / 0.4985 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.697e-05/0.1487, allocations: 35.86 kB / 0.4985 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002104/0.1489, allocations: 144.8 kB / 0.4986 GB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.883e-05/0.149, allocations: 46.56 kB / 0.4987 GB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.086e-05/0.149, allocations: 28.88 kB / 0.4987 GB, free: 11.58 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05593/0.2049, allocations: 11.86 MB / 0.5103 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.33e-05/0.205, allocations: 38.44 kB / 0.5103 GB, free: 15.65 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 2.435e-06/0.205, allocations: 0 / 0.5103 GB, free: 15.65 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0002921/0.2053, allocations: 125.6 kB / 0.5105 GB, free: 15.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.2053, allocations: 63.36 kB / 0.5105 GB, free: 15.45 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.595e-05/0.2054, allocations: 93.86 kB / 0.5106 GB, free: 15.34 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.2054, allocations: 25.7 kB / 0.5106 GB, free: 15.31 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.405e-05/0.2055, allocations: 88.08 kB / 0.5107 GB, free: 15.22 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.533e-05/0.2055, allocations: 51.56 kB / 0.5108 GB, free: 15.17 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.733e-05/0.2056, allocations: 13.72 kB / 0.5108 GB, free: 15.15 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.2057, allocations: 318.8 kB / 0.5111 GB, free: 14.83 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.591e-05/0.2058, allocations: 44.11 kB / 0.5111 GB, free: 14.79 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.591e-05/0.2058, allocations: 23.94 kB / 0.5111 GB, free: 14.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.944e-05/0.2059, allocations: 76.66 kB / 0.5112 GB, free: 14.69 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2059, allocations: 0 / 0.5112 GB, free: 14.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001389/0.206, allocations: 89.69 kB / 0.5113 GB, free: 14.6 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.206, allocations: 11.92 kB / 0.5113 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.2061, allocations: 3.984 kB / 0.5113 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.2061, allocations: 4 kB / 0.5113 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-07/0.2061, allocations: 0 / 0.5113 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.247e-06/0.2061, allocations: 0 / 0.5113 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.738e-05/0.2061, allocations: 8.016 kB / 0.5113 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.2061, allocations: 4 kB / 0.5113 GB, free: 14.57 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (state_ps.phase,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.369e-05/0.2062, allocations: 109.8 kB / 0.5114 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.829e-05/0.2062, allocations: 11.89 kB / 0.5115 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002398/0.2065, allocations: 155.7 kB / 0.5116 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.2065, allocations: 4 kB / 0.5116 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.2065, allocations: 0 / 0.5116 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.2065, allocations: 4.031 kB / 0.5116 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.2066, allocations: 152.6 kB / 0.5118 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2066, allocations: 0 / 0.5118 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/0.2066, allocations: 0 / 0.5118 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.2066, allocations: 3.938 kB / 0.5118 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.2066, allocations: 0 / 0.5118 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2066, allocations: 0 / 0.5118 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2066, allocations: 3.938 kB / 0.5118 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/0.2068, allocations: 101 kB / 0.5119 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.192e-05/0.2068, allocations: 7.938 kB / 0.5119 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.2068, allocations: 3.984 kB / 0.5119 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.036e-05/0.2068, allocations: 0 / 0.5119 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.352e-05/0.2068, allocations: 0 / 0.5119 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.2068, allocations: 0 / 0.5119 GB, free: 13.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.676e-05/0.2069, allocations: 103.3 kB / 0.512 GB, free: 13.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2069, allocations: 0 / 0.512 GB, free: 13.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001959/0.2089, allocations: 0.88 MB / 0.5128 GB, free: 12.94 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (state_ps.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004159/0.213, allocations: 1.904 MB / 0.5147 GB, free: 11 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001295/0.2131, allocations: 43.92 kB / 0.5147 GB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2131, allocations: 0 / 0.5147 GB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.463e-05/0.2132, allocations: 20.06 kB / 0.5147 GB, free: 10.94 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004275/0.2136, allocations: 60.08 kB / 0.5148 GB, free: 10.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002329/0.2159, allocations: 1.683 MB / 0.5164 GB, free: 9.117 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.2163, allocations: 0.6807 MB / 0.5171 GB, free: 8.41 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.298e-05/0.2163, allocations: 0 / 0.5171 GB, free: 8.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.897e-05/0.2163, allocations: 19.44 kB / 0.5171 GB, free: 8.391 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2163, allocations: 4 kB / 0.5171 GB, free: 8.387 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2334/0.4498, allocations: 25.9 MB / 0.5424 GB, free: 61.62 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.32, allocations: 1.875 kB / 0.5424 GB, free: 61.62 MB / 398.1 MB " [Timeout remaining time 648] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter_fmu --startTime=0 --stopTime=2 --stepSize=1 --timeout=50 --tolerance=1e-07 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.777949659153819] Failed to read output from testmodel.py, exit status != 0: 12.441294094081968 12.453466696 12.304562596 Calling exit ...