Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.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.Fluid.TestComponents.Fittings.TestJunctionIdeal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|pipe1.port_b.m_flow|pipe1.port_b.p|pipe1.port_b.h_outflow|pipe2.port_b.m_flow|pipe2.port_b.p|pipe2.port_b.h_outflow|pipe3.port_b.m_flow|pipe3.port_b.p|pipe3.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002963/0.002962, allocations: 364.4 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 4.082/4.082, allocations: 388.9 MB / 405.6 MB, free: 10.24 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.003627/0.003627, allocations: 229.2 kB / 451 MB, free: 145.1 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.5572/0.5572, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004901/0.0004907, allocations: 8 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09803/0.09855, allocations: 54.88 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal): time 0.5991/0.6977, allocations: 188.7 MB / 0.8644 GB, free: 15.51 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.02678/0.7245, allocations: 12.49 MB / 0.8766 GB, free: 2.996 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001488/0.726, allocations: 47.62 kB / 0.8767 GB, free: 2.949 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001814/0.7279, allocations: 329.9 kB / 0.877 GB, free: 2.625 MB / 458.7 MB [/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. [/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. [/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.01502/0.743, allocations: 2.364 MB / 0.8793 GB, free: 268 kB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01631/0.7593, allocations: 2.483 MB / 0.8817 GB, free: 13.79 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.008439/0.7678, allocations: 3.436 MB / 0.8851 GB, free: 10.34 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002549/0.7705, allocations: 0.6161 MB / 0.8857 GB, free: 9.707 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004267/0.7748, allocations: 0.9495 MB / 0.8866 GB, free: 8.754 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004812/0.7797, allocations: 1.207 MB / 0.8878 GB, free: 7.543 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006037/0.7804, allocations: 48 kB / 0.8878 GB, free: 7.496 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01157/0.792, allocations: 2.562 MB / 0.8903 GB, free: 4.93 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001307/0.7933, allocations: 350.9 kB / 0.8907 GB, free: 4.586 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009203/0.7943, allocations: 225.2 kB / 0.8909 GB, free: 4.359 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008377/0.8027, allocations: 2.311 MB / 0.8931 GB, free: 2.043 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.8028, allocations: 0 / 0.8931 GB, free: 2.043 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.8028, allocations: 0 / 0.8931 GB, free: 2.043 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.642e-05/0.8029, allocations: 0 / 0.8931 GB, free: 2.043 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.3343/1.137, allocations: 1.612 MB / 0.8947 GB, free: 173.7 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.815e-05/1.137, allocations: 10.23 kB / 0.8947 GB, free: 173.7 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002016/1.139, allocations: 200.1 kB / 0.8949 GB, free: 173.7 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002493/1.142, allocations: 0.7379 MB / 0.8956 GB, free: 173.4 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/1.142, allocations: 53.22 kB / 0.8957 GB, free: 173.4 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003458/1.142, allocations: 64.25 kB / 0.8958 GB, free: 173.4 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003906/1.146, allocations: 1.139 MB / 0.8969 GB, free: 173.1 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.586e-05/1.146, allocations: 5.312 kB / 0.8969 GB, free: 173.1 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001799/1.147, allocations: 29.97 kB / 0.8969 GB, free: 173.1 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002154/1.147, allocations: 81.69 kB / 0.897 GB, free: 173.1 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004343/1.151, allocations: 1.173 MB / 0.8981 GB, free: 172.6 MB / 474.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.01343/1.165, allocations: 4.324 MB / 0.9023 GB, free: 169.9 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002424/1.167, allocations: 0.7574 MB / 0.9031 GB, free: 169.7 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001234/1.168, allocations: 379.7 kB / 0.9034 GB, free: 169.5 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001811/1.17, allocations: 1.308 MB / 0.9047 GB, free: 168.3 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.71e-05/1.17, allocations: 45.92 kB / 0.9048 GB, free: 168.3 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001276/1.172, allocations: 112.8 kB / 0.9049 GB, free: 168.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=61): time 5.791e-06/1.172, allocations: 0 / 0.9049 GB, free: 168.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=61): time 0.0122/1.184, allocations: 1.992 MB / 0.9068 GB, free: 167.6 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.889e-05/1.184, allocations: 213.9 kB / 0.907 GB, free: 167.4 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001825/1.186, allocations: 0.816 MB / 0.9078 GB, free: 167 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002375/1.186, allocations: 42.55 kB / 0.9079 GB, free: 167 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004552/1.187, allocations: 473.9 kB / 0.9083 GB, free: 166.6 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003897/1.187, allocations: 216.3 kB / 0.9085 GB, free: 166.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/1.187, allocations: 19.84 kB / 0.9085 GB, free: 166.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/1.187, allocations: 338.7 kB / 0.9089 GB, free: 166.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001418/1.189, allocations: 395.9 kB / 0.9092 GB, free: 166 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00155/1.19, allocations: 0.6448 MB / 0.9099 GB, free: 165.5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001582/1.192, allocations: 495.2 kB / 0.9103 GB, free: 165.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.535e-05/1.192, allocations: 5.125 kB / 0.9103 GB, free: 165.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004201/1.196, allocations: 1.335 MB / 0.9116 GB, free: 164.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001843/1.196, allocations: 303.9 kB / 0.9119 GB, free: 164.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/1.197, allocations: 6.125 kB / 0.9119 GB, free: 164.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008441/1.205, allocations: 0.8481 MB / 0.9128 GB, free: 164 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/1.206, allocations: 181.3 kB / 0.9129 GB, free: 164 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00235/1.209, allocations: 1.178 MB / 0.9141 GB, free: 163.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/1.21, allocations: 63.59 kB / 0.9142 GB, free: 163.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002115/1.211, allocations: 76.12 kB / 0.9142 GB, free: 163.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/1.211, allocations: 8.203 kB / 0.9142 GB, free: 163.1 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003869/1.214, allocations: 1.137 MB / 0.9153 GB, free: 162.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.223e-05/1.215, allocations: 10.78 kB / 0.9154 GB, free: 162.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/1.216, allocations: 185.7 kB / 0.9155 GB, free: 162.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/1.217, allocations: 209.5 kB / 0.9157 GB, free: 162.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003689/1.221, allocations: 2.165 MB / 0.9178 GB, free: 160.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/1.222, allocations: 66.08 kB / 0.9179 GB, free: 160.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000197/1.223, allocations: 71.27 kB / 0.918 GB, free: 160.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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 {3 19} Notification: Performance of prepare postOptimizeDAE: time 0.0007126/1.223, allocations: 359.9 kB / 0.9183 GB, free: 160.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002536/1.224, allocations: 94.28 kB / 0.9184 GB, free: 160.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00443/1.228, allocations: 1.366 MB / 0.9197 GB, free: 159.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/1.228, allocations: 3.984 kB / 0.9198 GB, free: 159.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/1.228, allocations: 0 / 0.9198 GB, free: 159.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005136/1.229, allocations: 171.5 kB / 0.9199 GB, free: 159.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002962/1.229, allocations: 11.94 kB / 0.9199 GB, free: 159.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008743/1.23, allocations: 51.48 kB / 0.92 GB, free: 159.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/1.23, allocations: 51.7 kB / 0.92 GB, free: 159.1 MB / 474.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004161/1.234, allocations: 1.197 MB / 0.9212 GB, free: 158.5 MB / 474.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003309/1.238, allocations: 1.407 MB / 0.9226 GB, free: 157.7 MB / 474.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000898/1.238, allocations: 356.1 kB / 0.9229 GB, free: 157.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001088/1.24, allocations: 0.561 MB / 0.9235 GB, free: 157.2 MB / 474.7 MB Notification: Performance of Backend: time 6.71e-07/1.24, allocations: 0 / 0.9235 GB, free: 157.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007789/1.247, allocations: 2.314 MB / 0.9257 GB, free: 155 MB / 474.7 MB Notification: Performance of SimCode: time 0.00507/1.253, allocations: 2.678 MB / 0.9283 GB, free: 152.3 MB / 474.7 MB Notification: Performance of Templates: time 0.07086/1.323, allocations: 32.53 MB / 0.9601 GB, free: 119.9 MB / 474.7 MB