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.001408/0.001408, allocations: 88.72 kB / 19.44 MB, free: 352 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.001627/0.001627, allocations: 157.7 kB / 22.75 MB, free: 1.68 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 1.471/1.471, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.05333/0.05333, allocations: 7.522 MB / 267.1 MB, free: 6.023 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 2.765e-06/2.765e-06, allocations: 0 / 337.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.539e-05/2.815e-05, allocations: 6.312 kB / 337.9 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ps_parameter): time 0.02812/0.02815, allocations: 15.35 MB / 353.3 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02258/0.05073, allocations: 9.269 MB / 362.5 MB, free: 2.633 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.714e-05/0.05077, allocations: 0 / 362.5 MB, free: 2.633 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.05193, allocations: 243.2 kB / 362.8 MB, free: 2.395 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001199/0.05205, allocations: 31.83 kB / 362.8 MB, free: 2.363 MB / 282.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.02542/0.07747, allocations: 6.02 MB / 368.8 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000131/0.07761, allocations: 59.66 kB / 368.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.766e-05/0.07764, allocations: 7.938 kB / 368.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.07779, allocations: 47.78 kB / 368.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.612e-05/0.07784, allocations: 8 kB / 368.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.07785, allocations: 0 / 368.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01335/0.0912, allocations: 6.139 MB / 375.1 MB, free: 6.043 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.623e-05/0.09122, allocations: 3.984 kB / 375.1 MB, free: 6.039 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.027e-05/0.09127, allocations: 11.94 kB / 375.1 MB, free: 6.027 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008392/0.09966, allocations: 3.616 MB / 378.7 MB, free: 2.402 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.09966, allocations: 0 / 378.7 MB, free: 2.402 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.09967, allocations: 0 / 378.7 MB, free: 2.402 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.788e-06/0.09967, allocations: 0 / 378.7 MB, free: 2.402 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.00183/0.1015, allocations: 0.6973 MB / 379.4 MB, free: 1.672 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.1015, allocations: 12.62 kB / 379.4 MB, free: 1.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.09e-05/0.1016, allocations: 7.938 kB / 379.4 MB, free: 1.652 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.1017, allocations: 105.2 kB / 379.5 MB, free: 1.523 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.1017, allocations: 0 / 379.5 MB, free: 1.523 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.176e-06/0.1018, allocations: 3.938 kB / 379.5 MB, free: 1.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.1019, allocations: 41.69 kB / 379.6 MB, free: 1.473 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1019, allocations: 0 / 379.6 MB, free: 1.473 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.1019, allocations: 0 / 379.6 MB, free: 1.473 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1019, allocations: 0 / 379.6 MB, free: 1.473 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.21e-05/0.1019, allocations: 15.94 kB / 379.6 MB, free: 1.457 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001934/0.1021, allocations: 121.2 kB / 379.7 MB, free: 1.309 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.421e-05/0.1022, allocations: 30.58 kB / 379.7 MB, free: 1.27 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.165e-05/0.1022, allocations: 16.88 kB / 379.7 MB, free: 1.25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05217/0.1544, allocations: 9.758 MB / 389.5 MB, free: 7.477 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.778e-05/0.1545, allocations: 30.56 kB / 389.5 MB, free: 7.438 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 5.541e-06/0.1545, allocations: 3.984 kB / 389.5 MB, free: 7.434 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003088/0.1548, allocations: 81.62 kB / 389.6 MB, free: 7.348 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.1548, allocations: 55.41 kB / 389.7 MB, free: 7.281 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.1551, allocations: 93.8 kB / 389.8 MB, free: 7.18 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.1551, allocations: 29.8 kB / 389.8 MB, free: 7.145 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.326e-05/0.1551, allocations: 88.14 kB / 389.9 MB, free: 7.055 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.965e-05/0.1552, allocations: 23.78 kB / 389.9 MB, free: 7.031 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.797e-05/0.1552, allocations: 13.72 kB / 389.9 MB, free: 7.012 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.1554, allocations: 314.8 kB / 390.2 MB, free: 6.695 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.07e-05/0.1554, allocations: 15.98 kB / 390.2 MB, free: 6.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.322e-05/0.1555, allocations: 12 kB / 390.2 MB, free: 6.668 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.747e-05/0.1555, allocations: 37.16 kB / 390.3 MB, free: 6.629 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1555, allocations: 0 / 390.3 MB, free: 6.629 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000127/0.1557, allocations: 61.67 kB / 390.3 MB, free: 6.562 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.1557, allocations: 8 kB / 390.4 MB, free: 6.555 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1557, allocations: 4.062 kB / 390.4 MB, free: 6.551 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.1557, allocations: 0 / 390.4 MB, free: 6.551 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.1557, allocations: 3.938 kB / 390.4 MB, free: 6.547 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.1557, allocations: 0 / 390.4 MB, free: 6.547 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.852e-05/0.1557, allocations: 3.938 kB / 390.4 MB, free: 6.543 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.1558, allocations: 0 / 390.4 MB, free: 6.543 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 0.0001071/0.1559, allocations: 113.8 kB / 390.5 MB, free: 6.422 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.473e-05/0.1559, allocations: 3.953 kB / 390.5 MB, free: 6.418 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002205/0.1561, allocations: 171 kB / 390.6 MB, free: 6.223 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001055/0.1562, allocations: 188.1 kB / 390.8 MB, free: 6.031 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001015/0.1563, allocations: 180.3 kB / 391 MB, free: 5.848 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001094/0.1564, allocations: 188.2 kB / 391.2 MB, free: 5.656 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003124/0.1567, allocations: 364.8 kB / 391.5 MB, free: 5.262 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.213e-05/0.1568, allocations: 105 kB / 391.7 MB, free: 5.152 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.465e-05/0.1569, allocations: 105 kB / 391.8 MB, free: 5.043 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001104/0.157, allocations: 188.3 kB / 391.9 MB, free: 4.852 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/0.1571, allocations: 180.3 kB / 392.1 MB, free: 4.668 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001021/0.1572, allocations: 180.2 kB / 392.3 MB, free: 4.484 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001127/0.1573, allocations: 184.2 kB / 392.5 MB, free: 4.297 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002401/0.1575, allocations: 303.7 kB / 392.8 MB, free: 3.977 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.182e-05/0.1576, allocations: 109 kB / 392.9 MB, free: 3.863 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/0.1577, allocations: 192.1 kB / 393.1 MB, free: 3.668 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.1578, allocations: 105 kB / 393.2 MB, free: 3.559 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003696/0.1582, allocations: 180.2 kB / 393.3 MB, free: 3.375 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.428e-05/0.1583, allocations: 101 kB / 393.4 MB, free: 3.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001043/0.1584, allocations: 99.27 kB / 393.5 MB, free: 3.172 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1584, allocations: 4 kB / 393.5 MB, free: 3.168 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002463/0.1608, allocations: 0.8722 MB / 394.4 MB, free: 2.293 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.004597/0.1654, allocations: 1.558 MB / 396 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.683e-05/0.1655, allocations: 12 kB / 396 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1655, allocations: 4.062 kB / 396 MB, free: 0.707 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.893e-06/0.1655, allocations: 0 / 396 MB, free: 0.707 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006896/0.1662, allocations: 498.4 kB / 396.5 MB, free: 224 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003705/0.1666, allocations: 203.9 kB / 396.7 MB, free: 15.99 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.813e-05/0.1667, allocations: 63.36 kB / 396.7 MB, free: 15.91 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.191e-05/0.1667, allocations: 0 / 396.7 MB, free: 15.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.654e-05/0.1667, allocations: 12.5 kB / 396.7 MB, free: 15.89 MB / 330.7 MB Notification: Performance of SimCode: time 7.01e-07/0.1667, allocations: 0 / 396.7 MB, free: 15.89 MB / 330.7 MB Notification: Performance of Templates: time 0.1441/0.3108, allocations: 23.7 MB / 420.4 MB, free: 82.2 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=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.39240151992999]