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.0008987/0.0008987, allocations: 93.06 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.0009235/0.0009235, allocations: 173 kB / 23.03 MB, free: 1.543 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.9155/0.9155, 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.03004/0.03004, allocations: 7.517 MB / 267.5 MB, free: 6 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.573e-06/1.573e-06, allocations: 0 / 338.6 MB, free: 11.01 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.429e-05/1.586e-05, allocations: 2.312 kB / 338.6 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ps_parameter): time 0.01144/0.01146, allocations: 16.99 MB / 355.6 MB, free: 9.953 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007324/0.01878, allocations: 10.5 MB / 366.1 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.522e-05/0.01882, allocations: 0 / 366.1 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005433/0.01936, allocations: 239.3 kB / 366.3 MB, free: 15.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.53e-05/0.0194, allocations: 23.84 kB / 366.4 MB, free: 15.16 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.009995/0.02939, allocations: 6.02 MB / 372.4 MB, free: 9.109 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.877e-05/0.02949, allocations: 63.67 kB / 372.5 MB, free: 9.047 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.686e-05/0.02953, allocations: 3.984 kB / 372.5 MB, free: 9.043 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.02963, allocations: 43.84 kB / 372.5 MB, free: 9 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.228e-05/0.02966, allocations: 11.94 kB / 372.5 MB, free: 8.988 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.02967, allocations: 0 / 372.5 MB, free: 8.988 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007433/0.0371, allocations: 6.146 MB / 378.7 MB, free: 2.828 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.688e-05/0.03712, allocations: 7.938 kB / 378.7 MB, free: 2.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.413e-05/0.03717, allocations: 8 kB / 378.7 MB, free: 2.812 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006094/0.04326, allocations: 3.612 MB / 382.3 MB, free: 15.19 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.04326, allocations: 0 / 382.3 MB, free: 15.19 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.04327, allocations: 0 / 382.3 MB, free: 15.19 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.04327, allocations: 0 / 382.3 MB, free: 15.19 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.001246/0.04452, allocations: 0.7968 MB / 383.1 MB, free: 14.35 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.04456, allocations: 12.62 kB / 383.1 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/0.0446, allocations: 3.938 kB / 383.1 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.247e-05/0.04468, allocations: 112 kB / 383.2 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.04469, allocations: 0 / 383.2 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.366e-06/0.0447, allocations: 3.938 kB / 383.2 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.541e-05/0.04479, allocations: 29.7 kB / 383.2 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.04479, allocations: 4 kB / 383.2 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.0448, allocations: 0 / 383.2 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.04481, allocations: 0 / 383.2 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.282e-05/0.04482, allocations: 8 kB / 383.3 MB, free: 14.15 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001317/0.04496, allocations: 124.5 kB / 383.4 MB, free: 13.99 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.907e-05/0.04499, allocations: 27.06 kB / 383.4 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.682e-05/0.04501, allocations: 27.64 kB / 383.4 MB, free: 13.92 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0207/0.06571, allocations: 9.242 MB / 392.7 MB, free: 4.668 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.06574, allocations: 33.39 kB / 392.7 MB, free: 4.625 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 2.635e-06/0.06574, allocations: 8 kB / 392.7 MB, free: 4.617 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001852/0.06593, allocations: 69.56 kB / 392.8 MB, free: 4.543 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.06596, allocations: 51.41 kB / 392.8 MB, free: 4.48 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.433e-05/0.06603, allocations: 153.9 kB / 393 MB, free: 4.312 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.418e-06/0.06604, allocations: 29.7 kB / 393 MB, free: 4.277 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.981e-05/0.06607, allocations: 130.9 kB / 393.1 MB, free: 4.145 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.0661, allocations: 19.8 kB / 393.2 MB, free: 4.125 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/0.06613, allocations: 23.38 kB / 393.2 MB, free: 4.094 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.06623, allocations: 0.4884 MB / 393.7 MB, free: 3.594 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.29e-05/0.06625, allocations: 4 kB / 393.7 MB, free: 3.59 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.598e-06/0.06626, allocations: 8.156 kB / 393.7 MB, free: 3.582 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.153e-05/0.06629, allocations: 27.62 kB / 393.7 MB, free: 3.551 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.06629, allocations: 0 / 393.7 MB, free: 3.551 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.561e-05/0.06635, allocations: 53.62 kB / 393.8 MB, free: 3.492 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.06636, allocations: 7.984 kB / 393.8 MB, free: 3.484 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.06637, allocations: 0 / 393.8 MB, free: 3.484 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.06638, allocations: 0 / 393.8 MB, free: 3.484 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.028e-06/0.06638, allocations: 0 / 393.8 MB, free: 3.484 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.06639, allocations: 4 kB / 393.8 MB, free: 3.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.577e-05/0.0664, allocations: 3.938 kB / 393.8 MB, free: 3.477 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.06641, allocations: 0 / 393.8 MB, free: 3.477 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.101e-05/0.06647, allocations: 156.6 kB / 393.9 MB, free: 3.312 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.301e-06/0.06648, allocations: 7.953 kB / 393.9 MB, free: 3.305 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001405/0.06662, allocations: 246.6 kB / 394.2 MB, free: 3.027 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.291e-05/0.06667, allocations: 264.1 kB / 394.4 MB, free: 2.762 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.659e-05/0.06673, allocations: 272.1 kB / 394.7 MB, free: 2.488 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-05/0.06679, allocations: 272 kB / 395 MB, free: 2.215 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.06695, allocations: 0.5037 MB / 395.5 MB, free: 1.668 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.977e-05/0.06698, allocations: 152.8 kB / 395.6 MB, free: 1.512 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.003e-05/0.06701, allocations: 145 kB / 395.8 MB, free: 1.363 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.658e-05/0.06707, allocations: 280.1 kB / 396 MB, free: 1.082 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.716e-05/0.06713, allocations: 268 kB / 396.3 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.165e-05/0.06718, allocations: 264.1 kB / 396.6 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.409e-05/0.06723, allocations: 272 kB / 396.8 MB, free: 280 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.06737, allocations: 451.9 kB / 397.3 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.69e-05/0.06741, allocations: 148.9 kB / 397.4 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.564e-05/0.06747, allocations: 264.1 kB / 397.7 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.577e-05/0.06753, allocations: 152.8 kB / 397.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.642e-05/0.06759, allocations: 264.1 kB / 398.1 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.294e-05/0.06762, allocations: 156.8 kB / 398.2 MB, free: 14.8 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.995e-05/0.06767, allocations: 135.2 kB / 398.4 MB, free: 14.67 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06767, allocations: 4 kB / 398.4 MB, free: 14.67 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001475/0.06914, allocations: 0.8838 MB / 399.2 MB, free: 13.78 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.00273/0.07187, allocations: 1.589 MB / 400.8 MB, free: 12.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.215e-05/0.07196, allocations: 23.67 kB / 400.9 MB, free: 12.15 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.07196, allocations: 0 / 400.9 MB, free: 12.15 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.07196, allocations: 3.938 kB / 400.9 MB, free: 12.15 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004166/0.07238, allocations: 0.7367 MB / 401.6 MB, free: 11.41 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005745/0.07295, allocations: 265.3 kB / 401.9 MB, free: 11.12 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.5e-05/0.07299, allocations: 51.36 kB / 401.9 MB, free: 11.05 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.113e-05/0.07301, allocations: 8 kB / 401.9 MB, free: 11.04 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.925e-05/0.07303, allocations: 12.5 kB / 401.9 MB, free: 11.03 MB / 330.7 MB Notification: Performance of SimCode: time 9.42e-07/0.07303, allocations: 0 / 401.9 MB, free: 11.03 MB / 330.7 MB Notification: Performance of Templates: time 0.134/0.207, allocations: 29.96 MB / 431.9 MB, free: 55.02 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.783897689078003]