Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_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_pT_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_pT_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 111.4 kB / 16.42 MB, free: 6.469 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.00101/0.00101, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.339/1.339, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04584/0.04584, allocations: 9.089 MB / 279.7 MB, free: 2.949 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.00139/0.00139, allocations: 66.28 kB / 388.1 MB, free: 47.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06364/0.06504, allocations: 48.18 MB / 436.3 MB, free: 7.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter): time 0.01499/0.08006, allocations: 16.99 MB / 453.3 MB, free: 6.555 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009883/0.08997, allocations: 11.09 MB / 464.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.55e-05/0.09005, allocations: 0 / 464.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000594/0.09069, allocations: 267.2 kB / 464.6 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.122e-05/0.09076, allocations: 35.75 kB / 464.7 MB, free: 11.13 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.01201/0.1028, allocations: 5.773 MB / 470.4 MB, free: 5.355 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.1029, allocations: 91.53 kB / 470.5 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.663e-05/0.1029, allocations: 3.984 kB / 470.5 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.824e-05/0.103, allocations: 31.81 kB / 470.6 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.701e-05/0.1031, allocations: 27.8 kB / 470.6 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.764e-06/0.1031, allocations: 0 / 470.6 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01262/0.1157, allocations: 8.64 MB / 479.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.224e-05/0.1158, allocations: 0 / 479.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.84e-05/0.1158, allocations: 27.88 kB / 479.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006149/0.122, allocations: 3.656 MB / 482.9 MB, free: 8.855 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.122, allocations: 0 / 482.9 MB, free: 8.855 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.001e-06/0.122, allocations: 0 / 482.9 MB, free: 8.855 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.122, allocations: 4 kB / 482.9 MB, free: 8.852 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0013/0.1233, allocations: 0.7876 MB / 483.7 MB, free: 8.016 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.1234, allocations: 8.031 kB / 483.7 MB, free: 8.008 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.153e-05/0.1234, allocations: 11.84 kB / 483.7 MB, free: 7.996 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.1235, allocations: 167 kB / 483.9 MB, free: 7.793 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.1235, allocations: 3.938 kB / 483.9 MB, free: 7.789 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.1236, allocations: 4 kB / 483.9 MB, free: 7.785 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.1237, allocations: 53.69 kB / 484 MB, free: 7.727 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.1237, allocations: 4 kB / 484 MB, free: 7.723 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-06/0.1237, allocations: 0 / 484 MB, free: 7.723 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.1237, allocations: 0 / 484 MB, free: 7.723 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.792e-05/0.1238, allocations: 31.92 kB / 484 MB, free: 7.691 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001665/0.1239, allocations: 177.6 kB / 484.2 MB, free: 7.469 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.025e-05/0.124, allocations: 54.53 kB / 484.2 MB, free: 7.406 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.354e-05/0.124, allocations: 36.84 kB / 484.3 MB, free: 7.367 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06552/0.1896, allocations: 41.4 MB / 0.5133 GB, free: 6.641 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.1896, allocations: 30.56 kB / 0.5134 GB, free: 6.602 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 2.615e-06/0.1897, allocations: 0 / 0.5134 GB, free: 6.602 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0002667/0.1899, allocations: 125.5 kB / 0.5135 GB, free: 6.473 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.19, allocations: 55.44 kB / 0.5135 GB, free: 6.406 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.661e-05/0.19, allocations: 101.8 kB / 0.5136 GB, free: 6.297 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.1901, allocations: 25.7 kB / 0.5137 GB, free: 6.266 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.962e-05/0.1901, allocations: 80.14 kB / 0.5137 GB, free: 6.184 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.693e-05/0.1901, allocations: 47.23 kB / 0.5138 GB, free: 6.137 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.1902, allocations: 21.72 kB / 0.5138 GB, free: 6.109 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.612e-05/0.1903, allocations: 318.8 kB / 0.5141 GB, free: 5.789 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.623e-05/0.1903, allocations: 32.11 kB / 0.5141 GB, free: 5.758 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.758e-05/0.1904, allocations: 24 kB / 0.5142 GB, free: 5.734 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.529e-05/0.1904, allocations: 68.45 kB / 0.5142 GB, free: 5.668 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1905, allocations: 0 / 0.5142 GB, free: 5.668 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001182/0.1906, allocations: 97.47 kB / 0.5143 GB, free: 5.566 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.1906, allocations: 10.03 kB / 0.5143 GB, free: 5.559 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.1906, allocations: 7.922 kB / 0.5143 GB, free: 5.551 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.1906, allocations: 0 / 0.5143 GB, free: 5.551 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.1906, allocations: 0 / 0.5143 GB, free: 5.551 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1907, allocations: 0 / 0.5143 GB, free: 5.551 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.504e-05/0.1907, allocations: 4.062 kB / 0.5143 GB, free: 5.547 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.1907, allocations: 4 kB / 0.5143 GB, free: 5.543 MB / 414.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: 2 (state_ps.phase,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.058e-05/0.1908, allocations: 112.9 kB / 0.5144 GB, free: 5.426 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.561e-05/0.1908, allocations: 7.906 kB / 0.5145 GB, free: 5.418 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002042/0.191, allocations: 159.5 kB / 0.5146 GB, free: 5.234 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.191, allocations: 0 / 0.5146 GB, free: 5.234 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.191, allocations: 0 / 0.5146 GB, free: 5.234 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.873e-05/0.1911, allocations: 89.05 kB / 0.5147 GB, free: 5.129 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.1911, allocations: 0 / 0.5147 GB, free: 5.129 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.194e-05/0.1911, allocations: 4 kB / 0.5147 GB, free: 5.125 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.136e-05/0.1911, allocations: 0 / 0.5147 GB, free: 5.125 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.274e-05/0.1912, allocations: 141 kB / 0.5148 GB, free: 4.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001403/0.1914, allocations: 238.6 kB / 0.5151 GB, free: 4.73 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.984e-05/0.1914, allocations: 19.98 kB / 0.5151 GB, free: 4.711 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.131e-05/0.1915, allocations: 107.3 kB / 0.5152 GB, free: 4.605 MB / 414.1 MB Notification: Performance of Backend: time 5.21e-07/0.1915, allocations: 0 / 0.5152 GB, free: 4.605 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00406/0.1956, allocations: 1.388 MB / 0.5165 GB, free: 3.207 MB / 414.1 MB Notification: Performance of SimCode: time 0.0006148/0.1962, allocations: 0.6296 MB / 0.5171 GB, free: 2.531 MB / 414.1 MB Notification: Performance of Templates: time 0.1754/0.3716, allocations: 23.98 MB / 0.5406 GB, free: 86.69 MB / 414.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe 2>&1)