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.001093/0.001093, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001209/0.001209, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9531/0.9531, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.033/0.033, allocations: 7.521 MB / 268.6 MB, free: 5.844 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.513e-06/1.513e-06, allocations: 0 / 339.9 MB, free: 10.73 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.912e-05/2.063e-05, allocations: 4.703 kB / 339.9 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ps_parameter): time 0.01422/0.01424, allocations: 16.73 MB / 356.6 MB, free: 9.934 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009002/0.02324, allocations: 10.31 MB / 366.9 MB, free: 15.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.501e-05/0.02329, allocations: 0 / 366.9 MB, free: 15.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006065/0.0239, allocations: 239.3 kB / 367.1 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.73e-05/0.02394, allocations: 31.83 kB / 367.2 MB, free: 15.32 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.01203/0.03597, allocations: 6.02 MB / 373.2 MB, free: 9.277 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.908e-05/0.03606, allocations: 51.67 kB / 373.2 MB, free: 9.227 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.616e-05/0.0361, allocations: 4 kB / 373.2 MB, free: 9.223 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.82e-05/0.0362, allocations: 39.78 kB / 373.3 MB, free: 9.184 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.112e-05/0.03623, allocations: 11.94 kB / 373.3 MB, free: 9.172 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.205e-06/0.03623, allocations: 0 / 373.3 MB, free: 9.172 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006645/0.04288, allocations: 6.162 MB / 379.4 MB, free: 2.996 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.666e-06/0.04289, allocations: 3.938 kB / 379.5 MB, free: 2.992 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.195e-05/0.04291, allocations: 8 kB / 379.5 MB, free: 2.984 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003652/0.04656, allocations: 3.608 MB / 383.1 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.04657, allocations: 3.938 kB / 383.1 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.04657, allocations: 0 / 383.1 MB, free: 15.36 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.04657, allocations: 0 / 383.1 MB, free: 15.36 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.0009346/0.04751, allocations: 0.8046 MB / 383.9 MB, free: 14.52 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.854e-05/0.04754, allocations: 8.625 kB / 383.9 MB, free: 14.51 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.177e-05/0.04756, allocations: 3.938 kB / 383.9 MB, free: 14.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.608e-05/0.04762, allocations: 116 kB / 384 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-06/0.04763, allocations: 0 / 384 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.577e-06/0.04764, allocations: 0 / 384 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.818e-05/0.04768, allocations: 29.7 kB / 384 MB, free: 14.33 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.879e-06/0.04769, allocations: 0 / 384 MB, free: 14.33 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.208e-06/0.04769, allocations: 0 / 384 MB, free: 14.33 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.0477, allocations: 3.984 kB / 384 MB, free: 14.32 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.598e-06/0.04771, allocations: 11.94 kB / 384 MB, free: 14.31 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.695e-05/0.04781, allocations: 109.2 kB / 384.2 MB, free: 14.18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.946e-05/0.04783, allocations: 27.06 kB / 384.2 MB, free: 14.14 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.087e-05/0.04785, allocations: 11.72 kB / 384.2 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01809/0.06594, allocations: 7.371 MB / 391.6 MB, free: 6.746 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.06596, allocations: 33.39 kB / 391.6 MB, free: 6.703 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.654e-06/0.06596, allocations: 0 / 391.6 MB, free: 6.703 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001204/0.06608, allocations: 61.86 kB / 391.7 MB, free: 6.637 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.249e-05/0.06611, allocations: 51.41 kB / 391.7 MB, free: 6.574 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.777e-05/0.06616, allocations: 154 kB / 391.9 MB, free: 6.406 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.06617, allocations: 29.7 kB / 391.9 MB, free: 6.371 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.991e-05/0.0662, allocations: 126.9 kB / 392 MB, free: 6.242 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.06623, allocations: 31.77 kB / 392 MB, free: 6.211 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.468e-05/0.06626, allocations: 19.38 kB / 392.1 MB, free: 6.184 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.83e-05/0.06636, allocations: 500 kB / 392.5 MB, free: 5.684 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.027e-06/0.06637, allocations: 4 kB / 392.5 MB, free: 5.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.656e-06/0.06637, allocations: 11.92 kB / 392.6 MB, free: 5.668 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.634e-05/0.0664, allocations: 27.66 kB / 392.6 MB, free: 5.637 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.0664, allocations: 0 / 392.6 MB, free: 5.637 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 4.476e-05/0.06645, allocations: 41.86 kB / 392.6 MB, free: 5.59 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.06646, allocations: 15 kB / 392.6 MB, free: 5.578 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.06646, allocations: 0 / 392.6 MB, free: 5.578 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.512e-06/0.06647, allocations: 0 / 392.6 MB, free: 5.578 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-07/0.06647, allocations: 0 / 392.6 MB, free: 5.578 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.044e-06/0.06647, allocations: 0 / 392.6 MB, free: 5.578 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.283e-05/0.06649, allocations: 7.922 kB / 392.7 MB, free: 5.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.06649, allocations: 3.938 kB / 392.7 MB, free: 5.566 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.705e-05/0.06655, allocations: 156.6 kB / 392.8 MB, free: 5.402 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.249e-06/0.06656, allocations: 3.953 kB / 392.8 MB, free: 5.398 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001214/0.06668, allocations: 234.7 kB / 393 MB, free: 5.133 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.526e-05/0.06673, allocations: 284.1 kB / 393.3 MB, free: 4.848 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.152e-05/0.06678, allocations: 268 kB / 393.6 MB, free: 4.578 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.117e-05/0.06684, allocations: 264.1 kB / 393.8 MB, free: 4.312 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.06699, allocations: 496.3 kB / 394.3 MB, free: 3.793 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-05/0.06702, allocations: 148.9 kB / 394.5 MB, free: 3.641 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.125e-05/0.06705, allocations: 148.8 kB / 394.6 MB, free: 3.488 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.427e-05/0.06711, allocations: 268.1 kB / 394.9 MB, free: 3.219 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.714e-05/0.06716, allocations: 268.1 kB / 395.1 MB, free: 2.949 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.733e-05/0.06722, allocations: 268 kB / 395.4 MB, free: 2.68 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.785e-05/0.06728, allocations: 272.1 kB / 395.7 MB, free: 2.406 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.0674, allocations: 452.1 kB / 396.1 MB, free: 1.938 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.89e-05/0.06744, allocations: 156.9 kB / 396.3 MB, free: 1.777 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.765e-05/0.06751, allocations: 272 kB / 396.5 MB, free: 1.504 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.716e-05/0.06757, allocations: 152.9 kB / 396.7 MB, free: 1.348 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.146e-05/0.06763, allocations: 268 kB / 396.9 MB, free: 1.078 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.012e-05/0.06766, allocations: 144.9 kB / 397.1 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.447e-05/0.0677, allocations: 135.2 kB / 397.2 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0677, allocations: 0 / 397.2 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001213/0.06891, allocations: 0.8762 MB / 398.1 MB, free: 15.91 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.002191/0.07111, allocations: 1.639 MB / 399.7 MB, free: 14.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 5.074e-05/0.07116, allocations: 15.69 kB / 399.7 MB, free: 14.25 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.07116, allocations: 4 kB / 399.7 MB, free: 14.24 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.52e-07/0.07116, allocations: 0 / 399.7 MB, free: 14.24 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.07153, allocations: 0.7412 MB / 400.5 MB, free: 13.5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004323/0.07196, allocations: 269.3 kB / 400.7 MB, free: 13.2 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.121e-05/0.07199, allocations: 55.34 kB / 400.8 MB, free: 13.13 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.556e-05/0.07201, allocations: 4 kB / 400.8 MB, free: 13.12 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.713e-05/0.07207, allocations: 86.19 kB / 400.9 MB, free: 13.04 MB / 330.7 MB Notification: Performance of SimCode: time 5.1e-07/0.07207, allocations: 0 / 400.9 MB, free: 13.04 MB / 330.7 MB Notification: Performance of Templates: time 0.1168/0.1888, allocations: 28.58 MB / 429.5 MB, free: 71.6 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.7076819981448352]