Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.LinearColdWater,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.LinearColdWater") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003842/0.003841, allocations: 367.3 kB / 15.96 MB, free: 6.199 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 3.855/3.855, allocations: 388.9 MB / 405.6 MB, free: 9.652 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.00354/0.00354, allocations: 226.3 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.6225/0.6225, allocations: 80.03 MB / 0.5627 GB, free: 19.78 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004921/0.0004923, allocations: 14.5 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09942/0.09994, allocations: 54.86 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02463/0.1246, allocations: 19 MB / 0.6987 GB, free: 22.59 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007675/0.1324, allocations: 4.149 MB / 0.7027 GB, free: 18.43 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001052/0.1335, allocations: 23.81 kB / 0.7027 GB, free: 18.41 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.1347, allocations: 242.5 kB / 0.703 GB, free: 18.17 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.003106/0.1378, allocations: 0.8393 MB / 0.7038 GB, free: 17.33 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002971/0.1408, allocations: 0.6823 MB / 0.7045 GB, free: 16.65 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002923/0.1437, allocations: 2.191 MB / 0.7066 GB, free: 14.46 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008946/0.1447, allocations: 377.1 kB / 0.707 GB, free: 14.08 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00221/0.1469, allocations: 0.7391 MB / 0.7077 GB, free: 13.34 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001481/0.1485, allocations: 0.6306 MB / 0.7083 GB, free: 12.71 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002/0.1487, allocations: 32 kB / 0.7083 GB, free: 12.68 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001085/0.1498, allocations: 199.7 kB / 0.7085 GB, free: 12.48 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003648/0.1502, allocations: 227.3 kB / 0.7087 GB, free: 12.26 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003036/0.1505, allocations: 161.4 kB / 0.7089 GB, free: 12.09 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001473/0.152, allocations: 0.7676 MB / 0.7096 GB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.1521, allocations: 0 / 0.7096 GB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.537e-06/0.1521, allocations: 8 kB / 0.7096 GB, free: 11.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.779e-05/0.1522, allocations: 0 / 0.7096 GB, free: 11.32 MB / 346.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.003101/0.1553, allocations: 0.9191 MB / 0.7105 GB, free: 10.35 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.1554, allocations: 8.828 kB / 0.7105 GB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005193/0.1559, allocations: 91.14 kB / 0.7106 GB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.1571, allocations: 492.6 kB / 0.7111 GB, free: 9.73 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/0.1572, allocations: 116.3 kB / 0.7112 GB, free: 9.605 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.1574, allocations: 47.94 kB / 0.7113 GB, free: 9.559 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00191/0.1593, allocations: 0.8065 MB / 0.712 GB, free: 8.684 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.627e-05/0.1594, allocations: 8 kB / 0.7121 GB, free: 8.676 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/0.1595, allocations: 27.98 kB / 0.7121 GB, free: 8.648 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.97e-05/0.1596, allocations: 40.92 kB / 0.7121 GB, free: 8.605 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001789/0.1614, allocations: 0.6361 MB / 0.7127 GB, free: 7.973 MB / 346.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.006272/0.1677, allocations: 4.201 MB / 0.7168 GB, free: 3.477 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/0.169, allocations: 409.3 kB / 0.7172 GB, free: 3.07 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000467/0.1695, allocations: 201.4 kB / 0.7174 GB, free: 2.871 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000525/0.17, allocations: 0.4989 MB / 0.7179 GB, free: 2.262 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.1701, allocations: 46.83 kB / 0.718 GB, free: 2.207 MB / 346.7 MB Notification: Performance of pre-optimization done (n=40): time 3.186e-06/0.1701, allocations: 0 / 0.718 GB, free: 2.207 MB / 346.7 MB Notification: Performance of matching and sorting (n=45): time 0.004595/0.1747, allocations: 1.496 MB / 0.7194 GB, free: 0.6602 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.1748, allocations: 136.5 kB / 0.7196 GB, free: 0.4961 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3011/0.4759, allocations: 0.5516 MB / 0.7201 GB, free: 47.84 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001383/0.4761, allocations: 33.14 kB / 0.7201 GB, free: 47.8 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004199/0.4765, allocations: 370.9 kB / 0.7205 GB, free: 47.69 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002055/0.4768, allocations: 160.3 kB / 0.7206 GB, free: 47.59 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6e-05/0.4768, allocations: 18.42 kB / 0.7206 GB, free: 47.59 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.477, allocations: 371.8 kB / 0.721 GB, free: 47.28 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007329/0.4777, allocations: 227.9 kB / 0.7212 GB, free: 47.28 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009239/0.4787, allocations: 0.5347 MB / 0.7217 GB, free: 46.88 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008869/0.4796, allocations: 322.1 kB / 0.722 GB, free: 46.88 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/0.4796, allocations: 3.125 kB / 0.7221 GB, free: 46.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003215/0.4828, allocations: 0.9832 MB / 0.723 GB, free: 46.53 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.169e-05/0.4829, allocations: 10.81 kB / 0.723 GB, free: 46.53 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.062e-05/0.4829, allocations: 11.89 kB / 0.723 GB, free: 46.53 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00188/0.4848, allocations: 264.5 kB / 0.7233 GB, free: 46.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008939/0.4858, allocations: 135.5 kB / 0.7234 GB, free: 46.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001342/0.4871, allocations: 0.854 MB / 0.7242 GB, free: 45.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009965/0.4881, allocations: 42.66 kB / 0.7243 GB, free: 45.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.46e-05/0.4883, allocations: 42.83 kB / 0.7243 GB, free: 45.79 MB / 346.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.0004964/0.4888, allocations: 249.3 kB / 0.7246 GB, free: 45.6 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/0.4889, allocations: 66.53 kB / 0.7246 GB, free: 45.57 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002033/0.491, allocations: 0.7027 MB / 0.7253 GB, free: 45.25 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.491, allocations: 1.828 kB / 0.7253 GB, free: 45.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.491, allocations: 5.094 kB / 0.7253 GB, free: 45.25 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004322/0.4915, allocations: 192 kB / 0.7255 GB, free: 45.09 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001687/0.4917, allocations: 16.44 kB / 0.7255 GB, free: 45.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006143/0.4923, allocations: 33.22 kB / 0.7256 GB, free: 45.07 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.4925, allocations: 30.67 kB / 0.7256 GB, free: 45.07 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003066/0.4956, allocations: 0.7097 MB / 0.7263 GB, free: 44.77 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0021/0.4977, allocations: 0.9596 MB / 0.7272 GB, free: 44.24 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005487/0.4983, allocations: 226.9 kB / 0.7274 GB, free: 44.16 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007117/0.499, allocations: 379.3 kB / 0.7278 GB, free: 44 MB / 346.7 MB Notification: Performance of Backend: time 9.62e-07/0.499, allocations: 3.719 kB / 0.7278 GB, free: 44 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002562/0.5016, allocations: 0.6393 MB / 0.7284 GB, free: 43.77 MB / 346.7 MB Notification: Performance of SimCode: time 0.004412/0.506, allocations: 2.093 MB / 0.7305 GB, free: 42.49 MB / 346.7 MB Notification: Performance of Templates: time 0.03747/0.5436, allocations: 12.31 MB / 0.7425 GB, free: 37.86 MB / 346.7 MB