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.000836/0.000836, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008653/0.0008653, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8659/0.8659, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.02946/0.02946, allocations: 7.515 MB / 266.7 MB, free: 6.18 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 391.7 MB, free: 6.352 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.748e-06/1.153e-05, allocations: 2.281 kB / 391.7 MB, free: 6.348 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter): time 0.01135/0.01137, allocations: 15.45 MB / 407.2 MB, free: 6.84 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006487/0.01785, allocations: 9.818 MB / 417 MB, free: 12.99 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.845e-05/0.0179, allocations: 4 kB / 417 MB, free: 12.99 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004871/0.01839, allocations: 235.2 kB / 417.2 MB, free: 12.76 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 4.793e-05/0.01844, allocations: 43.77 kB / 417.3 MB, free: 12.71 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232: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 main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232: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.008995/0.02743, allocations: 6.102 MB / 423.4 MB, free: 6.602 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 9.77e-05/0.02753, allocations: 79.48 kB / 423.4 MB, free: 6.523 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.89e-05/0.02757, allocations: 3.984 kB / 423.4 MB, free: 6.52 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.243e-05/0.02764, allocations: 51.78 kB / 423.5 MB, free: 6.469 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.161e-05/0.02767, allocations: 15.94 kB / 423.5 MB, free: 6.453 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.02768, allocations: 4 kB / 423.5 MB, free: 6.449 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005921/0.0336, allocations: 6.142 MB / 429.7 MB, free: 300 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.32e-05/0.03362, allocations: 7.938 kB / 429.7 MB, free: 292 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.726e-05/0.03365, allocations: 16 kB / 429.7 MB, free: 276 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003864/0.03752, allocations: 3.647 MB / 433.3 MB, free: 12.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.03752, allocations: 0 / 433.3 MB, free: 12.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.03752, allocations: 0 / 433.3 MB, free: 12.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.03753, allocations: 0 / 433.3 MB, free: 12.61 MB / 410.7 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.001073/0.0386, allocations: 0.7284 MB / 434.1 MB, free: 11.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.03864, allocations: 8.625 kB / 434.1 MB, free: 11.84 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.806e-05/0.03866, allocations: 38.55 kB / 434.1 MB, free: 11.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.328e-05/0.03869, allocations: 7.891 kB / 434.1 MB, free: 11.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.62e-05/0.03876, allocations: 117.1 kB / 434.2 MB, free: 11.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.286e-06/0.03877, allocations: 3.938 kB / 434.2 MB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.03878, allocations: 4 kB / 434.2 MB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.407e-05/0.03887, allocations: 58.94 kB / 434.3 MB, free: 11.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.03888, allocations: 7.922 kB / 434.3 MB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.553e-06/0.03889, allocations: 0 / 434.3 MB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.03889, allocations: 8 kB / 434.3 MB, free: 11.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.948e-05/0.03892, allocations: 23.98 kB / 434.3 MB, free: 11.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001285/0.03905, allocations: 152.6 kB / 434.5 MB, free: 11.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.719e-05/0.0391, allocations: 46.5 kB / 434.5 MB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.451e-05/0.03912, allocations: 32.88 kB / 434.6 MB, free: 11.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1564/0.1955, allocations: 11.9 MB / 446.5 MB, free: 93.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.1955, allocations: 37.5 kB / 446.5 MB, free: 93.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.824e-06/0.1955, allocations: 0 / 446.5 MB, free: 93.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002076/0.1957, allocations: 137.4 kB / 446.6 MB, free: 93.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.752e-05/0.1957, allocations: 51.41 kB / 446.7 MB, free: 93.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.577e-05/0.1958, allocations: 96.31 kB / 446.8 MB, free: 93.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.58e-06/0.1958, allocations: 25.7 kB / 446.8 MB, free: 93.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.098e-05/0.1958, allocations: 83.77 kB / 446.9 MB, free: 92.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.437e-05/0.1958, allocations: 41.78 kB / 446.9 MB, free: 92.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.473e-05/0.1958, allocations: 22.75 kB / 446.9 MB, free: 92.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.666e-05/0.1959, allocations: 317.6 kB / 447.3 MB, free: 92.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.995e-05/0.1959, allocations: 29.98 kB / 447.3 MB, free: 92.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.747e-05/0.1959, allocations: 22.16 kB / 447.3 MB, free: 92.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.794e-05/0.196, allocations: 74.25 kB / 447.4 MB, free: 92.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.196, allocations: 0 / 447.4 MB, free: 92.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 6.463e-05/0.196, allocations: 100.4 kB / 447.5 MB, free: 92.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.196, allocations: 6.719 kB / 447.5 MB, free: 92.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.196, allocations: 0 / 447.5 MB, free: 92.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.196, allocations: 2.25 kB / 447.5 MB, free: 92.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/0.196, allocations: 0.6562 kB / 447.5 MB, free: 92.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.1961, allocations: 3.469 kB / 447.5 MB, free: 92.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.229e-05/0.1961, allocations: 13.3 kB / 447.5 MB, free: 92.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.1961, allocations: 0 / 447.5 MB, free: 92.57 MB / 410.7 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 3.948e-05/0.1961, allocations: 113.9 kB / 447.6 MB, free: 92.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.52e-06/0.1961, allocations: 6.438 kB / 447.6 MB, free: 92.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001282/0.1963, allocations: 160.6 kB / 447.8 MB, free: 92.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.1963, allocations: 3.344 kB / 447.8 MB, free: 92.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1963, allocations: 3.422 kB / 447.8 MB, free: 92.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1963, allocations: 3.406 kB / 447.8 MB, free: 92.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.438e-05/0.1963, allocations: 145.1 kB / 447.9 MB, free: 92.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1963, allocations: 0 / 447.9 MB, free: 92.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.72e-07/0.1963, allocations: 3.312 kB / 447.9 MB, free: 92.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.11e-07/0.1963, allocations: 0 / 447.9 MB, free: 92.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.509e-06/0.1963, allocations: 0 / 447.9 MB, free: 92.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1963, allocations: 4.406 kB / 447.9 MB, free: 92.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1963, allocations: 3.234 kB / 447.9 MB, free: 92.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.879e-05/0.1964, allocations: 94.94 kB / 448 MB, free: 92.13 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.332e-06/0.1964, allocations: 17.17 kB / 448.1 MB, free: 92.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.1964, allocations: 1.125 kB / 448.1 MB, free: 92.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.138e-05/0.1964, allocations: 6.781 kB / 448.1 MB, free: 92.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.929e-06/0.1964, allocations: 3.516 kB / 448.1 MB, free: 92.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-06/0.1964, allocations: 0 / 448.1 MB, free: 92.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.403e-05/0.1964, allocations: 99.88 kB / 448.2 MB, free: 92.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1964, allocations: 0 / 448.2 MB, free: 92.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001245/0.1977, allocations: 0.8813 MB / 449 MB, free: 92.01 MB / 410.7 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.00204/0.1997, allocations: 2.01 MB / 451.1 MB, free: 91.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.936e-05/0.1998, allocations: 47.59 kB / 451.1 MB, free: 91.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.1998, allocations: 7.094 kB / 451.1 MB, free: 91.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.877e-06/0.1998, allocations: 13.69 kB / 451.1 MB, free: 91.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.2001, allocations: 50.88 kB / 451.2 MB, free: 91.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008905/0.201, allocations: 1.681 MB / 452.8 MB, free: 89.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.543e-05/0.201, allocations: 70.16 kB / 452.9 MB, free: 89.73 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.169e-05/0.201, allocations: 6.031 kB / 452.9 MB, free: 89.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.309e-05/0.201, allocations: 15.78 kB / 452.9 MB, free: 89.73 MB / 410.7 MB Notification: Performance of SimCode: time 3.61e-07/0.201, allocations: 2.125 kB / 452.9 MB, free: 89.73 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03307/0.2341, allocations: 26.78 MB / 479.7 MB, free: 84.31 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.068/7.302, allocations: 7.047 kB / 479.7 MB, free: 84.31 MB / 410.7 MB " [Timeout remaining time 653] (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: 8.950673346407712] Failed to read output from testmodel.py, exit status != 0: 7.394279443658888 7.402673237 7.363740003 Calling exit ...