Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_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.001515/0.001515, allocations: 80.81 kB / 19.94 MB, free: 4.539 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.001814/0.001814, allocations: 181.3 kB / 23.36 MB, free: 1.125 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.996/0.996, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.0365/0.0365, allocations: 7.528 MB / 267.8 MB, free: 5.887 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_pd_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_pd_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 285.8 MB, free: 3.859 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.835e-05/3.066e-05, allocations: 2.312 kB / 285.8 MB, free: 3.855 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pd_parameter): time 0.1603/0.1603, allocations: 16.87 MB / 302.7 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004368/0.1647, allocations: 5.762 MB / 308.4 MB, free: 8.406 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.025e-05/0.1647, allocations: 0 / 308.4 MB, free: 8.406 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005423/0.1653, allocations: 242.6 kB / 308.7 MB, free: 8.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.74e-05/0.1653, allocations: 26.59 kB / 308.7 MB, free: 8.227 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008832/0.1742, allocations: 4.321 MB / 313 MB, free: 5.445 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.527e-05/0.1742, allocations: 56.8 kB / 313.1 MB, free: 5.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.489e-05/0.1743, allocations: 2.656 kB / 313.1 MB, free: 5.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.164e-05/0.1743, allocations: 39.5 kB / 313.1 MB, free: 5.383 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.21e-05/0.1744, allocations: 8.781 kB / 313.1 MB, free: 5.383 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.428e-06/0.1744, allocations: 0 / 313.1 MB, free: 5.383 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004977/0.1794, allocations: 4.638 MB / 317.8 MB, free: 1.125 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.096e-05/0.1794, allocations: 8 kB / 317.8 MB, free: 1.117 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.523e-05/0.1794, allocations: 11.94 kB / 317.8 MB, free: 1.105 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003492/0.1829, allocations: 2.727 MB / 320.5 MB, free: 14.37 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1829, allocations: 0 / 320.5 MB, free: 14.37 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1829, allocations: 0 / 320.5 MB, free: 14.37 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.1829, allocations: 0 / 320.5 MB, free: 14.37 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.001013/0.1839, allocations: 0.5327 MB / 321.1 MB, free: 13.81 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.184, allocations: 12.62 kB / 321.1 MB, free: 13.8 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.137e-05/0.184, allocations: 3.938 kB / 321.1 MB, free: 13.8 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.949e-05/0.1841, allocations: 109.2 kB / 321.2 MB, free: 13.66 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.1841, allocations: 0 / 321.2 MB, free: 13.66 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.992e-06/0.1841, allocations: 0 / 321.2 MB, free: 13.66 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.146e-05/0.1841, allocations: 44.5 kB / 321.2 MB, free: 13.61 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.348e-06/0.1841, allocations: 0 / 321.2 MB, free: 13.61 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.551e-06/0.1842, allocations: 0 / 321.2 MB, free: 13.61 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1842, allocations: 4 kB / 321.2 MB, free: 13.61 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.218e-06/0.1842, allocations: 7.938 kB / 321.2 MB, free: 13.6 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.115e-05/0.1843, allocations: 62.7 kB / 321.3 MB, free: 13.52 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.879e-05/0.1843, allocations: 26.52 kB / 321.3 MB, free: 13.49 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.072e-05/0.1843, allocations: 8.891 kB / 321.3 MB, free: 13.48 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02168/0.206, allocations: 10.45 MB / 331.8 MB, free: 3.039 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.206, allocations: 39.12 kB / 331.8 MB, free: 2.992 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 3.907e-06/0.206, allocations: 0 / 331.8 MB, free: 2.992 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001766/0.2062, allocations: 57.61 kB / 331.9 MB, free: 2.93 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.2062, allocations: 59.34 kB / 331.9 MB, free: 2.859 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.982e-05/0.2063, allocations: 94.72 kB / 332 MB, free: 2.754 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.2063, allocations: 25.7 kB / 332 MB, free: 2.723 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.308e-05/0.2063, allocations: 84.14 kB / 332.1 MB, free: 2.637 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.998e-05/0.2064, allocations: 19.83 kB / 332.1 MB, free: 2.617 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.701e-05/0.2064, allocations: 13.72 kB / 332.2 MB, free: 2.598 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.608e-05/0.2065, allocations: 318.8 kB / 332.5 MB, free: 2.277 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.308e-05/0.2065, allocations: 10.98 kB / 332.5 MB, free: 2.266 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.868e-06/0.2065, allocations: 3.938 kB / 332.5 MB, free: 2.262 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.34e-05/0.2066, allocations: 27.67 kB / 332.5 MB, free: 2.23 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2066, allocations: 6.125 kB / 332.5 MB, free: 2.227 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 4.816e-05/0.2066, allocations: 38.25 kB / 332.6 MB, free: 2.184 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.2066, allocations: 8 kB / 332.6 MB, free: 2.176 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.2067, allocations: 0 / 332.6 MB, free: 2.176 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.2067, allocations: 0 / 332.6 MB, free: 2.176 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.089e-06/0.2067, allocations: 0 / 332.6 MB, free: 2.176 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.2067, allocations: 7.922 kB / 332.6 MB, free: 2.168 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.65e-05/0.2067, allocations: 3.938 kB / 332.6 MB, free: 2.164 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.2067, allocations: 8.062 kB / 332.6 MB, free: 2.156 MB / 282.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 8.515e-05/0.2068, allocations: 107.2 kB / 332.7 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.15e-06/0.2068, allocations: 0 / 332.7 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.2069, allocations: 184.7 kB / 332.9 MB, free: 1.84 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.577e-05/0.207, allocations: 176.3 kB / 333 MB, free: 1.66 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.787e-05/0.207, allocations: 184.2 kB / 333.2 MB, free: 1.473 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.011e-05/0.2071, allocations: 184.2 kB / 333.4 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.2072, allocations: 325.4 kB / 333.7 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.138e-05/0.2073, allocations: 104.9 kB / 333.8 MB, free: 0.832 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.439e-05/0.2073, allocations: 101 kB / 333.9 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.134e-05/0.2074, allocations: 180.3 kB / 334.1 MB, free: 0.543 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.864e-05/0.2074, allocations: 184.2 kB / 334.3 MB, free: 364 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.023e-05/0.2075, allocations: 185.5 kB / 334.5 MB, free: 172 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.29e-05/0.2075, allocations: 180.2 kB / 334.6 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.2077, allocations: 311.7 kB / 334.9 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.832e-05/0.2077, allocations: 109 kB / 335 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.939e-05/0.2078, allocations: 179.1 kB / 335.2 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.63e-05/0.2078, allocations: 105.7 kB / 335.3 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.455e-05/0.2079, allocations: 180.3 kB / 335.5 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.33e-05/0.2079, allocations: 104.9 kB / 335.6 MB, free: 14.96 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.76e-05/0.2079, allocations: 20.84 kB / 335.6 MB, free: 14.94 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2079, allocations: 4 kB / 335.6 MB, free: 14.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001238/0.2092, allocations: 0.619 MB / 336.2 MB, free: 14.31 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.001953/0.2111, allocations: 1.144 MB / 337.4 MB, free: 13.16 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.012e-05/0.2112, allocations: 16.8 kB / 337.4 MB, free: 13.14 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.2112, allocations: 0 / 337.4 MB, free: 13.14 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.82e-07/0.2112, allocations: 0 / 337.4 MB, free: 13.14 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.2115, allocations: 497.5 kB / 337.9 MB, free: 12.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000505/0.212, allocations: 222.8 kB / 338.1 MB, free: 12.42 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.427e-05/0.212, allocations: 63.2 kB / 338.2 MB, free: 12.34 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.253e-05/0.212, allocations: 4 kB / 338.2 MB, free: 12.33 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.73e-05/0.2121, allocations: 63.36 kB / 338.2 MB, free: 12.27 MB / 298.7 MB Notification: Performance of SimCode: time 1.432e-06/0.2121, allocations: 0 / 338.2 MB, free: 12.27 MB / 298.7 MB Notification: Performance of Templates: time 0.02581/0.2379, allocations: 23.36 MB / 361.6 MB, free: 4.988 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6161903240717947]