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.001381/0.001381, allocations: 93.06 kB / 19.65 MB, free: 280 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.001005/0.001005, allocations: 169 kB / 23.02 MB, free: 1.555 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.03/1.03, allocations: 177.1 MB / 203.4 MB, free: 5.66 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.0312/0.0312, allocations: 7.516 MB / 267.5 MB, free: 6.02 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 2.124e-06/2.124e-06, allocations: 0 / 338.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.986e-05/2.198e-05, allocations: 2.312 kB / 338.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ph_parameter): time 0.01331/0.01333, allocations: 16.93 MB / 355.6 MB, free: 10.02 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00771/0.02104, allocations: 9.764 MB / 365.3 MB, free: 232 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.572e-05/0.02108, allocations: 0 / 365.3 MB, free: 232 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005978/0.02168, allocations: 223.3 kB / 365.5 MB, free: 8 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.31e-05/0.02172, allocations: 27.84 kB / 365.6 MB, free: 15.98 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.01006/0.03178, allocations: 5.33 MB / 370.9 MB, free: 10.63 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.0319, allocations: 55.67 kB / 371 MB, free: 10.58 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.001e-05/0.03194, allocations: 0 / 371 MB, free: 10.58 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.03205, allocations: 43.78 kB / 371 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.162e-05/0.03208, allocations: 4 kB / 371 MB, free: 10.53 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.03209, allocations: 4 kB / 371 MB, free: 10.53 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006867/0.03896, allocations: 5.554 MB / 376.6 MB, free: 4.961 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.39e-05/0.03897, allocations: 0 / 376.6 MB, free: 4.961 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.389e-05/0.03902, allocations: 15.94 kB / 376.6 MB, free: 4.945 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00519/0.04421, allocations: 3.261 MB / 379.8 MB, free: 1.676 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.04421, allocations: 4 kB / 379.8 MB, free: 1.672 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.644e-06/0.04421, allocations: 0 / 379.8 MB, free: 1.672 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.04422, allocations: 0 / 379.8 MB, free: 1.672 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.0007925/0.04501, allocations: 0.7349 MB / 380.6 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.04505, allocations: 12.62 kB / 380.6 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.398e-05/0.04508, allocations: 0 / 380.6 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.08e-05/0.04516, allocations: 116 kB / 380.7 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.04517, allocations: 0 / 380.7 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.04519, allocations: 11.81 kB / 380.7 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.165e-05/0.04527, allocations: 29.7 kB / 380.7 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.04527, allocations: 4 kB / 380.7 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.04528, allocations: 0 / 380.7 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.04529, allocations: 4 kB / 380.7 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.207e-05/0.0453, allocations: 4 kB / 380.7 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001295/0.04543, allocations: 120.6 kB / 380.9 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.886e-05/0.04547, allocations: 31.06 kB / 380.9 MB, free: 500 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.912e-05/0.04549, allocations: 15.66 kB / 380.9 MB, free: 480 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01016/0.05566, allocations: 4.159 MB / 385.1 MB, free: 12.3 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.05569, allocations: 37.39 kB / 385.1 MB, free: 12.25 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.893e-06/0.05569, allocations: 0 / 385.1 MB, free: 12.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.000182/0.05587, allocations: 57.67 kB / 385.2 MB, free: 12.19 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.0559, allocations: 51.41 kB / 385.2 MB, free: 12.13 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.769e-05/0.05597, allocations: 154.1 kB / 385.4 MB, free: 11.96 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.05599, allocations: 29.73 kB / 385.4 MB, free: 11.93 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.666e-05/0.05602, allocations: 134.8 kB / 385.5 MB, free: 11.79 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.055e-05/0.05606, allocations: 23.78 kB / 385.5 MB, free: 11.77 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/0.05609, allocations: 23.38 kB / 385.6 MB, free: 11.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.05621, allocations: 0.4884 MB / 386.1 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.468e-05/0.05623, allocations: 4 kB / 386.1 MB, free: 11.23 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.608e-06/0.05624, allocations: 4 kB / 386.1 MB, free: 11.23 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.37e-05/0.05627, allocations: 27.62 kB / 386.1 MB, free: 11.2 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.05627, allocations: 0 / 386.1 MB, free: 11.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.378e-05/0.05634, allocations: 49.64 kB / 386.1 MB, free: 11.14 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.05635, allocations: 12.06 kB / 386.2 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.05636, allocations: 3.984 kB / 386.2 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.05638, allocations: 0 / 386.2 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.421e-06/0.05638, allocations: 3.938 kB / 386.2 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.05639, allocations: 0 / 386.2 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.745e-05/0.05641, allocations: 0 / 386.2 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.05642, allocations: 4 kB / 386.2 MB, free: 11.12 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 7.197e-05/0.05649, allocations: 160.5 kB / 386.3 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.532e-06/0.05649, allocations: 7.953 kB / 386.3 MB, free: 10.94 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001615/0.05666, allocations: 238.7 kB / 386.6 MB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.254e-05/0.05672, allocations: 276 kB / 386.8 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.654e-05/0.05677, allocations: 264.1 kB / 387.1 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.387e-05/0.05684, allocations: 272.1 kB / 387.4 MB, free: 9.855 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.05702, allocations: 0.5036 MB / 387.9 MB, free: 9.309 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.563e-05/0.05706, allocations: 148.9 kB / 388 MB, free: 9.156 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.286e-05/0.05709, allocations: 148.8 kB / 388.2 MB, free: 9.004 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.223e-05/0.05716, allocations: 268.1 kB / 388.4 MB, free: 8.734 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.156e-05/0.05723, allocations: 268.1 kB / 388.7 MB, free: 8.465 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.658e-05/0.05728, allocations: 268 kB / 388.9 MB, free: 8.195 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-05/0.05735, allocations: 272.1 kB / 389.2 MB, free: 7.922 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.0575, allocations: 459.8 kB / 389.7 MB, free: 7.445 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.897e-05/0.05754, allocations: 148.9 kB / 389.8 MB, free: 7.293 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.153e-05/0.05762, allocations: 272 kB / 390.1 MB, free: 7.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.973e-05/0.05768, allocations: 148.9 kB / 390.2 MB, free: 6.867 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.598e-05/0.05775, allocations: 272.3 kB / 390.5 MB, free: 6.594 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.71e-05/0.05779, allocations: 148.9 kB / 390.6 MB, free: 6.441 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.027e-05/0.05785, allocations: 139.2 kB / 390.8 MB, free: 6.305 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05785, allocations: 0 / 390.8 MB, free: 6.305 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001587/0.05944, allocations: 0.7516 MB / 391.5 MB, free: 5.551 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.002051/0.06149, allocations: 1.418 MB / 392.9 MB, free: 4.117 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.743e-05/0.06157, allocations: 19.67 kB / 392.9 MB, free: 4.094 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.06157, allocations: 0 / 392.9 MB, free: 4.094 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.06157, allocations: 3.938 kB / 392.9 MB, free: 4.09 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.06196, allocations: 0.7377 MB / 393.7 MB, free: 3.348 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005579/0.06252, allocations: 265.2 kB / 393.9 MB, free: 3.059 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.23e-05/0.06255, allocations: 55.36 kB / 394 MB, free: 2.984 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.619e-05/0.06257, allocations: 4 kB / 394 MB, free: 2.98 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.444e-05/0.06258, allocations: 16.44 kB / 394 MB, free: 2.965 MB / 314.7 MB Notification: Performance of SimCode: time 8.72e-07/0.06258, allocations: 0 / 394 MB, free: 2.965 MB / 314.7 MB Notification: Performance of Templates: time 0.1309/0.1935, allocations: 22.15 MB / 416.2 MB, free: 80.95 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.5760328876785934]