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.00092/0.00092, 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.0009419/0.0009419, 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.076/1.076, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.03066/0.03066, allocations: 7.522 MB / 267.5 MB, free: 6.004 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.124e-06/2.124e-06, allocations: 0 / 338.6 MB, free: 11 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.734e-05/1.947e-05, allocations: 2.312 kB / 338.6 MB, free: 11 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ps_parameter): time 0.01209/0.01211, allocations: 16.98 MB / 355.6 MB, free: 9.949 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007319/0.01943, allocations: 10.5 MB / 366.1 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.593e-05/0.01946, allocations: 0 / 366.1 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005307/0.01999, allocations: 239.3 kB / 366.3 MB, free: 15.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.315e-05/0.02003, allocations: 23.84 kB / 366.4 MB, free: 15.15 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.009485/0.02951, allocations: 6.024 MB / 372.4 MB, free: 9.102 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.605e-05/0.02961, allocations: 63.67 kB / 372.5 MB, free: 9.039 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.764e-05/0.02964, allocations: 0 / 372.5 MB, free: 9.039 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.02975, allocations: 39.84 kB / 372.5 MB, free: 9 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.497e-05/0.02978, allocations: 7.938 kB / 372.5 MB, free: 8.992 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.02979, allocations: 4 kB / 372.5 MB, free: 8.988 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007158/0.03695, allocations: 6.143 MB / 378.6 MB, free: 2.832 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.359e-05/0.03696, allocations: 7.938 kB / 378.7 MB, free: 2.824 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.55e-05/0.037, allocations: 8 kB / 378.7 MB, free: 2.816 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004832/0.04183, allocations: 3.608 MB / 382.3 MB, free: 15.2 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.04183, allocations: 0 / 382.3 MB, free: 15.2 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.04184, allocations: 0 / 382.3 MB, free: 15.2 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.04184, allocations: 0 / 382.3 MB, free: 15.2 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.001133/0.04297, allocations: 0.7968 MB / 383.1 MB, free: 14.36 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.04302, allocations: 12.62 kB / 383.1 MB, free: 14.35 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.664e-05/0.04305, allocations: 3.938 kB / 383.1 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.087e-05/0.04314, allocations: 112.1 kB / 383.2 MB, free: 14.21 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.04315, allocations: 3.938 kB / 383.2 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/0.04316, allocations: 0 / 383.2 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.212e-05/0.04324, allocations: 29.7 kB / 383.2 MB, free: 14.17 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.04325, allocations: 3.984 kB / 383.2 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.04326, allocations: 4 kB / 383.2 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.04327, allocations: 4 kB / 383.2 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.465e-05/0.04328, allocations: 4 kB / 383.2 MB, free: 14.15 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001234/0.04341, allocations: 124.5 kB / 383.4 MB, free: 14 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.847e-05/0.04344, allocations: 38.98 kB / 383.4 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.622e-05/0.04346, allocations: 19.7 kB / 383.4 MB, free: 13.92 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02059/0.06405, allocations: 9.242 MB / 392.7 MB, free: 4.668 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.06408, allocations: 41.39 kB / 392.7 MB, free: 4.617 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 2.584e-06/0.06408, allocations: 0 / 392.7 MB, free: 4.617 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.00018/0.06426, allocations: 65.56 kB / 392.8 MB, free: 4.547 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.06429, allocations: 51.41 kB / 392.8 MB, free: 4.484 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.011e-05/0.06436, allocations: 157.9 kB / 393 MB, free: 4.312 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.06437, allocations: 25.7 kB / 393 MB, free: 4.281 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.2e-05/0.06441, allocations: 130.9 kB / 393.1 MB, free: 4.148 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/0.06444, allocations: 23.95 kB / 393.1 MB, free: 4.125 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/0.06447, allocations: 27.36 kB / 393.2 MB, free: 4.09 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.06458, allocations: 492.1 kB / 393.7 MB, free: 3.598 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.17e-05/0.06459, allocations: 4 kB / 393.7 MB, free: 3.594 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.197e-06/0.0646, allocations: 4 kB / 393.7 MB, free: 3.59 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.105e-05/0.06463, allocations: 31.61 kB / 393.7 MB, free: 3.555 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.06463, allocations: 0 / 393.7 MB, free: 3.555 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.291e-05/0.06468, allocations: 53.62 kB / 393.7 MB, free: 3.496 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.0647, allocations: 6.656 kB / 393.7 MB, free: 3.492 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.0647, allocations: 0 / 393.7 MB, free: 3.492 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.06472, allocations: 0 / 393.7 MB, free: 3.492 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.91e-06/0.06472, allocations: 8.062 kB / 393.8 MB, free: 3.484 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.06473, allocations: 0 / 393.8 MB, free: 3.484 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.707e-05/0.06475, allocations: 3.938 kB / 393.8 MB, free: 3.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.06476, allocations: 0 / 393.8 MB, free: 3.48 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.635e-05/0.06482, allocations: 164.6 kB / 393.9 MB, free: 3.309 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.09e-06/0.06483, allocations: 3.953 kB / 393.9 MB, free: 3.305 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001428/0.06497, allocations: 238.6 kB / 394.2 MB, free: 3.035 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.644e-05/0.06503, allocations: 268.1 kB / 394.4 MB, free: 2.766 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.627e-05/0.06508, allocations: 268.1 kB / 394.7 MB, free: 2.496 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.676e-05/0.06514, allocations: 276 kB / 395 MB, free: 2.219 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.06531, allocations: 0.5076 MB / 395.5 MB, free: 1.668 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.171e-05/0.06534, allocations: 148.8 kB / 395.6 MB, free: 1.516 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.001e-05/0.06537, allocations: 144.9 kB / 395.7 MB, free: 1.367 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.409e-05/0.06543, allocations: 268.1 kB / 396 MB, free: 1.098 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.775e-05/0.06549, allocations: 268 kB / 396.3 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.323e-05/0.06554, allocations: 268.1 kB / 396.5 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.694e-05/0.0656, allocations: 280 kB / 396.8 MB, free: 284 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.06573, allocations: 443.9 kB / 397.2 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003038/0.06603, allocations: 148.9 kB / 397.4 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.747e-05/0.0661, allocations: 268.1 kB / 397.6 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.229e-05/0.06616, allocations: 156.8 kB / 397.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.812e-05/0.06622, allocations: 268.1 kB / 398.1 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-05/0.06625, allocations: 148.8 kB / 398.2 MB, free: 14.81 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.918e-05/0.0663, allocations: 143.2 kB / 398.3 MB, free: 14.67 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0663, allocations: 0 / 398.3 MB, free: 14.67 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001327/0.06763, allocations: 0.876 MB / 399.2 MB, free: 13.79 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.002235/0.06986, allocations: 1.601 MB / 400.8 MB, free: 12.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.309e-05/0.06993, allocations: 15.69 kB / 400.8 MB, free: 12.16 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.06993, allocations: 3.938 kB / 400.8 MB, free: 12.16 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.06994, allocations: 0 / 400.8 MB, free: 12.16 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.07034, allocations: 0.7445 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.0005509/0.07089, allocations: 265.4 kB / 401.8 MB, free: 11.12 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.365e-05/0.07092, allocations: 59.34 kB / 401.9 MB, free: 11.05 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.523e-05/0.07094, allocations: 0 / 401.9 MB, free: 11.05 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.474e-05/0.07095, allocations: 12.5 kB / 401.9 MB, free: 11.04 MB / 330.7 MB Notification: Performance of SimCode: time 7.01e-07/0.07095, allocations: 0 / 401.9 MB, free: 11.04 MB / 330.7 MB Notification: Performance of Templates: time 0.1183/0.1893, allocations: 23.86 MB / 425.8 MB, free: 74.42 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.6140658729709685]