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.00169/0.00169, allocations: 110.4 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.002172/0.002172, allocations: 215 kB / 22.25 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.458/1.458, allocations: 207.6 MB / 233 MB, free: 9.969 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.05586/0.05586, allocations: 9.152 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.002345/0.002345, allocations: 72.19 kB / 411.1 MB, free: 46.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07814/0.08049, allocations: 50.76 MB / 461.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter): time 0.02107/0.1016, allocations: 17.1 MB / 478.9 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01292/0.1145, allocations: 11.11 MB / 490 MB, free: 420 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.919e-05/0.1145, allocations: 4 kB / 490 MB, free: 416 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008027/0.1153, allocations: 299.2 kB / 490.3 MB, free: 116 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.846e-05/0.1154, allocations: 43.75 kB / 490.4 MB, free: 72 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.01644/0.1319, allocations: 6.148 MB / 496.5 MB, free: 9.918 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.132, allocations: 83.31 kB / 496.6 MB, free: 9.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.869e-05/0.1321, allocations: 4 kB / 496.6 MB, free: 9.836 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.167e-05/0.1322, allocations: 35.8 kB / 496.6 MB, free: 9.801 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.713e-05/0.1323, allocations: 23.92 kB / 496.7 MB, free: 9.777 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.1323, allocations: 0 / 496.7 MB, free: 9.777 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01759/0.1499, allocations: 9.104 MB / 0.4939 GB, free: 0.6562 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.173e-05/0.1499, allocations: 3.938 kB / 0.4939 GB, free: 0.6523 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.971e-05/0.15, allocations: 31.92 kB / 0.4939 GB, free: 0.6211 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009995/0.1599, allocations: 3.686 MB / 0.4975 GB, free: 12.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.16, allocations: 0 / 0.4975 GB, free: 12.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.16, allocations: 0 / 0.4975 GB, free: 12.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.16, allocations: 0 / 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.001929/0.1619, allocations: 0.7362 MB / 0.4983 GB, free: 12.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.847e-05/0.162, allocations: 15.98 kB / 0.4983 GB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.453e-05/0.162, allocations: 30.56 kB / 0.4983 GB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.897e-05/0.162, allocations: 7.938 kB / 0.4983 GB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.1622, allocations: 109.1 kB / 0.4984 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.1622, allocations: 7.938 kB / 0.4984 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.1622, allocations: 4 kB / 0.4984 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.1623, allocations: 53.69 kB / 0.4985 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1624, allocations: 3.984 kB / 0.4985 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.1624, allocations: 4 kB / 0.4985 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.1624, allocations: 0 / 0.4985 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.948e-05/0.1624, allocations: 31.92 kB / 0.4985 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002031/0.1626, allocations: 148.8 kB / 0.4987 GB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.149e-05/0.1627, allocations: 54.5 kB / 0.4987 GB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.676e-05/0.1628, allocations: 28.88 kB / 0.4987 GB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05757/0.2203, allocations: 11.86 MB / 0.5103 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/0.2204, allocations: 38.5 kB / 0.5103 GB, free: 15.64 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 2.425e-06/0.2204, allocations: 0 / 0.5103 GB, free: 15.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003035/0.2207, allocations: 129.6 kB / 0.5105 GB, free: 15.51 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.2207, allocations: 51.41 kB / 0.5105 GB, free: 15.45 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.555e-05/0.2208, allocations: 105.8 kB / 0.5106 GB, free: 15.34 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.2208, allocations: 25.7 kB / 0.5106 GB, free: 15.3 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.926e-05/0.2209, allocations: 80.14 kB / 0.5107 GB, free: 15.22 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.887e-05/0.2209, allocations: 47.73 kB / 0.5108 GB, free: 15.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.295e-05/0.221, allocations: 21.72 kB / 0.5108 GB, free: 15.15 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.2211, allocations: 314.8 kB / 0.5111 GB, free: 14.83 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.206e-05/0.2212, allocations: 32 kB / 0.5111 GB, free: 14.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.608e-05/0.2212, allocations: 25.98 kB / 0.5111 GB, free: 14.78 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.295e-05/0.2213, allocations: 72.78 kB / 0.5112 GB, free: 14.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2213, allocations: 0 / 0.5112 GB, free: 14.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001368/0.2214, allocations: 98.12 kB / 0.5113 GB, free: 14.6 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.2215, allocations: 7.938 kB / 0.5113 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2215, allocations: 4.062 kB / 0.5113 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.2215, allocations: 4 kB / 0.5113 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.643e-06/0.2215, allocations: 0 / 0.5113 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.2215, allocations: 3.984 kB / 0.5113 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.766e-05/0.2215, allocations: 3.953 kB / 0.5113 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.2215, allocations: 0 / 0.5113 GB, free: 14.58 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.497e-05/0.2216, allocations: 113.8 kB / 0.5114 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.723e-05/0.2216, allocations: 11.89 kB / 0.5115 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000232/0.2219, allocations: 159.7 kB / 0.5116 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-06/0.2219, allocations: 7.984 kB / 0.5116 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2219, allocations: 0 / 0.5116 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2219, allocations: 0 / 0.5116 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.222, allocations: 148.6 kB / 0.5118 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.222, allocations: 3.984 kB / 0.5118 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/0.222, allocations: 0 / 0.5118 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.222, allocations: 3.938 kB / 0.5118 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.222, allocations: 3.938 kB / 0.5118 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.222, allocations: 0 / 0.5118 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.222, allocations: 4.031 kB / 0.5118 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.2222, allocations: 89.08 kB / 0.5119 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.114e-05/0.2222, allocations: 7.938 kB / 0.5119 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.2222, allocations: 0 / 0.5119 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.031e-05/0.2222, allocations: 0 / 0.5119 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.493e-05/0.2222, allocations: 3.984 kB / 0.5119 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.2222, allocations: 7.938 kB / 0.5119 GB, free: 13.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.314e-05/0.2223, allocations: 107.3 kB / 0.512 GB, free: 13.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2223, allocations: 0 / 0.512 GB, free: 13.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002095/0.2244, 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.004125/0.2285, allocations: 1.908 MB / 0.5147 GB, free: 11 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001502/0.2287, allocations: 43.98 kB / 0.5147 GB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2287, allocations: 3.938 kB / 0.5147 GB, free: 10.95 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.335e-05/0.2287, allocations: 15.98 kB / 0.5148 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.0004489/0.2292, allocations: 52.05 kB / 0.5148 GB, free: 10.89 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002531/0.2317, allocations: 1.679 MB / 0.5164 GB, free: 9.125 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.232, allocations: 0.6846 MB / 0.5171 GB, free: 8.414 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.734e-05/0.2321, allocations: 4.031 kB / 0.5171 GB, free: 8.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.291e-05/0.2321, allocations: 15.44 kB / 0.5171 GB, free: 8.395 MB / 398.1 MB Notification: Performance of SimCode: time 1.052e-06/0.2321, allocations: 4 kB / 0.5171 GB, free: 8.391 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.259/0.4911, allocations: 25.9 MB / 0.5424 GB, free: 38.89 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.53, allocations: 3.906 kB / 0.5424 GB, free: 38.89 MB / 398.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 1 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: 15.184549992001848] Failed to read output from testmodel.py, exit status != 0: 12.648350736002612 12.667268618 12.503687594 Calling exit ...