Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_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.00106/0.00106, allocations: 72.89 kB / 19.94 MB, free: 4.391 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.001058/0.001058, allocations: 173 kB / 23.36 MB, free: 0.9766 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.9707/0.9707, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.03079/0.03079, allocations: 7.527 MB / 267.8 MB, free: 5.879 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_ph_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_ph_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.036e-06/3.036e-06, allocations: 0 / 285.8 MB, free: 3.855 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.781e-05/2.085e-05, allocations: 2.312 kB / 285.8 MB, free: 3.852 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ph_parameter): time 0.1435/0.1435, allocations: 16.81 MB / 302.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007466/0.1509, allocations: 9.671 MB / 312.3 MB, free: 5.531 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.617e-05/0.151, allocations: 1.25 kB / 312.3 MB, free: 5.531 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006712/0.1517, allocations: 224 kB / 312.5 MB, free: 5.383 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.151e-05/0.1517, allocations: 27.56 kB / 312.5 MB, free: 5.359 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888: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:888:13-888: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.01179/0.1635, allocations: 5.374 MB / 317.9 MB, free: 1.121 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.1636, allocations: 51.67 kB / 318 MB, free: 1.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.165e-05/0.1636, allocations: 7.984 kB / 318 MB, free: 1.062 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.1637, allocations: 39.78 kB / 318 MB, free: 1.023 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.25e-05/0.1638, allocations: 8 kB / 318 MB, free: 1.016 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.468e-06/0.1638, allocations: 0 / 318 MB, free: 1.016 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008236/0.172, allocations: 5.499 MB / 323.5 MB, free: 11.5 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.638e-05/0.172, allocations: 4 kB / 323.5 MB, free: 11.5 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.393e-05/0.1721, allocations: 8 kB / 323.5 MB, free: 11.49 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007186/0.1793, allocations: 3.261 MB / 326.8 MB, free: 8.223 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.1793, allocations: 0 / 326.8 MB, free: 8.223 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1793, allocations: 0 / 326.8 MB, free: 8.223 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1793, allocations: 0 / 326.8 MB, free: 8.223 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001483/0.1808, allocations: 0.6102 MB / 327.4 MB, free: 7.586 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.1808, allocations: 8.625 kB / 327.4 MB, free: 7.578 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.279e-05/0.1809, allocations: 7.984 kB / 327.4 MB, free: 7.57 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.55e-05/0.181, allocations: 113.1 kB / 327.5 MB, free: 7.434 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.181, allocations: 4 kB / 327.5 MB, free: 7.43 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.859e-06/0.181, allocations: 3.938 kB / 327.5 MB, free: 7.426 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.882e-05/0.1811, allocations: 32.53 kB / 327.6 MB, free: 7.387 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.1811, allocations: 0 / 327.6 MB, free: 7.387 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.1811, allocations: 0 / 327.6 MB, free: 7.387 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.505e-06/0.1811, allocations: 0 / 327.6 MB, free: 7.387 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.056e-05/0.1811, allocations: 7.984 kB / 327.6 MB, free: 7.379 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001183/0.1812, allocations: 71.33 kB / 327.6 MB, free: 7.293 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.045e-05/0.1813, allocations: 26.59 kB / 327.7 MB, free: 7.258 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.437e-05/0.1813, allocations: 12.95 kB / 327.7 MB, free: 7.242 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02378/0.2051, allocations: 10.96 MB / 338.6 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.442e-05/0.2051, allocations: 34.5 kB / 338.7 MB, free: 12.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 4.228e-06/0.2051, allocations: 4 kB / 338.7 MB, free: 12.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001341/0.2052, allocations: 49.67 kB / 338.7 MB, free: 12.2 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.2053, allocations: 55.34 kB / 338.8 MB, free: 12.13 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.334e-05/0.2053, allocations: 98.72 kB / 338.9 MB, free: 12.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.765e-06/0.2053, allocations: 25.7 kB / 338.9 MB, free: 11.99 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.174e-05/0.2054, allocations: 84.14 kB / 339 MB, free: 11.9 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.2054, allocations: 27.77 kB / 339 MB, free: 11.88 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.371e-05/0.2054, allocations: 17.88 kB / 339 MB, free: 11.85 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003032/0.2057, allocations: 318.8 kB / 339.3 MB, free: 11.53 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.41e-05/0.2057, allocations: 2.828 kB / 339.3 MB, free: 11.53 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.714e-06/0.2057, allocations: 4 kB / 339.3 MB, free: 11.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.036e-05/0.2058, allocations: 32.3 kB / 339.4 MB, free: 11.49 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2058, allocations: 0 / 339.4 MB, free: 11.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.161e-05/0.2058, allocations: 42.23 kB / 339.4 MB, free: 11.44 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.2058, allocations: 8 kB / 339.4 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2058, allocations: 0 / 339.4 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.2059, allocations: 0 / 339.4 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.318e-06/0.2059, allocations: 64 / 339.4 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.935e-06/0.2059, allocations: 4.625 kB / 339.4 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.54e-05/0.2059, allocations: 2 kB / 339.4 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.2059, allocations: 4 kB / 339.4 MB, free: 11.43 MB / 298.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: 1 (inletState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 5.719e-05/0.2059, allocations: 116.7 kB / 339.5 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.097e-06/0.206, allocations: 0 / 339.5 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.2061, allocations: 192.6 kB / 339.7 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.031e-05/0.2061, allocations: 180.3 kB / 339.9 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.691e-05/0.2062, allocations: 180.2 kB / 340.1 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.639e-05/0.2062, allocations: 176.3 kB / 340.3 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.2063, allocations: 321.4 kB / 340.6 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.523e-05/0.2063, allocations: 108.9 kB / 340.7 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.372e-05/0.2064, allocations: 104.9 kB / 340.8 MB, free: 9.977 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.586e-05/0.2064, allocations: 192.2 kB / 341 MB, free: 9.781 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.012e-05/0.2065, allocations: 176.3 kB / 341.1 MB, free: 9.602 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.373e-05/0.2065, allocations: 180.2 kB / 341.3 MB, free: 9.418 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.85e-05/0.2065, allocations: 184.2 kB / 341.5 MB, free: 9.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.2066, allocations: 311.9 kB / 341.8 MB, free: 8.902 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.745e-05/0.2067, allocations: 108.9 kB / 341.9 MB, free: 8.789 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.508e-05/0.2067, allocations: 189.2 kB / 342.1 MB, free: 8.598 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.114e-05/0.2068, allocations: 105 kB / 342.2 MB, free: 8.488 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.552e-05/0.2068, allocations: 184.2 kB / 342.4 MB, free: 8.301 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/0.2069, allocations: 108.9 kB / 342.5 MB, free: 8.188 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.818e-05/0.2069, allocations: 20.84 kB / 342.5 MB, free: 8.164 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2069, allocations: 0 / 342.5 MB, free: 8.164 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001522/0.2084, allocations: 0.7554 MB / 343.3 MB, free: 7.406 MB / 298.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.002329/0.2107, allocations: 1.424 MB / 344.7 MB, free: 5.98 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.368e-05/0.2108, allocations: 16.78 kB / 344.7 MB, free: 5.961 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.2108, allocations: 0 / 344.7 MB, free: 5.961 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.372e-06/0.2108, allocations: 0 / 344.7 MB, free: 5.961 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.2111, allocations: 0.4904 MB / 345.2 MB, free: 5.477 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000499/0.2116, allocations: 229.1 kB / 345.4 MB, free: 5.227 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.815e-05/0.2117, allocations: 55.36 kB / 345.5 MB, free: 5.152 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.089e-05/0.2117, allocations: 4 kB / 345.5 MB, free: 5.148 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.839e-05/0.2117, allocations: 63.36 kB / 345.5 MB, free: 5.086 MB / 298.7 MB Notification: Performance of SimCode: time 1.152e-06/0.2117, allocations: 0 / 345.5 MB, free: 5.086 MB / 298.7 MB Notification: Performance of Templates: time 0.02973/0.2415, allocations: 26.27 MB / 371.8 MB, free: 10.9 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8343933690339327]