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.001343/0.001343, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 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.001563/0.001563, allocations: 173 kB / 23.02 MB, free: 1.547 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.9139/0.9139, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.02982/0.02982, allocations: 7.526 MB / 267.5 MB, free: 5.992 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 1.353e-06/1.353e-06, allocations: 0 / 338.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.162e-05/1.298e-05, allocations: 10.31 kB / 338.6 MB, free: 11 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ph_parameter): time 0.01075/0.01076, allocations: 16.93 MB / 355.6 MB, free: 10 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006262/0.01702, allocations: 9.756 MB / 365.3 MB, free: 220 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.83e-05/0.01705, allocations: 0 / 365.3 MB, free: 220 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004507/0.0175, allocations: 227.3 kB / 365.5 MB, free: 15.99 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.591e-05/0.01753, allocations: 19.8 kB / 365.6 MB, free: 15.97 MB / 298.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.007097/0.02462, allocations: 5.338 MB / 370.9 MB, free: 10.62 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.276e-05/0.0247, allocations: 55.67 kB / 371 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.173e-05/0.02473, allocations: 3.984 kB / 371 MB, free: 10.56 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.931e-05/0.02481, allocations: 39.78 kB / 371 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.392e-05/0.02483, allocations: 4 kB / 371 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.856e-06/0.02484, allocations: 0 / 371 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005159/0.03, allocations: 5.57 MB / 376.6 MB, free: 4.938 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.087e-05/0.03001, allocations: 0 / 376.6 MB, free: 4.938 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.517e-05/0.03003, allocations: 11.94 kB / 376.6 MB, free: 4.926 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003389/0.03342, allocations: 3.257 MB / 379.8 MB, free: 1.66 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.03343, allocations: 8 kB / 379.8 MB, free: 1.652 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.03343, allocations: 0 / 379.8 MB, free: 1.652 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.03343, allocations: 0 / 379.8 MB, free: 1.652 MB / 298.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.0008513/0.03428, allocations: 0.731 MB / 380.6 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.03432, allocations: 8.625 kB / 380.6 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.336e-05/0.03435, allocations: 8 kB / 380.6 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.314e-05/0.03442, allocations: 112 kB / 380.7 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.03443, allocations: 0 / 380.7 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.03444, allocations: 19.8 kB / 380.7 MB, free: 0.707 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.412e-05/0.03452, allocations: 29.7 kB / 380.7 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.3e-06/0.03452, allocations: 0 / 380.7 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.03453, allocations: 4 kB / 380.8 MB, free: 0.668 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.03454, allocations: 0 / 380.8 MB, free: 0.668 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.132e-05/0.03455, allocations: 4 kB / 380.8 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001137/0.03466, allocations: 124.6 kB / 380.9 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.444e-05/0.0347, allocations: 31.14 kB / 380.9 MB, free: 476 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.56e-05/0.03471, allocations: 15.73 kB / 380.9 MB, free: 456 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009709/0.04442, allocations: 4.155 MB / 385.1 MB, free: 12.28 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.04445, allocations: 41.39 kB / 385.1 MB, free: 12.23 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.04445, allocations: 0 / 385.1 MB, free: 12.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001382/0.04459, allocations: 61.66 kB / 385.2 MB, free: 12.16 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.04461, allocations: 51.41 kB / 385.2 MB, free: 12.1 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.357e-05/0.04468, allocations: 157.9 kB / 385.4 MB, free: 11.93 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.585e-06/0.04468, allocations: 25.7 kB / 385.4 MB, free: 11.9 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.765e-05/0.04471, allocations: 130.8 kB / 385.5 MB, free: 11.77 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.04474, allocations: 27.78 kB / 385.6 MB, free: 11.74 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.481e-05/0.04477, allocations: 19.38 kB / 385.6 MB, free: 11.71 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.04487, allocations: 496.1 kB / 386.1 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.056e-05/0.04488, allocations: 8.156 kB / 386.1 MB, free: 11.21 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.847e-06/0.04489, allocations: 4 kB / 386.1 MB, free: 11.2 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.819e-05/0.04491, allocations: 31.61 kB / 386.1 MB, free: 11.17 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.04492, allocations: 0 / 386.1 MB, free: 11.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 4.776e-05/0.04496, allocations: 49.66 kB / 386.2 MB, free: 11.11 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.04498, allocations: 4 kB / 386.2 MB, free: 11.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.04498, allocations: 0 / 386.2 MB, free: 11.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.04499, allocations: 4 kB / 386.2 MB, free: 11.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.338e-06/0.04499, allocations: 3.938 kB / 386.2 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.045, allocations: 0 / 386.2 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.571e-05/0.04501, allocations: 3.984 kB / 386.2 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.04502, allocations: 8.062 kB / 386.2 MB, free: 11.09 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 6.037e-05/0.04508, allocations: 160.5 kB / 386.3 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.871e-06/0.04509, allocations: 7.938 kB / 386.3 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/0.04521, allocations: 238.7 kB / 386.6 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.438e-05/0.04527, allocations: 279.9 kB / 386.9 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.749e-05/0.04533, allocations: 264.1 kB / 387.1 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.103e-05/0.04538, allocations: 264.1 kB / 387.4 MB, free: 9.832 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.04553, allocations: 0.5036 MB / 387.9 MB, free: 9.285 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.01e-05/0.04556, allocations: 144.9 kB / 388 MB, free: 9.137 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.085e-05/0.04559, allocations: 152.8 kB / 388.2 MB, free: 8.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-05/0.04564, allocations: 268.1 kB / 388.4 MB, free: 8.711 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.463e-05/0.0457, allocations: 268.1 kB / 388.7 MB, free: 8.441 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.422e-05/0.04575, allocations: 276.2 kB / 389 MB, free: 8.164 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.135e-05/0.0458, allocations: 268.1 kB / 389.2 MB, free: 7.895 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.04592, allocations: 451.9 kB / 389.7 MB, free: 7.426 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.503e-05/0.04595, allocations: 152.9 kB / 389.8 MB, free: 7.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.749e-05/0.04602, allocations: 272 kB / 390.1 MB, free: 6.996 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.172e-05/0.04607, allocations: 144.9 kB / 390.2 MB, free: 6.848 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.737e-05/0.04613, allocations: 268 kB / 390.5 MB, free: 6.578 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.993e-05/0.04616, allocations: 148.9 kB / 390.6 MB, free: 6.426 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.674e-05/0.04621, allocations: 143.2 kB / 390.8 MB, free: 6.285 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04621, allocations: 0 / 390.8 MB, free: 6.285 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009314/0.04714, allocations: 0.7554 MB / 391.5 MB, free: 5.527 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: 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.001946/0.04908, allocations: 1.426 MB / 392.9 MB, free: 4.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.366e-05/0.04915, allocations: 23.69 kB / 393 MB, free: 4.062 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.04915, allocations: 0 / 393 MB, free: 4.062 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.04915, allocations: 3.938 kB / 393 MB, free: 4.059 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.04951, allocations: 0.7298 MB / 393.7 MB, free: 3.324 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005025/0.05001, allocations: 273.3 kB / 394 MB, free: 3.027 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.672e-05/0.05004, allocations: 51.36 kB / 394 MB, free: 2.957 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.819e-05/0.05006, allocations: 7.984 kB / 394 MB, free: 2.949 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.201e-05/0.05007, allocations: 16.44 kB / 394 MB, free: 2.934 MB / 314.7 MB Notification: Performance of SimCode: time 6.61e-07/0.05007, allocations: 0 / 394 MB, free: 2.934 MB / 314.7 MB Notification: Performance of Templates: time 0.1127/0.1628, allocations: 27.7 MB / 421.7 MB, free: 78.08 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.5685957185924053]