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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.Parameter.State_ps_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_ps_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 114.7 kB / 16.42 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 188.3 kB / 17.35 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.229/1.229, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04522/0.04522, allocations: 9.089 MB / 279.7 MB, free: 2.957 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 72.69 kB / 388.1 MB, free: 47.22 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06329/0.06467, allocations: 48.18 MB / 436.3 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ps_parameter): time 0.01421/0.07892, allocations: 16.9 MB / 453.2 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009018/0.08796, allocations: 10.45 MB / 463.6 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.391e-05/0.088, allocations: 4 kB / 463.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005688/0.08859, allocations: 303.2 kB / 463.9 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.302e-05/0.08864, allocations: 31.78 kB / 464 MB, free: 11.84 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:1231:13-1231: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 master/Interfaces/PartialHelmholtzMedium/package.mo:1231:13-1231: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.01042/0.09907, allocations: 6.017 MB / 470 MB, free: 5.816 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.305e-05/0.09917, allocations: 51.72 kB / 470 MB, free: 5.766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.793e-05/0.09921, allocations: 4 kB / 470.1 MB, free: 5.762 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.945e-05/0.0993, allocations: 31.8 kB / 470.1 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.433e-05/0.09935, allocations: 15.92 kB / 470.1 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.113e-06/0.09936, allocations: 4 kB / 470.1 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01113/0.1105, allocations: 8.745 MB / 478.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.428e-06/0.1105, allocations: 0 / 478.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.812e-05/0.1106, allocations: 19.88 kB / 478.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005011/0.1156, allocations: 3.628 MB / 482.5 MB, free: 9.293 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1156, allocations: 0 / 482.5 MB, free: 9.293 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1156, allocations: 0 / 482.5 MB, free: 9.293 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1156, allocations: 0 / 482.5 MB, free: 9.293 MB / 366.1 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.0009365/0.1166, allocations: 0.7726 MB / 483.3 MB, free: 8.469 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.1166, allocations: 8.031 kB / 483.3 MB, free: 8.461 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.915e-05/0.1166, allocations: 11.89 kB / 483.3 MB, free: 8.449 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.1167, allocations: 167 kB / 483.4 MB, free: 8.246 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.783e-06/0.1168, allocations: 0 / 483.4 MB, free: 8.246 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.328e-06/0.1168, allocations: 0 / 483.4 MB, free: 8.246 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.552e-05/0.1169, allocations: 41.69 kB / 483.5 MB, free: 8.199 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-06/0.1169, allocations: 0 / 483.5 MB, free: 8.199 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-06/0.1169, allocations: 4 kB / 483.5 MB, free: 8.195 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1169, allocations: 0 / 483.5 MB, free: 8.195 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.295e-05/0.1169, allocations: 19.92 kB / 483.5 MB, free: 8.176 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001523/0.1171, allocations: 161.7 kB / 483.7 MB, free: 7.969 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.479e-05/0.1171, allocations: 38.5 kB / 483.7 MB, free: 7.922 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.151e-05/0.1172, allocations: 16.89 kB / 483.7 MB, free: 7.902 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05053/0.1677, allocations: 33.04 MB / 0.5047 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.1678, allocations: 34.56 kB / 0.5047 GB, free: 1.027 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 2.374e-06/0.1678, allocations: 0 / 0.5047 GB, free: 1.027 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001847/0.168, allocations: 81.55 kB / 0.5048 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.168, allocations: 51.41 kB / 0.5048 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.037e-05/0.1681, allocations: 97.86 kB / 0.5049 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.1681, allocations: 25.7 kB / 0.5049 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.223e-05/0.1681, allocations: 84.3 kB / 0.505 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.491e-05/0.1682, allocations: 27.77 kB / 0.505 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.982e-05/0.1682, allocations: 17.72 kB / 0.5051 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.627e-05/0.1683, allocations: 310.8 kB / 0.5053 GB, free: 300 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.881e-05/0.1683, allocations: 15.92 kB / 0.5054 GB, free: 284 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.487e-05/0.1684, allocations: 12 kB / 0.5054 GB, free: 272 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.187e-05/0.1684, allocations: 36.84 kB / 0.5054 GB, free: 232 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1684, allocations: 0 / 0.5054 GB, free: 232 kB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.734e-05/0.1685, allocations: 69.92 kB / 0.5055 GB, free: 156 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.1685, allocations: 8 kB / 0.5055 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1685, allocations: 3.984 kB / 0.5055 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.1685, allocations: 3.938 kB / 0.5055 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.1685, allocations: 0 / 0.5055 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.1686, allocations: 0 / 0.5055 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.675e-05/0.1686, allocations: 0 / 0.5055 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.1686, allocations: 4 kB / 0.5055 GB, free: 136 kB / 398.1 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.109e-05/0.1687, allocations: 112.8 kB / 0.5056 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.233e-06/0.1687, allocations: 0 / 0.5056 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001471/0.1688, allocations: 190.8 kB / 0.5058 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.583e-05/0.1689, allocations: 176.3 kB / 0.506 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.663e-05/0.1689, allocations: 105 kB / 0.5061 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.955e-05/0.169, allocations: 190 kB / 0.5062 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.099e-05/0.1691, allocations: 184.3 kB / 0.5064 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.356e-05/0.1692, allocations: 105 kB / 0.5065 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.494e-05/0.1692, allocations: 184.2 kB / 0.5067 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.719e-05/0.1693, allocations: 251.5 kB / 0.5069 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001481/0.1695, allocations: 387 kB / 0.5073 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.233e-05/0.1695, allocations: 112.9 kB / 0.5074 GB, free: 14.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.701e-05/0.1696, allocations: 99.27 kB / 0.5075 GB, free: 13.94 MB / 414.1 MB Notification: Performance of Backend: time 2.6e-07/0.1696, allocations: 0 / 0.5075 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003228/0.1728, allocations: 1.355 MB / 0.5088 GB, free: 12.58 MB / 414.1 MB Notification: Performance of SimCode: time 0.0006002/0.1734, allocations: 0.9044 MB / 0.5097 GB, free: 11.62 MB / 414.1 MB Notification: Performance of Templates: time 0.1749/0.3483, allocations: 23.44 MB / 0.5326 GB, free: 94.51 MB / 414.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.makefile (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)