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.001518/0.001518, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001554/0.001554, allocations: 220.4 kB / 23.03 MB, free: 4.945 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.353/1.353, allocations: 207.7 MB / 233.9 MB, free: 9.781 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.05018/0.05018, allocations: 9.147 MB / 295.3 MB, free: 12.52 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_pT_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter",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.002089/0.002089, allocations: 75.45 kB / 411.8 MB, free: 46.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07512/0.07721, allocations: 50.75 MB / 462.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter): time 0.01863/0.09584, allocations: 15.41 MB / 478 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0106/0.1064, allocations: 9.81 MB / 487.8 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.161e-05/0.1065, allocations: 0 / 487.8 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006677/0.1072, allocations: 231.4 kB / 488 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.838e-05/0.1072, allocations: 51.75 kB / 488.1 MB, free: 2.938 MB / 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.0153/0.1226, allocations: 6.03 MB / 494.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.1227, allocations: 83.53 kB / 494.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.758e-05/0.1228, allocations: 0 / 494.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.833e-05/0.1229, allocations: 43.8 kB / 494.2 MB, free: 12.78 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.203e-05/0.1229, allocations: 19.88 kB / 494.3 MB, free: 12.76 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.228e-06/0.1229, allocations: 0 / 494.3 MB, free: 12.76 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01207/0.135, allocations: 6.355 MB / 0.4889 GB, free: 6.391 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.233e-05/0.135, allocations: 3.984 kB / 0.4889 GB, free: 6.387 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.314e-05/0.1351, allocations: 19.94 kB / 0.4889 GB, free: 6.367 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007514/0.1426, allocations: 3.086 MB / 0.4919 GB, free: 3.273 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.1426, allocations: 0 / 0.4919 GB, free: 3.273 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1426, allocations: 0 / 0.4919 GB, free: 3.273 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.1426, allocations: 0 / 0.4919 GB, free: 3.273 MB / 366.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.001676/0.1443, allocations: 0.7362 MB / 0.4926 GB, free: 2.504 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.1443, allocations: 11.98 kB / 0.4926 GB, free: 2.492 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.998e-05/0.1444, allocations: 4 kB / 0.4926 GB, free: 2.488 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.126e-05/0.1444, allocations: 34.56 kB / 0.4927 GB, free: 2.445 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.652e-05/0.1444, allocations: 3.938 kB / 0.4927 GB, free: 2.441 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.1445, allocations: 121.1 kB / 0.4928 GB, free: 2.297 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.1445, allocations: 7.938 kB / 0.4928 GB, free: 2.289 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.1445, allocations: 3.938 kB / 0.4928 GB, free: 2.285 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.1447, allocations: 53.69 kB / 0.4929 GB, free: 2.227 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.1447, allocations: 0 / 0.4929 GB, free: 2.227 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.1447, allocations: 0 / 0.4929 GB, free: 2.227 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.1447, allocations: 11.94 kB / 0.4929 GB, free: 2.215 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.995e-05/0.1447, allocations: 27.98 kB / 0.4929 GB, free: 2.188 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001896/0.1449, allocations: 148.7 kB / 0.493 GB, free: 2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.086e-05/0.145, allocations: 42.56 kB / 0.4931 GB, free: 1.949 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.1451, allocations: 40.77 kB / 0.4931 GB, free: 1.906 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05396/0.1991, allocations: 11.89 MB / 0.5047 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/0.1991, allocations: 34.5 kB / 0.5048 GB, free: 5.949 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 2.555e-06/0.1991, allocations: 0 / 0.5048 GB, free: 5.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0002852/0.1994, allocations: 133.3 kB / 0.5049 GB, free: 5.816 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.1994, allocations: 55.34 kB / 0.5049 GB, free: 5.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.561e-05/0.1995, allocations: 101.8 kB / 0.505 GB, free: 5.641 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.1995, allocations: 25.7 kB / 0.5051 GB, free: 5.609 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.598e-05/0.1996, allocations: 80.14 kB / 0.5051 GB, free: 5.527 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.218e-05/0.1996, allocations: 47.58 kB / 0.5052 GB, free: 5.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.1997, allocations: 17.72 kB / 0.5052 GB, free: 5.457 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1998, allocations: 323 kB / 0.5055 GB, free: 5.133 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.87e-05/0.1998, allocations: 28 kB / 0.5055 GB, free: 5.105 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.365e-05/0.1999, allocations: 27.98 kB / 0.5056 GB, free: 5.078 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.653e-05/0.2, allocations: 72.8 kB / 0.5056 GB, free: 5.004 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.2, allocations: 0 / 0.5056 GB, free: 5.004 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001307/0.2001, allocations: 101.5 kB / 0.5057 GB, free: 4.898 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.2001, allocations: 10.34 kB / 0.5057 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2001, allocations: 0 / 0.5057 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.2001, allocations: 0 / 0.5057 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.2001, allocations: 0 / 0.5057 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.2001, allocations: 0 / 0.5057 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.029e-05/0.2002, allocations: 16 kB / 0.5058 GB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.2002, allocations: 0 / 0.5058 GB, free: 4.875 MB / 382.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.685e-05/0.2003, allocations: 113.8 kB / 0.5059 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.393e-05/0.2003, allocations: 7.891 kB / 0.5059 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002383/0.2005, allocations: 155.6 kB / 0.506 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.2005, allocations: 3.984 kB / 0.506 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.2005, allocations: 0 / 0.506 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.2005, allocations: 0 / 0.506 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.2007, allocations: 144.6 kB / 0.5062 GB, free: 4.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.2007, allocations: 4.031 kB / 0.5062 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.084e-06/0.2007, allocations: 7.875 kB / 0.5062 GB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.2007, allocations: 0 / 0.5062 GB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.2007, allocations: 4 kB / 0.5062 GB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.2007, allocations: 0 / 0.5062 GB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.2007, allocations: 0 / 0.5062 GB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.2008, allocations: 93.06 kB / 0.5063 GB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.092e-05/0.2008, allocations: 7.938 kB / 0.5063 GB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.2008, allocations: 4 kB / 0.5063 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.204e-05/0.2008, allocations: 4 kB / 0.5063 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.708e-06/0.2008, allocations: 4.031 kB / 0.5063 GB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.2008, allocations: 0 / 0.5063 GB, free: 4.238 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.109e-05/0.2009, allocations: 103.2 kB / 0.5064 GB, free: 4.137 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2009, allocations: 0 / 0.5064 GB, free: 4.137 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002115/0.203, allocations: 0.88 MB / 0.5072 GB, free: 3.254 MB / 382.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.003924/0.207, allocations: 1.904 MB / 0.5091 GB, free: 1.316 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001402/0.2071, allocations: 51.97 kB / 0.5092 GB, free: 1.266 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2071, allocations: 0 / 0.5092 GB, free: 1.266 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.993e-05/0.2071, allocations: 12.28 kB / 0.5092 GB, free: 1.254 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004226/0.2075, allocations: 59.98 kB / 0.5092 GB, free: 1.195 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/0.2096, allocations: 1.681 MB / 0.5109 GB, free: 15.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.363e-05/0.2096, allocations: 75.11 kB / 0.5109 GB, free: 15.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.431e-05/0.2097, allocations: 4.031 kB / 0.5109 GB, free: 15.33 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.786e-05/0.2097, allocations: 19.42 kB / 0.511 GB, free: 15.32 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2097, allocations: 4.094 kB / 0.511 GB, free: 15.31 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2401/0.4498, allocations: 26.16 MB / 0.5365 GB, free: 58.5 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.09, allocations: 6.938 kB / 0.5365 GB, free: 58.5 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.603944323025644] Failed to read output from testmodel.py, exit status != 0: 12.255226776003838 12.266858767 12.121897509 Calling exit ...