Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_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.001004/0.001004, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001112/0.001112, allocations: 169 kB / 23.27 MB, free: 1.223 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.9196/0.9196, allocations: 177.2 MB / 203.7 MB, free: 5.512 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.02998/0.02998, allocations: 7.532 MB / 267.8 MB, free: 5.848 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_ps_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_ps_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 339.1 MB, free: 10.74 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.021e-05/2.202e-05, allocations: 2.312 kB / 339.1 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ps_parameter): time 0.01191/0.01194, allocations: 16.73 MB / 355.8 MB, free: 9.938 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007273/0.01921, allocations: 10.3 MB / 366.1 MB, free: 15.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.023e-05/0.01926, allocations: 0 / 366.1 MB, free: 15.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005285/0.01979, allocations: 247.2 kB / 366.3 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.494e-05/0.01982, allocations: 31.83 kB / 366.4 MB, free: 15.33 MB / 298.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.009973/0.0298, allocations: 6.02 MB / 372.4 MB, free: 9.285 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.965e-05/0.02989, allocations: 59.67 kB / 372.5 MB, free: 9.227 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.486e-05/0.02992, allocations: 0 / 372.5 MB, free: 9.227 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.03004, allocations: 39.84 kB / 372.5 MB, free: 9.188 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.277e-05/0.03007, allocations: 15.94 kB / 372.5 MB, free: 9.172 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.808e-06/0.03008, allocations: 3.938 kB / 372.5 MB, free: 9.168 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007881/0.03796, allocations: 6.143 MB / 378.7 MB, free: 3.012 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.03797, allocations: 7.938 kB / 378.7 MB, free: 3.004 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.42e-05/0.03801, allocations: 8 kB / 378.7 MB, free: 2.996 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006183/0.04419, allocations: 3.604 MB / 382.3 MB, free: 15.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.04419, allocations: 0 / 382.3 MB, free: 15.38 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.0442, allocations: 4 kB / 382.3 MB, free: 15.37 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.0442, allocations: 3.938 kB / 382.3 MB, free: 15.37 MB / 314.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.001193/0.04539, allocations: 0.8007 MB / 383.1 MB, free: 14.53 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.04543, allocations: 16.61 kB / 383.1 MB, free: 14.51 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.695e-05/0.04546, allocations: 3.938 kB / 383.1 MB, free: 14.51 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.073e-05/0.04553, allocations: 112.1 kB / 383.2 MB, free: 14.37 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.04554, allocations: 0 / 383.2 MB, free: 14.37 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.971e-06/0.04554, allocations: 3.984 kB / 383.2 MB, free: 14.37 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.257e-05/0.04561, allocations: 29.7 kB / 383.2 MB, free: 14.33 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.919e-06/0.04561, allocations: 0 / 383.2 MB, free: 14.33 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.621e-06/0.04562, allocations: 4 kB / 383.3 MB, free: 14.33 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.04562, allocations: 0 / 383.3 MB, free: 14.33 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.011e-05/0.04563, allocations: 11.94 kB / 383.3 MB, free: 14.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001038/0.04574, allocations: 117.1 kB / 383.4 MB, free: 14.18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.138e-05/0.04577, allocations: 27.06 kB / 383.4 MB, free: 14.14 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.096e-05/0.04578, allocations: 11.72 kB / 383.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0172/0.06298, allocations: 7.611 MB / 391 MB, free: 6.523 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.06301, allocations: 37.39 kB / 391.1 MB, free: 6.477 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 2.164e-06/0.06301, allocations: 0 / 391.1 MB, free: 6.477 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001477/0.06316, allocations: 57.86 kB / 391.1 MB, free: 6.414 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.162e-05/0.06318, allocations: 51.41 kB / 391.2 MB, free: 6.352 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.021e-05/0.06324, allocations: 153.9 kB / 391.3 MB, free: 6.184 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.676e-06/0.06325, allocations: 25.7 kB / 391.3 MB, free: 6.152 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.103e-05/0.06328, allocations: 126.9 kB / 391.5 MB, free: 6.023 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/0.06331, allocations: 27.78 kB / 391.5 MB, free: 5.996 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.06334, allocations: 23.52 kB / 391.5 MB, free: 5.965 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.06344, allocations: 0.4883 MB / 392 MB, free: 5.465 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.144e-05/0.06346, allocations: 7.938 kB / 392 MB, free: 5.457 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.488e-06/0.06346, allocations: 7.984 kB / 392 MB, free: 5.449 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.713e-05/0.06349, allocations: 27.59 kB / 392 MB, free: 5.418 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.06349, allocations: 0 / 392 MB, free: 5.418 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 4.995e-05/0.06354, allocations: 45.7 kB / 392.1 MB, free: 5.367 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.06356, allocations: 8 kB / 392.1 MB, free: 5.359 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.06356, allocations: 0 / 392.1 MB, free: 5.359 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.476e-06/0.06357, allocations: 0 / 392.1 MB, free: 5.359 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.226e-06/0.06357, allocations: 0 / 392.1 MB, free: 5.359 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-06/0.06358, allocations: 4.062 kB / 392.1 MB, free: 5.355 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.346e-05/0.06359, allocations: 0 / 392.1 MB, free: 5.355 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.0636, allocations: 7.938 kB / 392.1 MB, free: 5.348 MB / 314.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.991e-05/0.06366, allocations: 160.5 kB / 392.3 MB, free: 5.18 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-06/0.06367, allocations: 3.953 kB / 392.3 MB, free: 5.176 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001269/0.06379, allocations: 238.7 kB / 392.5 MB, free: 4.906 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.513e-05/0.06385, allocations: 264.1 kB / 392.8 MB, free: 4.641 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.765e-05/0.06391, allocations: 272 kB / 393 MB, free: 4.367 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-05/0.06396, allocations: 272.1 kB / 393.3 MB, free: 4.094 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.06413, allocations: 492.3 kB / 393.8 MB, free: 3.578 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.182e-05/0.06416, allocations: 148.9 kB / 393.9 MB, free: 3.426 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.358e-05/0.06419, allocations: 152.9 kB / 394.1 MB, free: 3.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.729e-05/0.06425, allocations: 268 kB / 394.3 MB, free: 3 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.103e-05/0.06431, allocations: 264.2 kB / 394.6 MB, free: 2.734 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.315e-05/0.06438, allocations: 284 kB / 394.9 MB, free: 2.449 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.424e-05/0.06443, allocations: 268.1 kB / 395.1 MB, free: 2.18 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.06456, allocations: 451.9 kB / 395.6 MB, free: 1.711 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.74e-05/0.0646, allocations: 148.9 kB / 395.7 MB, free: 1.559 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.37e-05/0.06466, allocations: 268 kB / 396 MB, free: 1.289 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.452e-05/0.06471, allocations: 148.9 kB / 396.1 MB, free: 1.137 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.841e-05/0.06477, allocations: 276 kB / 396.4 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.94e-05/0.0648, allocations: 148.9 kB / 396.5 MB, free: 0.707 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.565e-05/0.06485, allocations: 135.2 kB / 396.7 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.06485, allocations: 0 / 396.7 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001569/0.06642, allocations: 0.8761 MB / 397.5 MB, free: 15.7 MB / 330.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.002243/0.06866, allocations: 1.64 MB / 399.2 MB, free: 14.04 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 6.435e-05/0.06872, allocations: 15.69 kB / 399.2 MB, free: 14.02 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.06872, allocations: 0 / 399.2 MB, free: 14.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.06873, allocations: 0 / 399.2 MB, free: 14.02 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.0691, allocations: 0.744 MB / 399.9 MB, free: 13.28 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004593/0.06956, allocations: 269.4 kB / 400.2 MB, free: 12.98 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.787e-05/0.06959, allocations: 51.36 kB / 400.3 MB, free: 12.91 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.036e-05/0.06961, allocations: 7.984 kB / 400.3 MB, free: 12.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.154e-05/0.06967, allocations: 86.19 kB / 400.4 MB, free: 12.82 MB / 330.7 MB Notification: Performance of SimCode: time 7.11e-07/0.06967, allocations: 0 / 400.4 MB, free: 12.82 MB / 330.7 MB Notification: Performance of Templates: time 0.1197/0.1894, allocations: 28.61 MB / 429 MB, free: 71.39 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6248885518871248]