Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_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.1_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.0009957/0.0009957, allocations: 91.14 kB / 15.06 MB, free: 1.098 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.001036/0.001037, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.506/1.506, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3203/0.3203, allocations: 38.03 MB / 308.4 MB, free: 10.39 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.1. 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.0005851/0.0005853, allocations: 20 kB / 376.5 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1216, allocations: 57.52 MB / 434 MB, free: 5.551 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.2522/0.3739, allocations: 41.26 MB / 475.2 MB, free: 31.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004801/0.3787, allocations: 4.211 MB / 479.4 MB, free: 29.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007789/0.3796, allocations: 21.72 kB / 479.5 MB, free: 29.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000761/0.3803, allocations: 260.6 kB / 479.7 MB, free: 29.11 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.00178/0.3821, allocations: 0.7955 MB / 480.5 MB, free: 28.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001724/0.3839, allocations: 0.6788 MB / 481.2 MB, free: 28.33 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00166/0.3855, allocations: 2.196 MB / 483.4 MB, free: 27.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004725/0.386, allocations: 380.4 kB / 483.8 MB, free: 27.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1052/0.4912, allocations: 73.48 MB / 0.5442 GB, free: 11.89 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02034/0.5116, allocations: 13.72 MB / 0.5576 GB, free: 14.17 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002025/0.5118, allocations: 39.92 kB / 0.5576 GB, free: 14.13 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02736/0.5392, allocations: 18.71 MB / 0.5759 GB, free: 11.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005974/0.5398, allocations: 231.3 kB / 0.5761 GB, free: 11.19 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003313/0.5402, allocations: 169.3 kB / 0.5763 GB, free: 11.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000998/0.5412, allocations: 0.7676 MB / 0.577 GB, free: 10.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.5412, allocations: 4 kB / 0.577 GB, free: 10.24 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.5412, allocations: 0 / 0.577 GB, free: 10.24 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.906e-06/0.5412, allocations: 0 / 0.577 GB, free: 10.24 MB / 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.001827/0.5431, allocations: 0.9204 MB / 0.5779 GB, free: 9.273 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/0.5431, allocations: 12.03 kB / 0.5779 GB, free: 9.262 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000315/0.5435, allocations: 91.14 kB / 0.578 GB, free: 9.172 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008032/0.5443, allocations: 496.5 kB / 0.5785 GB, free: 8.645 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/0.5444, allocations: 108.3 kB / 0.5786 GB, free: 8.527 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.146e-05/0.5445, allocations: 44 kB / 0.5786 GB, free: 8.484 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.5457, allocations: 0.8182 MB / 0.5794 GB, free: 7.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.5457, allocations: 3.938 kB / 0.5794 GB, free: 7.586 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-05/0.5458, allocations: 27.98 kB / 0.5795 GB, free: 7.559 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.322e-05/0.5459, allocations: 36.98 kB / 0.5795 GB, free: 7.523 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009727/0.5468, allocations: 0.6477 MB / 0.5801 GB, free: 6.871 MB / 446.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.004315/0.5512, allocations: 4.213 MB / 0.5842 GB, free: 2.371 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000781/0.552, allocations: 411.9 kB / 0.5846 GB, free: 1.961 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003176/0.5523, allocations: 217.1 kB / 0.5848 GB, free: 1.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004719/0.5528, allocations: 0.4989 MB / 0.5853 GB, free: 1.141 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.5528, allocations: 34.89 kB / 0.5854 GB, free: 1.098 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 3.857e-06/0.5528, allocations: 4 kB / 0.5854 GB, free: 1.094 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003097/0.5559, allocations: 1.526 MB / 0.5869 GB, free: 15.51 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.697e-05/0.556, allocations: 132.5 kB / 0.587 GB, free: 15.35 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006813/0.5567, allocations: 0.5653 MB / 0.5875 GB, free: 14.78 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.052e-05/0.5568, allocations: 37.7 kB / 0.5876 GB, free: 14.73 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002466/0.557, allocations: 346.9 kB / 0.5879 GB, free: 14.39 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.5572, allocations: 165.7 kB / 0.5881 GB, free: 14.23 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.5572, allocations: 12 kB / 0.5881 GB, free: 14.22 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.5574, allocations: 382.7 kB / 0.5884 GB, free: 13.84 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003488/0.5577, allocations: 221.9 kB / 0.5887 GB, free: 13.62 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005447/0.5583, allocations: 0.5201 MB / 0.5892 GB, free: 12.96 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004711/0.5588, allocations: 312.6 kB / 0.5895 GB, free: 12.66 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.5588, allocations: 4 kB / 0.5895 GB, free: 12.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001722/0.5605, allocations: 0.9646 MB / 0.5904 GB, free: 11.68 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.5606, allocations: 8.219 kB / 0.5904 GB, free: 11.67 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.5606, allocations: 16.78 kB / 0.5904 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/0.5616, allocations: 264.6 kB / 0.5907 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004134/0.562, allocations: 131.7 kB / 0.5908 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008954/0.5629, allocations: 0.8706 MB / 0.5917 GB, free: 10.37 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004508/0.5634, allocations: 39.89 kB / 0.5917 GB, free: 10.33 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-05/0.5635, allocations: 36 kB / 0.5917 GB, free: 10.3 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003118/0.5638, allocations: 254.6 kB / 0.592 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.5639, allocations: 63.3 kB / 0.592 GB, free: 9.977 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/0.5652, allocations: 0.7219 MB / 0.5927 GB, free: 9.242 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.5653, allocations: 8 kB / 0.5927 GB, free: 9.234 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.5653, allocations: 0 / 0.5927 GB, free: 9.234 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.5653, allocations: 7.922 kB / 0.5928 GB, free: 9.227 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00215/0.5675, allocations: 1.396 MB / 0.5941 GB, free: 7.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/0.5675, allocations: 4 kB / 0.5941 GB, free: 7.746 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009041/0.5684, allocations: 192 kB / 0.5943 GB, free: 7.559 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002801/0.5687, allocations: 64.69 kB / 0.5944 GB, free: 7.492 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.602e-05/0.5687, allocations: 12 kB / 0.5944 GB, free: 7.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002334/0.5711, allocations: 2.8 MB / 0.5971 GB, free: 4.414 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.5711, allocations: 4.031 kB / 0.5971 GB, free: 4.41 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001399/0.5725, allocations: 0.9879 MB / 0.5981 GB, free: 3.379 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002992/0.5728, allocations: 204.3 kB / 0.5983 GB, free: 3.16 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.258e-05/0.5729, allocations: 11.98 kB / 0.5983 GB, free: 3.148 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003614/0.5733, allocations: 27.89 kB / 0.5983 GB, free: 3.121 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.468e-05/0.5734, allocations: 39.89 kB / 0.5983 GB, free: 3.082 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-05/0.5734, allocations: 23.98 kB / 0.5984 GB, free: 3.059 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000516/0.5739, allocations: 390.8 kB / 0.5987 GB, free: 2.68 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5739, allocations: 0 / 0.5987 GB, free: 2.68 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007488/0.5747, allocations: 212 kB / 0.5989 GB, free: 2.473 MB / 462.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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004257/0.5751, allocations: 214.7 kB / 0.5992 GB, free: 2.258 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001068/0.5762, allocations: 0.6089 MB / 0.5997 GB, free: 1.648 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.5762, allocations: 0 / 0.5997 GB, free: 1.648 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001102/0.5773, allocations: 494 kB / 0.6002 GB, free: 1.152 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001455/0.5788, allocations: 328.4 kB / 0.6005 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/0.581, allocations: 1.648 MB / 0.6021 GB, free: 15.14 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005017/0.5815, allocations: 0.9426 MB / 0.6031 GB, free: 14.17 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007082/0.5823, allocations: 212.7 kB / 0.6033 GB, free: 13.97 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/0.5824, allocations: 63.42 kB / 0.6033 GB, free: 13.91 MB / 478.1 MB Notification: Performance of SimCode: time 4.11e-07/0.5824, allocations: 0 / 0.6033 GB, free: 13.91 MB / 478.1 MB Notification: Performance of Templates: time 0.02096/0.6034, allocations: 13.49 MB / 0.6165 GB, free: 464 kB / 478.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) Environment - environmentSimulation: