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.0008455/0.0008455, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0008512/0.0008512, allocations: 181 kB / 23.36 MB, free: 1.133 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.995/0.995, allocations: 177.1 MB / 203.8 MB, free: 5.457 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.02891/0.02891, allocations: 7.531 MB / 267.8 MB, free: 5.855 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: translateModel(HelmholtzMedia.Examples.Parameter.State_pT_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_pT_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.295e-06/2.295e-06, allocations: 7.938 kB / 285.8 MB, free: 3.828 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.13e-05/1.36e-05, allocations: 2.312 kB / 285.8 MB, free: 3.824 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter): time 0.1187/0.1187, allocations: 16.96 MB / 302.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006652/0.1254, allocations: 11.06 MB / 313.8 MB, free: 4.277 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.939e-05/0.1255, allocations: 5.5 kB / 313.8 MB, free: 4.273 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005122/0.126, allocations: 233.2 kB / 314.1 MB, free: 4.117 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.813e-05/0.126, allocations: 45.2 kB / 314.1 MB, free: 4.078 MB / 266.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.01089/0.1369, allocations: 6.116 MB / 320.2 MB, free: 14.77 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.867e-05/0.137, allocations: 87.47 kB / 320.3 MB, free: 14.69 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.671e-05/0.137, allocations: 11.98 kB / 320.3 MB, free: 14.68 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.784e-05/0.1371, allocations: 47.78 kB / 320.4 MB, free: 14.63 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.947e-05/0.1371, allocations: 11.94 kB / 320.4 MB, free: 14.62 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.446e-06/0.1372, allocations: 4 kB / 320.4 MB, free: 14.61 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006805/0.144, allocations: 6.088 MB / 326.5 MB, free: 8.512 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.412e-05/0.144, allocations: 7.938 kB / 326.5 MB, free: 8.504 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.27e-05/0.144, allocations: 16 kB / 326.5 MB, free: 8.488 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005246/0.1493, allocations: 3.643 MB / 330.1 MB, free: 4.836 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.1493, allocations: 4 kB / 330.1 MB, free: 4.832 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1493, allocations: 0 / 330.1 MB, free: 4.832 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.136e-06/0.1493, allocations: 0 / 330.1 MB, free: 4.832 MB / 282.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.001187/0.1505, allocations: 0.7149 MB / 330.9 MB, free: 4.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.952e-05/0.1505, allocations: 12.62 kB / 330.9 MB, free: 4.078 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.589e-05/0.1505, allocations: 7.922 kB / 330.9 MB, free: 4.07 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.679e-05/0.1506, allocations: 109.2 kB / 331 MB, free: 3.938 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.1506, allocations: 0 / 331 MB, free: 3.938 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.1506, allocations: 0 / 331 MB, free: 3.938 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.389e-05/0.1507, allocations: 40.47 kB / 331 MB, free: 3.891 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.1507, allocations: 4 kB / 331 MB, free: 3.887 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.17e-06/0.1507, allocations: 0 / 331 MB, free: 3.887 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.1507, allocations: 7.984 kB / 331 MB, free: 3.879 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.17e-05/0.1507, allocations: 11.94 kB / 331 MB, free: 3.867 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.462e-05/0.1508, allocations: 90.58 kB / 331.1 MB, free: 3.762 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.294e-05/0.1508, allocations: 26.52 kB / 331.2 MB, free: 3.727 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.289e-05/0.1509, allocations: 12.89 kB / 331.2 MB, free: 3.711 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04708/0.1979, allocations: 24.39 MB / 355.6 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.198, allocations: 42.48 kB / 355.6 MB, free: 11.24 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 9.42e-07/0.198, allocations: 0 / 355.6 MB, free: 11.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001457/0.1981, allocations: 118.7 kB / 355.7 MB, free: 11.12 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.1981, allocations: 55.39 kB / 355.8 MB, free: 11.05 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.371e-05/0.1982, allocations: 106.5 kB / 355.9 MB, free: 10.94 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/0.1982, allocations: 29.73 kB / 355.9 MB, free: 10.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.473e-05/0.1982, allocations: 80.14 kB / 356 MB, free: 10.82 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.1982, allocations: 51.56 kB / 356 MB, free: 10.77 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.762e-05/0.1983, allocations: 21.69 kB / 356.1 MB, free: 10.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.87e-05/0.1983, allocations: 314.8 kB / 356.4 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.468e-05/0.1984, allocations: 7.578 kB / 356.4 MB, free: 10.42 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.203e-05/0.1984, allocations: 26.69 kB / 356.4 MB, free: 10.39 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.1986, allocations: 42.91 kB / 356.4 MB, free: 10.34 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1986, allocations: 0 / 356.4 MB, free: 10.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 6.753e-05/0.1986, allocations: 76.34 kB / 356.5 MB, free: 10.26 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.1986, allocations: 8 kB / 356.5 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.1986, allocations: 4 kB / 356.5 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.1987, allocations: 5.812 kB / 356.5 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.973e-05/0.1987, allocations: 0 / 356.5 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.1987, allocations: 4 kB / 356.5 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.648e-05/0.1987, allocations: 3.953 kB / 356.5 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.1987, allocations: 3.938 kB / 356.5 MB, free: 10.23 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 1 * 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 5.396e-05/0.1988, allocations: 113.8 kB / 356.6 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.453e-05/0.1988, allocations: 11.92 kB / 356.7 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001302/0.1989, allocations: 135.3 kB / 356.8 MB, free: 9.945 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1989, allocations: 0 / 356.8 MB, free: 9.945 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.1989, allocations: 0 / 356.8 MB, free: 9.945 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1989, allocations: 4 kB / 356.8 MB, free: 9.941 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.068e-05/0.199, allocations: 81.78 kB / 356.9 MB, free: 9.844 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.199, allocations: 0 / 356.9 MB, free: 9.844 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.493e-06/0.199, allocations: 3.938 kB / 356.9 MB, free: 9.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.199, allocations: 0 / 356.9 MB, free: 9.84 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.808e-06/0.199, allocations: 0 / 356.9 MB, free: 9.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.199, allocations: 4.625 kB / 356.9 MB, free: 9.836 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.199, allocations: 0 / 356.9 MB, free: 9.836 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.213e-05/0.199, allocations: 82.8 kB / 357 MB, free: 9.734 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.212e-06/0.199, allocations: 3.984 kB / 357 MB, free: 9.73 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.416e-06/0.1991, allocations: 0 / 357 MB, free: 9.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.261e-05/0.1991, allocations: 9.125 kB / 357 MB, free: 9.723 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.638e-06/0.1991, allocations: 0 / 357 MB, free: 9.723 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.1991, allocations: 0 / 357 MB, free: 9.723 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.75e-05/0.1991, allocations: 16.84 kB / 357 MB, free: 9.703 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1991, allocations: 0 / 357 MB, free: 9.703 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001366/0.2005, allocations: 0.9423 MB / 357.9 MB, free: 8.758 MB / 314.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.002177/0.2026, allocations: 1.654 MB / 359.6 MB, free: 7.105 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.934e-05/0.2027, allocations: 58.55 kB / 359.6 MB, free: 7.039 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2027, allocations: 0 / 359.6 MB, free: 7.039 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.514e-06/0.2027, allocations: 16.8 kB / 359.7 MB, free: 7.02 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001913/0.2029, allocations: 65.66 kB / 359.7 MB, free: 6.965 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004745/0.2034, allocations: 176.6 kB / 359.9 MB, free: 6.766 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.851e-05/0.2034, allocations: 59.34 kB / 360 MB, free: 6.688 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.362e-05/0.2035, allocations: 8.609 kB / 360 MB, free: 6.68 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.835e-05/0.2035, allocations: 79.34 kB / 360 MB, free: 6.602 MB / 314.7 MB Notification: Performance of SimCode: time 4.51e-07/0.2035, allocations: 0 / 360 MB, free: 6.602 MB / 314.7 MB Notification: Performance of Templates: time 0.02784/0.2314, allocations: 29.87 MB / 389.9 MB, free: 8.828 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.makefile [Timeout 660] (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 & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.464283314999193]