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.001261/0.001261, allocations: 114.8 kB / 17.17 MB, free: 5.887 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.001333/0.001333, allocations: 206.2 kB / 20.13 MB, free: 2.941 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.355/1.355, allocations: 207.6 MB / 230.5 MB, free: 4.059 MB / 174.1 MB " [Timeout remaining time 179] 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.04889/0.04889, allocations: 9.145 MB / 291.5 MB, free: 7.184 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.002095/0.002095, allocations: 71.91 kB / 406.6 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2294, allocations: 50.72 MB / 457.3 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter): time 0.01892/0.2483, allocations: 17.05 MB / 474.3 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01202/0.2603, allocations: 11.13 MB / 485.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.056e-05/0.2603, allocations: 0 / 485.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000688/0.261, allocations: 287.2 kB / 485.7 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.011e-05/0.2611, allocations: 47.75 kB / 485.8 MB, free: 11.32 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.0155/0.2766, allocations: 6.063 MB / 491.8 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001476/0.2768, allocations: 91.47 kB / 491.9 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.86e-05/0.2768, allocations: 4 kB / 491.9 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.89e-05/0.2769, allocations: 35.8 kB / 492 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.691e-05/0.277, allocations: 15.94 kB / 492 MB, free: 5.094 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.824e-06/0.277, allocations: 0 / 492 MB, free: 5.094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01706/0.294, allocations: 8.8 MB / 0.4891 GB, free: 12.28 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.954e-05/0.294, allocations: 3.938 kB / 0.4891 GB, free: 12.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.053e-05/0.2941, allocations: 27.92 kB / 0.4891 GB, free: 12.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009322/0.3034, allocations: 3.659 MB / 0.4927 GB, free: 8.578 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3034, allocations: 0 / 0.4927 GB, free: 8.578 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3034, allocations: 0 / 0.4927 GB, free: 8.578 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.3034, allocations: 3.938 kB / 0.4927 GB, free: 8.574 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.001796/0.3052, allocations: 0.8153 MB / 0.4935 GB, free: 7.707 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.3053, allocations: 12.03 kB / 0.4935 GB, free: 7.695 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.827e-05/0.3053, allocations: 0 / 0.4935 GB, free: 7.695 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.488e-05/0.3053, allocations: 42.55 kB / 0.4935 GB, free: 7.645 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.933e-05/0.3054, allocations: 7.938 kB / 0.4935 GB, free: 7.637 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.3055, allocations: 163 kB / 0.4937 GB, free: 7.438 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.3055, allocations: 0 / 0.4937 GB, free: 7.438 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.287e-06/0.3055, allocations: 4 kB / 0.4937 GB, free: 7.434 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.3056, allocations: 57.62 kB / 0.4937 GB, free: 7.371 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.3056, allocations: 0 / 0.4937 GB, free: 7.371 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.3057, allocations: 0 / 0.4937 GB, free: 7.371 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.497e-06/0.3057, allocations: 3.938 kB / 0.4937 GB, free: 7.367 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.125e-05/0.3057, allocations: 31.98 kB / 0.4938 GB, free: 7.336 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002154/0.3059, allocations: 181.6 kB / 0.4939 GB, free: 7.109 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.958e-05/0.306, allocations: 34.58 kB / 0.494 GB, free: 7.066 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.242e-05/0.306, allocations: 32.88 kB / 0.494 GB, free: 7.031 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06576/0.3718, allocations: 41.39 MB / 0.5344 GB, free: 6.312 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.188e-05/0.3718, allocations: 38.5 kB / 0.5345 GB, free: 6.266 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 2.445e-06/0.3718, allocations: 0 / 0.5345 GB, free: 6.266 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0002843/0.3721, allocations: 129.6 kB / 0.5346 GB, free: 6.133 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.3722, allocations: 55.34 kB / 0.5346 GB, free: 6.066 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.068e-05/0.3722, allocations: 97.86 kB / 0.5347 GB, free: 5.961 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.3723, allocations: 33.8 kB / 0.5348 GB, free: 5.922 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.579e-05/0.3723, allocations: 80.14 kB / 0.5348 GB, free: 5.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.157e-05/0.3723, allocations: 43.58 kB / 0.5349 GB, free: 5.797 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/0.3724, allocations: 21.7 kB / 0.5349 GB, free: 5.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.3725, allocations: 314.8 kB / 0.5352 GB, free: 5.453 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.512e-05/0.3725, allocations: 31.92 kB / 0.5352 GB, free: 5.422 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.055e-05/0.3726, allocations: 23.98 kB / 0.5352 GB, free: 5.398 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.043e-05/0.3727, allocations: 69.3 kB / 0.5353 GB, free: 5.328 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3727, allocations: 4.031 kB / 0.5353 GB, free: 5.324 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001278/0.3728, allocations: 101.6 kB / 0.5354 GB, free: 5.219 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.3728, allocations: 4 kB / 0.5354 GB, free: 5.215 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.3728, allocations: 3.984 kB / 0.5354 GB, free: 5.211 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.3728, allocations: 4 kB / 0.5354 GB, free: 5.207 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.725e-06/0.3728, allocations: 4 kB / 0.5354 GB, free: 5.203 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.3728, allocations: 0 / 0.5354 GB, free: 5.203 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.792e-05/0.3729, allocations: 7.891 kB / 0.5354 GB, free: 5.195 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.3729, allocations: 0 / 0.5354 GB, free: 5.195 MB / 414.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.032e-05/0.3729, allocations: 117.8 kB / 0.5356 GB, free: 5.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.692e-05/0.373, allocations: 11.89 kB / 0.5356 GB, free: 5.059 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002104/0.3732, allocations: 155.7 kB / 0.5357 GB, free: 4.879 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.3732, allocations: 3.984 kB / 0.5357 GB, free: 4.875 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3732, allocations: 0 / 0.5357 GB, free: 4.875 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.3732, allocations: 0 / 0.5357 GB, free: 4.875 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.3733, allocations: 173.6 kB / 0.5359 GB, free: 4.656 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3733, allocations: 0 / 0.5359 GB, free: 4.656 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.314e-06/0.3733, allocations: 3.938 kB / 0.5359 GB, free: 4.652 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.3733, allocations: 11.91 kB / 0.5359 GB, free: 4.641 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.3733, allocations: 0 / 0.5359 GB, free: 4.641 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.3733, allocations: 0 / 0.5359 GB, free: 4.641 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3733, allocations: 0 / 0.5359 GB, free: 4.641 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.3735, allocations: 93.06 kB / 0.536 GB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.631e-05/0.3735, allocations: 84.98 kB / 0.5361 GB, free: 4.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.3735, allocations: 3.938 kB / 0.5361 GB, free: 4.426 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.844e-05/0.3735, allocations: 4 kB / 0.5361 GB, free: 4.422 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.088e-05/0.3735, allocations: 4.031 kB / 0.5361 GB, free: 4.418 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.3735, allocations: 0 / 0.5361 GB, free: 4.418 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.857e-05/0.3736, allocations: 99.27 kB / 0.5362 GB, free: 4.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3736, allocations: 0 / 0.5362 GB, free: 4.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002031/0.3756, allocations: 0.88 MB / 0.537 GB, free: 3.438 MB / 414.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.003678/0.3793, allocations: 1.902 MB / 0.5389 GB, free: 1.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001231/0.3794, allocations: 47.86 kB / 0.5389 GB, free: 1.453 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.3794, allocations: 0 / 0.5389 GB, free: 1.453 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.631e-05/0.3795, allocations: 12 kB / 0.5389 GB, free: 1.441 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004078/0.3799, allocations: 64.27 kB / 0.539 GB, free: 1.379 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/0.3817, allocations: 1.669 MB / 0.5406 GB, free: 15.63 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.382, allocations: 0.6808 MB / 0.5413 GB, free: 14.92 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.117e-05/0.382, allocations: 8 kB / 0.5413 GB, free: 14.91 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.106e-05/0.3821, allocations: 19.42 kB / 0.5413 GB, free: 14.89 MB / 430.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3821, allocations: 0 / 0.5413 GB, free: 14.89 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04967/0.4317, allocations: 25.81 MB / 0.5665 GB, free: 5.07 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.723/9.155, allocations: 7.375 kB / 0.5665 GB, free: 5.066 MB / 446.1 MB " [Timeout remaining time 651] (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 os._exit(0), Time elapsed: 11.443946312007029] Failed to read output from testmodel.py, exit status != 0: 9.29849038500106 9.312395879 9.006091587 Calling exit ...