Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002825/0.002824, allocations: 368.5 kB / 15.96 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.247/4.247, allocations: 388.9 MB / 405.6 MB, free: 9.594 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.004718/0.004718, allocations: 232.4 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5314/0.5314, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004746/0.0004748, allocations: 8 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1006, allocations: 54.87 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.3701/0.4708, allocations: 41.06 MB / 0.7202 GB, free: 13.64 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0087/0.4795, allocations: 4.213 MB / 0.7243 GB, free: 13.6 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001141/0.4807, allocations: 23.94 kB / 0.7243 GB, free: 13.6 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.4819, allocations: 248.3 kB / 0.7246 GB, free: 13.6 MB / 346.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:826:36-827:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:824:36-825:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003484/0.4854, allocations: 0.8375 MB / 0.7254 GB, free: 13.59 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00334/0.4888, allocations: 0.6799 MB / 0.7261 GB, free: 13.57 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.004037/0.4929, allocations: 2.193 MB / 0.7282 GB, free: 13.57 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001042/0.494, allocations: 371.3 kB / 0.7286 GB, free: 13.54 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2398/0.7338, allocations: 73.45 MB / 0.8003 GB, free: 9.379 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03668/0.7705, allocations: 13.71 MB / 0.8137 GB, free: 12.82 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002668/0.7709, allocations: 34.06 kB / 0.8137 GB, free: 12.79 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05742/0.8283, allocations: 18.71 MB / 0.832 GB, free: 10.26 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000816/0.8292, allocations: 231.9 kB / 0.8322 GB, free: 10.04 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005382/0.8297, allocations: 164 kB / 0.8324 GB, free: 9.871 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00227/0.832, allocations: 0.758 MB / 0.8331 GB, free: 9.145 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.361e-05/0.8321, allocations: 4 kB / 0.8331 GB, free: 9.141 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.168e-06/0.8321, allocations: 3.938 kB / 0.8331 GB, free: 9.137 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.456e-05/0.8321, allocations: 2.844 kB / 0.8331 GB, free: 9.137 MB / 426.7 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.003958/0.8361, allocations: 0.9218 MB / 0.834 GB, free: 8.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.874e-05/0.8362, allocations: 12.83 kB / 0.834 GB, free: 8.168 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007184/0.8369, allocations: 92.59 kB / 0.8341 GB, free: 8.078 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001619/0.8386, allocations: 0.4889 MB / 0.8346 GB, free: 7.566 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000196/0.8388, allocations: 99.61 kB / 0.8347 GB, free: 7.461 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001999/0.839, allocations: 48 kB / 0.8347 GB, free: 7.414 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002748/0.8418, allocations: 0.8212 MB / 0.8355 GB, free: 6.535 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.702e-05/0.8419, allocations: 0 / 0.8355 GB, free: 6.535 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001552/0.842, allocations: 28.44 kB / 0.8356 GB, free: 6.512 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001258/0.8422, allocations: 43.89 kB / 0.8356 GB, free: 6.473 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002857/0.845, allocations: 0.6438 MB / 0.8362 GB, free: 5.832 MB / 426.7 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.0103/0.8554, allocations: 4.199 MB / 0.8403 GB, free: 1.383 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001904/0.8573, allocations: 412 kB / 0.8407 GB, free: 0.9727 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007667/0.8581, allocations: 202.7 kB / 0.8409 GB, free: 0.7734 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009018/0.8591, allocations: 0.5063 MB / 0.8414 GB, free: 164 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.767e-05/0.8591, allocations: 42.84 kB / 0.8415 GB, free: 112 kB / 426.7 MB Notification: Performance of pre-optimization done (n=40): time 4.949e-06/0.8592, allocations: 4 kB / 0.8415 GB, free: 108 kB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.007141/0.8663, allocations: 1.496 MB / 0.8429 GB, free: 14.56 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/0.8665, allocations: 132.5 kB / 0.843 GB, free: 14.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/0.8679, allocations: 0.5536 MB / 0.8436 GB, free: 13.84 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001416/0.8681, allocations: 29.7 kB / 0.8436 GB, free: 13.8 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004838/0.8686, allocations: 369.4 kB / 0.844 GB, free: 13.44 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002756/0.8689, allocations: 166.9 kB / 0.8441 GB, free: 13.28 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.284e-05/0.869, allocations: 16 kB / 0.8441 GB, free: 13.26 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.00026/0.8693, allocations: 378.7 kB / 0.8445 GB, free: 12.88 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009045/0.8702, allocations: 225.8 kB / 0.8447 GB, free: 12.66 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/0.8715, allocations: 0.5452 MB / 0.8453 GB, free: 11.98 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/0.8727, allocations: 321.9 kB / 0.8456 GB, free: 11.66 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/0.8728, allocations: 4 kB / 0.8456 GB, free: 11.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004453/0.8772, allocations: 0.9682 MB / 0.8465 GB, free: 10.68 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.085e-05/0.8773, allocations: 8 kB / 0.8465 GB, free: 10.67 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.549e-05/0.8774, allocations: 12 kB / 0.8465 GB, free: 10.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00249/0.8799, allocations: 270.2 kB / 0.8468 GB, free: 10.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009581/0.8809, allocations: 135.8 kB / 0.8469 GB, free: 10.26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001605/0.8825, allocations: 0.8526 MB / 0.8477 GB, free: 9.387 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.8836, allocations: 51.94 kB / 0.8478 GB, free: 9.336 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/0.8837, allocations: 40 kB / 0.8478 GB, free: 9.297 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (77): * Single equations (assignments): 76 * 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.0005511/0.8843, allocations: 245.5 kB / 0.8481 GB, free: 9.047 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001839/0.8845, allocations: 67.2 kB / 0.8481 GB, free: 8.98 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002224/0.8867, allocations: 0.7034 MB / 0.8488 GB, free: 8.27 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.8868, allocations: 0 / 0.8488 GB, free: 8.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.8868, allocations: 0 / 0.8488 GB, free: 8.27 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00055/0.8874, allocations: 196.3 kB / 0.849 GB, free: 8.059 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001876/0.8876, allocations: 15.98 kB / 0.849 GB, free: 8.043 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006469/0.8882, allocations: 23.94 kB / 0.849 GB, free: 8.02 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.8884, allocations: 32.39 kB / 0.8491 GB, free: 7.988 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003165/0.8915, allocations: 0.712 MB / 0.8498 GB, free: 7.273 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002329/0.8939, allocations: 0.9545 MB / 0.8507 GB, free: 6.301 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000633/0.8946, allocations: 227.4 kB / 0.8509 GB, free: 6.078 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008532/0.8955, allocations: 385.2 kB / 0.8513 GB, free: 5.707 MB / 442.7 MB Notification: Performance of Backend: time 9.31e-07/0.8955, allocations: 0 / 0.8513 GB, free: 5.707 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002807/0.8983, allocations: 0.6415 MB / 0.8519 GB, free: 5.09 MB / 442.7 MB Notification: Performance of SimCode: time 0.00513/0.9035, allocations: 2.105 MB / 0.854 GB, free: 2.945 MB / 442.7 MB Notification: Performance of Templates: time 0.03773/0.9413, allocations: 12.31 MB / 0.866 GB, free: 6.809 MB / 458.7 MB