Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005903/0.005903, allocations: 102 kB / 15.73 MB, free: 6.039 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.001277/0.001277, allocations: 194.2 kB / 16.67 MB, free: 5.961 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.587/1.587, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2231/0.2231, allocations: 39.96 MB / 309.9 MB, free: 3.996 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 67.91 kB / 435.8 MB, free: 11.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1536, allocations: 56.88 MB / 492.7 MB, free: 2.738 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.4258/0.5794, allocations: 43.95 MB / 0.5241 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006927/0.5864, allocations: 4.371 MB / 0.5283 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007115/0.5872, allocations: 20.41 kB / 0.5283 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.5882, allocations: 315.8 kB / 0.5286 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002251/0.5905, allocations: 0.8483 MB / 0.5295 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002723/0.5932, allocations: 0.899 MB / 0.5304 GB, free: 3.305 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002929/0.5962, allocations: 1.796 MB / 0.5321 GB, free: 3.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007971/0.597, allocations: 461.4 kB / 0.5325 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.09973/0.6967, allocations: 44.52 MB / 0.576 GB, free: 4.703 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0175/0.7143, allocations: 7.95 MB / 0.5838 GB, free: 12.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005092/0.7148, allocations: 60 kB / 0.5838 GB, free: 12.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02551/0.7404, allocations: 10.66 MB / 0.5943 GB, free: 2.008 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006737/0.7411, allocations: 263.1 kB / 0.5945 GB, free: 1.754 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009507/0.742, allocations: 399.3 kB / 0.5949 GB, free: 1.367 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002478/0.7445, allocations: 1.084 MB / 0.5959 GB, free: 332 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.7446, allocations: 0 / 0.5959 GB, free: 332 kB / 446.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.7446, allocations: 0 / 0.5959 GB, free: 332 kB / 446.1 MB Notification: Performance of Transformations before backend: time 6.764e-05/0.7446, allocations: 3.938 kB / 0.596 GB, free: 328 kB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002991/0.7476, allocations: 1.05 MB / 0.597 GB, free: 15.23 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.7477, allocations: 8.031 kB / 0.597 GB, free: 15.22 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004572/0.7482, allocations: 92.08 kB / 0.5971 GB, free: 15.13 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.7493, allocations: 0.5311 MB / 0.5976 GB, free: 14.57 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/0.7495, allocations: 104.9 kB / 0.5977 GB, free: 14.46 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.894e-05/0.7496, allocations: 51.97 kB / 0.5977 GB, free: 14.41 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.7511, allocations: 0.8264 MB / 0.5985 GB, free: 13.52 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.249e-05/0.7511, allocations: 0 / 0.5985 GB, free: 13.52 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.972e-05/0.7513, allocations: 20 kB / 0.5986 GB, free: 13.5 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-05/0.7513, allocations: 40.92 kB / 0.5986 GB, free: 13.46 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001437/0.7528, allocations: 0.6478 MB / 0.5992 GB, free: 12.81 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005945/0.7588, allocations: 4.221 MB / 0.6034 GB, free: 8.328 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.7598, allocations: 423.7 kB / 0.6038 GB, free: 7.906 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005144/0.7604, allocations: 209.4 kB / 0.604 GB, free: 7.699 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007291/0.7611, allocations: 0.4951 MB / 0.6044 GB, free: 7.094 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.475e-05/0.7612, allocations: 38.89 kB / 0.6045 GB, free: 7.047 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 2.204e-06/0.7612, allocations: 0 / 0.6045 GB, free: 7.047 MB / 462.1 MB Notification: Performance of matching and sorting (n=45): time 0.003864/0.7651, allocations: 1.528 MB / 0.606 GB, free: 5.465 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.952e-05/0.7652, allocations: 136.5 kB / 0.6061 GB, free: 5.301 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008631/0.766, allocations: 0.5731 MB / 0.6067 GB, free: 4.715 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.533e-05/0.7661, allocations: 37.7 kB / 0.6067 GB, free: 4.672 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003651/0.7665, allocations: 352.2 kB / 0.607 GB, free: 4.324 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000211/0.7667, allocations: 160.3 kB / 0.6072 GB, free: 4.168 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002805/0.767, allocations: 138.5 kB / 0.6073 GB, free: 4.027 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002181/0.7672, allocations: 378.7 kB / 0.6077 GB, free: 3.648 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004305/0.7677, allocations: 221.9 kB / 0.6079 GB, free: 3.43 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006792/0.7684, allocations: 0.5243 MB / 0.6084 GB, free: 2.766 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.7695, allocations: 0.7762 MB / 0.6092 GB, free: 1.859 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-06/0.7696, allocations: 4 kB / 0.6092 GB, free: 1.855 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001861/0.7714, allocations: 0.9446 MB / 0.6101 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/0.7715, allocations: 8.625 kB / 0.6101 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/0.7715, allocations: 8 kB / 0.6101 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00123/0.7727, allocations: 274.9 kB / 0.6104 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004772/0.7732, allocations: 121.1 kB / 0.6105 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00112/0.7744, allocations: 0.8721 MB / 0.6113 GB, free: 15.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005464/0.7749, allocations: 24 kB / 0.6114 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.27e-05/0.775, allocations: 35.98 kB / 0.6114 GB, free: 15.54 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003709/0.7754, allocations: 241.7 kB / 0.6116 GB, free: 15.29 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/0.7756, allocations: 63.25 kB / 0.6117 GB, free: 15.23 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/0.7769, allocations: 0.7235 MB / 0.6124 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.7769, allocations: 12 kB / 0.6124 GB, free: 14.49 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.777, allocations: 0 / 0.6124 GB, free: 14.49 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.777, allocations: 3.984 kB / 0.6124 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002374/0.7794, allocations: 1.395 MB / 0.6138 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/0.7794, allocations: 8.562 kB / 0.6138 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000918/0.7803, allocations: 191.7 kB / 0.614 GB, free: 12.83 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002337/0.7805, allocations: 61 kB / 0.614 GB, free: 12.77 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.034e-05/0.7806, allocations: 12 kB / 0.614 GB, free: 12.75 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002279/0.7829, allocations: 2.986 MB / 0.6169 GB, free: 9.492 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.7829, allocations: 4.031 kB / 0.617 GB, free: 9.488 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001539/0.7845, allocations: 1.005 MB / 0.6179 GB, free: 8.438 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004049/0.7849, allocations: 200.1 kB / 0.6181 GB, free: 8.223 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.785, allocations: 20.06 kB / 0.6181 GB, free: 8.203 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003989/0.7854, allocations: 12 kB / 0.6182 GB, free: 8.191 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.7855, allocations: 47.81 kB / 0.6182 GB, free: 8.145 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.622e-05/0.7856, allocations: 16 kB / 0.6182 GB, free: 8.129 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005462/0.7862, allocations: 419 kB / 0.6186 GB, free: 7.719 MB / 478.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.7862, allocations: 0 / 0.6186 GB, free: 7.719 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009394/0.7871, allocations: 212 kB / 0.6188 GB, free: 7.512 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006441/0.7878, allocations: 224.1 kB / 0.619 GB, free: 7.297 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001379/0.7892, allocations: 0.6078 MB / 0.6196 GB, free: 6.691 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/0.7892, allocations: 3.938 kB / 0.6196 GB, free: 6.688 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001221/0.7904, allocations: 487.6 kB / 0.6201 GB, free: 6.199 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001741/0.7922, allocations: 367.4 kB / 0.6204 GB, free: 5.844 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002464/0.7946, allocations: 1.401 MB / 0.6218 GB, free: 4.402 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005513/0.7952, allocations: 0.9385 MB / 0.6227 GB, free: 3.438 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007052/0.7959, allocations: 210.1 kB / 0.6229 GB, free: 3.23 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/0.7961, allocations: 55.44 kB / 0.623 GB, free: 3.18 MB / 478.1 MB Notification: Performance of SimCode: time 3.21e-07/0.7961, allocations: 0 / 0.623 GB, free: 3.18 MB / 478.1 MB Notification: Performance of Templates: time 0.02774/0.8239, allocations: 15.52 MB / 0.6381 GB, free: 3.695 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1)