Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.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.TestMultiPortTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume1.mC_scaled.1.|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p|volume2.mC_scaled.1.|volume2.medium.T|volume2.medium.Xi.1.|volume2.medium.p|volume3.mC_scaled.1.|volume3.medium.T|volume3.medium.Xi.1.|volume3.medium.p",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004119/0.004126, allocations: 370 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.93/3.93, allocations: 388.9 MB / 405.6 MB, free: 10.27 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.003604/0.003603, allocations: 234.7 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.482/0.482, allocations: 80.02 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006039/0.0006042, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09418/0.09482, allocations: 54.88 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances): time 1.297/1.392, allocations: 324.4 MB / 0.9969 GB, free: 1.332 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.05839/1.45, allocations: 29.49 MB / 1.026 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004212/1.454, allocations: 96.69 kB / 1.026 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004791/1.459, allocations: 0.9612 MB / 1.027 GB, free: 368 kB / 490.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. Notification: Performance of NFTyping.typeBindings: time 0.04597/1.505, allocations: 9.118 MB / 1.036 GB, free: 9.047 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.03682/1.542, allocations: 6.398 MB / 1.042 GB, free: 2.66 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.02572/1.568, allocations: 10.45 MB / 1.052 GB, free: 8.176 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008076/1.576, allocations: 2.038 MB / 1.054 GB, free: 6.125 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03093/1.607, allocations: 5.815 MB / 1.06 GB, free: 304 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01477/1.622, allocations: 3.798 MB / 1.063 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.002209/1.624, allocations: 204 kB / 1.064 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1074/1.732, allocations: 15.73 MB / 1.079 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.00407/1.736, allocations: 1.625 MB / 1.081 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.002613/1.738, allocations: 0.6953 MB / 1.081 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.02689/1.765, allocations: 9.667 MB / 1.091 GB, free: 0.5156 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/1.765, allocations: 0 / 1.091 GB, free: 0.5156 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.477e-06/1.765, allocations: 0 / 1.091 GB, free: 0.5156 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001945/1.766, allocations: 0 / 1.091 GB, free: 0.5156 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 752 * Number of variables: 752 Notification: Performance of Generate backend data structure: time 0.02266/1.788, allocations: 5.494 MB / 1.096 GB, free: 10.93 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/1.788, allocations: 8.031 kB / 1.096 GB, free: 10.92 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002351/1.791, allocations: 407.6 kB / 1.097 GB, free: 10.52 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006073/1.797, allocations: 1.901 MB / 1.098 GB, free: 8.559 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007081/1.798, allocations: 0.5006 MB / 1.099 GB, free: 8 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00125/1.799, allocations: 280 kB / 1.099 GB, free: 7.727 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0155/1.814, allocations: 4.955 MB / 1.104 GB, free: 2.535 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001187/1.815, allocations: 15.78 kB / 1.104 GB, free: 2.52 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007465/1.815, allocations: 127.9 kB / 1.104 GB, free: 2.395 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005945/1.816, allocations: 273.2 kB / 1.104 GB, free: 2.125 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3526/2.168, allocations: 5.109 MB / 1.109 GB, free: 247.8 MB / 0.5574 GB 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.06529/2.234, allocations: 21.62 MB / 1.13 GB, free: 232.9 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008786/2.243, allocations: 2.624 MB / 1.133 GB, free: 231.9 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005039/2.248, allocations: 1.58 MB / 1.135 GB, free: 231.3 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00708/2.255, allocations: 6.35 MB / 1.141 GB, free: 225 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001097/2.255, allocations: 64.91 kB / 1.141 GB, free: 224.9 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=235): time 6.852e-06/2.255, allocations: 0 / 1.141 GB, free: 224.9 MB / 0.5574 GB Notification: Performance of matching and sorting (n=271): time 0.1088/2.364, allocations: 15.92 MB / 1.156 GB, free: 217.6 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.391e-05/2.364, allocations: 233.4 kB / 1.157 GB, free: 217.3 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00454/2.369, allocations: 2.275 MB / 1.159 GB, free: 216.1 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0009074/2.37, allocations: 76.52 kB / 1.159 GB, free: 216 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001333/2.371, allocations: 1.48 MB / 1.16 GB, free: 214.7 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.001581/2.372, allocations: 0.9657 MB / 1.161 GB, free: 213.9 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005579/2.373, allocations: 82.75 kB / 1.161 GB, free: 213.8 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0002811/2.373, allocations: 478 kB / 1.162 GB, free: 213.4 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007264/2.381, allocations: 1.966 MB / 1.164 GB, free: 212.4 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008112/2.389, allocations: 3.285 MB / 1.167 GB, free: 208.8 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008184/2.397, allocations: 2.541 MB / 1.169 GB, free: 206.2 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.002e-05/2.397, allocations: 12 kB / 1.169 GB, free: 206.2 MB / 0.5574 GB Notification: Performance of matching and sorting (n=514) (initialization): time 0.02266/2.42, allocations: 6.186 MB / 1.175 GB, free: 199.9 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008507/2.421, allocations: 1.398 MB / 1.177 GB, free: 197.9 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.764e-05/2.421, allocations: 40 kB / 1.177 GB, free: 197.9 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008503/2.429, allocations: 0.9833 MB / 1.178 GB, free: 196.9 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007287/2.437, allocations: 0.936 MB / 1.179 GB, free: 196 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007631/2.444, allocations: 2.786 MB / 1.181 GB, free: 193.1 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007068/2.451, allocations: 375.5 kB / 1.182 GB, free: 192.7 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001389/2.453, allocations: 284.6 kB / 1.182 GB, free: 192.5 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/2.453, allocations: 4 kB / 1.182 GB, free: 192.4 MB / 0.5574 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02185/2.475, allocations: 5.832 MB / 1.188 GB, free: 186.6 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001055/2.475, allocations: 41 kB / 1.188 GB, free: 186.5 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008459/2.483, allocations: 0.992 MB / 1.189 GB, free: 185.5 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007159/2.491, allocations: 0.9282 MB / 1.19 GB, free: 184.6 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007627/2.498, allocations: 2.788 MB / 1.192 GB, free: 181.7 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006538/2.505, allocations: 371.5 kB / 1.193 GB, free: 181.4 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001413/2.506, allocations: 283.9 kB / 1.193 GB, free: 181.1 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 183 * Number of states: 0 () * Number of discrete variables: 22 (traceSubstance1.ind,traceSubstance2.ind,traceSubstance3.ind,traceSubstance.ind,volume1.regularFlow[1],volume1.regularFlow[2],volume1.regularFlow[3],volume2.regularFlow[1],volume2.regularFlow[2],volume2.regularFlow[3],volume3.regularFlow[1],volume3.regularFlow[2],volume3.regularFlow[3],volume3.inFlow[3],volume3.inFlow[2],volume3.inFlow[1],volume2.inFlow[3],volume2.inFlow[2],volume2.inFlow[1],volume1.inFlow[3],volume1.inFlow[2],volume1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (493): * Single equations (assignments): 486 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.003507/2.51, allocations: 0.9842 MB / 1.194 GB, free: 180.1 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001262/2.511, allocations: 288.5 kB / 1.194 GB, free: 179.8 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02365/2.535, allocations: 6.121 MB / 1.2 GB, free: 173.7 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001368/2.535, allocations: 15.94 kB / 1.2 GB, free: 173.7 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-05/2.535, allocations: 0 / 1.2 GB, free: 173.7 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003164/2.538, allocations: 0.8443 MB / 1.201 GB, free: 172.8 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001704/2.54, allocations: 71.98 kB / 1.201 GB, free: 172.8 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005493/2.546, allocations: 267.6 kB / 1.201 GB, free: 172.5 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001166/2.547, allocations: 222.2 kB / 1.202 GB, free: 172.3 MB / 0.5574 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02797/2.575, allocations: 5.665 MB / 1.207 GB, free: 166.6 MB / 0.5574 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02167/2.597, allocations: 7.095 MB / 1.214 GB, free: 159.5 MB / 0.5574 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006317/2.603, allocations: 2.136 MB / 1.216 GB, free: 157.3 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.002881/2.606, allocations: 1.47 MB / 1.218 GB, free: 155.8 MB / 0.5574 GB Notification: Performance of Backend: time 4.9e-07/2.606, allocations: 0 / 1.218 GB, free: 155.8 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.04111/2.647, allocations: 10.85 MB / 1.228 GB, free: 145.8 MB / 0.5574 GB Notification: Performance of SimCode: time 0.0175/2.665, allocations: 7.955 MB / 1.236 GB, free: 137.8 MB / 0.5574 GB Notification: Performance of Templates: time 0.6745/3.339, allocations: 146.6 MB / 1.379 GB, free: 234.5 MB / 0.5574 GB