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.0015/0.0015, allocations: 112.1 kB / 16.42 MB, free: 6.504 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.001715/0.001715, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.29/1.29, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04697/0.04697, allocations: 9.101 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.001448/0.001448, allocations: 70.97 kB / 388.1 MB, free: 47.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06314/0.0646, allocations: 48.17 MB / 436.3 MB, free: 7.641 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ps_parameter): time 0.01627/0.08091, allocations: 16.89 MB / 453.2 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009988/0.09093, allocations: 10.46 MB / 463.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.719e-05/0.09098, allocations: 0 / 463.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005997/0.09162, allocations: 271.2 kB / 463.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.71e-05/0.09168, allocations: 23.84 kB / 463.9 MB, free: 11.89 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.01188/0.1036, allocations: 5.745 MB / 469.7 MB, free: 6.145 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.049e-05/0.1037, allocations: 55.73 kB / 469.7 MB, free: 6.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.075e-05/0.1037, allocations: 0 / 469.7 MB, free: 6.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.412e-05/0.1038, allocations: 35.8 kB / 469.8 MB, free: 6.055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.919e-05/0.1038, allocations: 11.94 kB / 469.8 MB, free: 6.043 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.273e-06/0.1039, allocations: 0 / 469.8 MB, free: 6.043 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01278/0.1166, allocations: 8.757 MB / 478.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.728e-06/0.1167, allocations: 4 kB / 478.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.253e-05/0.1167, allocations: 11.94 kB / 478.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006233/0.123, allocations: 3.621 MB / 482.2 MB, free: 9.625 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.123, allocations: 0 / 482.2 MB, free: 9.625 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.123, allocations: 0 / 482.2 MB, free: 9.625 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.123, allocations: 0 / 482.2 MB, free: 9.625 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.001426/0.1244, allocations: 0.7487 MB / 482.9 MB, free: 8.828 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.1245, allocations: 8.031 kB / 482.9 MB, free: 8.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/0.1245, allocations: 7.938 kB / 482.9 MB, free: 8.812 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.1246, allocations: 174.9 kB / 483.1 MB, free: 8.602 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.1246, allocations: 0 / 483.1 MB, free: 8.602 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.472e-06/0.1247, allocations: 0 / 483.1 MB, free: 8.602 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.687e-05/0.1247, allocations: 41.7 kB / 483.2 MB, free: 8.555 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.1248, allocations: 0 / 483.2 MB, free: 8.555 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.1248, allocations: 0 / 483.2 MB, free: 8.555 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.1248, allocations: 3.984 kB / 483.2 MB, free: 8.551 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.611e-05/0.1248, allocations: 15.94 kB / 483.2 MB, free: 8.535 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001539/0.125, allocations: 157.7 kB / 483.3 MB, free: 8.332 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.414e-05/0.125, allocations: 34.52 kB / 483.4 MB, free: 8.289 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.676e-05/0.1251, allocations: 28.88 kB / 483.4 MB, free: 8.258 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05537/0.1804, allocations: 33.03 MB / 0.5043 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.1805, allocations: 30.56 kB / 0.5043 GB, free: 1.395 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 2.735e-06/0.1805, allocations: 4 kB / 0.5043 GB, free: 1.391 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.000185/0.1807, allocations: 77.56 kB / 0.5044 GB, free: 1.309 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.1807, allocations: 55.41 kB / 0.5045 GB, free: 1.242 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.141e-05/0.1808, allocations: 97.84 kB / 0.5046 GB, free: 1.137 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.1808, allocations: 25.7 kB / 0.5046 GB, free: 1.105 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.403e-05/0.1809, allocations: 84.12 kB / 0.5047 GB, free: 1.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.1809, allocations: 19.66 kB / 0.5047 GB, free: 1 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/0.181, allocations: 17.86 kB / 0.5047 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.855e-05/0.1811, allocations: 322.8 kB / 0.505 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.047e-05/0.1811, allocations: 8 kB / 0.505 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.619e-05/0.1811, allocations: 15.92 kB / 0.505 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.187e-05/0.1812, allocations: 32.86 kB / 0.5051 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1812, allocations: 0 / 0.5051 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.673e-05/0.1813, allocations: 65.84 kB / 0.5051 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.1813, allocations: 4 kB / 0.5051 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.1813, allocations: 0 / 0.5051 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.1813, allocations: 7.938 kB / 0.5051 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-07/0.1813, allocations: 4.062 kB / 0.5051 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.1813, allocations: 7.969 kB / 0.5052 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.859e-05/0.1814, allocations: 3.938 kB / 0.5052 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/0.1814, allocations: 0 / 0.5052 GB, free: 0.4961 MB / 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.584e-05/0.1814, allocations: 112.9 kB / 0.5053 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.786e-06/0.1815, allocations: 0 / 0.5053 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.1816, allocations: 182.7 kB / 0.5054 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.818e-05/0.1817, allocations: 180.3 kB / 0.5056 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.091e-05/0.1817, allocations: 105 kB / 0.5057 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.421e-05/0.1818, allocations: 182 kB / 0.5059 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.365e-05/0.1819, allocations: 188.1 kB / 0.5061 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.487e-05/0.182, allocations: 109 kB / 0.5062 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.271e-05/0.182, allocations: 180.2 kB / 0.5063 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.836e-05/0.1821, allocations: 263.5 kB / 0.5066 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001606/0.1823, allocations: 379 kB / 0.507 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.272e-05/0.1823, allocations: 108.9 kB / 0.5071 GB, free: 14.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.944e-05/0.1824, allocations: 99.27 kB / 0.5072 GB, free: 14.32 MB / 414.1 MB Notification: Performance of Backend: time 4.51e-07/0.1824, allocations: 0 / 0.5072 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003605/0.186, allocations: 1.341 MB / 0.5085 GB, free: 12.96 MB / 414.1 MB Notification: Performance of SimCode: time 0.0006477/0.1867, allocations: 0.9005 MB / 0.5093 GB, free: 12.01 MB / 414.1 MB Notification: Performance of Templates: time 0.1853/0.3719, allocations: 23.46 MB / 0.5323 GB, free: 95.08 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)