Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002501/0.002505, allocations: 345.5 kB / 15.95 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.836/3.836, allocations: 341.5 MB / 358.2 MB, free: 12.55 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003664/0.003665, allocations: 236.5 kB / 397.9 MB, free: 4.902 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4885/0.4885, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006309/0.0006313, allocations: 16 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09378/0.09445, allocations: 48.7 MB / 0.6067 GB, free: 4.641 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal): time 0.8813/0.9758, allocations: 188.7 MB / 0.791 GB, free: 4.527 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.02378/0.9997, allocations: 12.48 MB / 0.8032 GB, free: 4.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001793/1.002, allocations: 40.78 kB / 0.8033 GB, free: 4.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002341/1.004, allocations: 340.8 kB / 0.8036 GB, free: 4.309 MB / 410.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+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.1+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.1+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.1+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.1+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.1+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.01531/1.019, allocations: 2.348 MB / 0.8059 GB, free: 4.207 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01562/1.035, allocations: 2.492 MB / 0.8083 GB, free: 4.121 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.008221/1.043, allocations: 3.433 MB / 0.8117 GB, free: 4.121 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002437/1.046, allocations: 0.5939 MB / 0.8122 GB, free: 4.078 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004343/1.05, allocations: 0.9633 MB / 0.8132 GB, free: 4.074 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004679/1.055, allocations: 1.207 MB / 0.8144 GB, free: 3.848 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007023/1.056, allocations: 49.72 kB / 0.8144 GB, free: 3.848 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01214/1.068, allocations: 2.557 MB / 0.8169 GB, free: 3.207 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001265/1.069, allocations: 341.7 kB / 0.8172 GB, free: 3.094 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008797/1.07, allocations: 227.4 kB / 0.8175 GB, free: 3.062 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008327/1.078, allocations: 2.315 MB / 0.8197 GB, free: 2.047 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/1.078, allocations: 0 / 0.8197 GB, free: 2.047 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.031e-06/1.079, allocations: 0 / 0.8197 GB, free: 2.047 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.898e-05/1.079, allocations: 2.734 kB / 0.8197 GB, free: 2.047 MB / 410.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.00841/1.087, allocations: 1.618 MB / 0.8213 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.738e-05/1.087, allocations: 8.656 kB / 0.8213 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003027/1.09, allocations: 204 kB / 0.8215 GB, free: 0.8594 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00309/1.093, allocations: 0.7359 MB / 0.8222 GB, free: 468 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/1.093, allocations: 52.83 kB / 0.8223 GB, free: 464 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003733/1.094, allocations: 67.97 kB / 0.8223 GB, free: 460 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004598/1.099, allocations: 1.146 MB / 0.8235 GB, free: 72 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.251e-05/1.099, allocations: 0 / 0.8235 GB, free: 72 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002492/1.099, allocations: 32.83 kB / 0.8235 GB, free: 72 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002935/1.099, allocations: 84.23 kB / 0.8236 GB, free: 48 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006719/1.106, allocations: 1.182 MB / 0.8247 GB, free: 15.9 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.01181/1.118, allocations: 4.33 MB / 0.8289 GB, free: 13.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002091/1.12, allocations: 0.7583 MB / 0.8297 GB, free: 13.27 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001038/1.121, allocations: 374.1 kB / 0.83 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001926/1.123, allocations: 1.314 MB / 0.8313 GB, free: 11.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.622e-05/1.123, allocations: 37.47 kB / 0.8314 GB, free: 11.93 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001123/1.124, allocations: 116.8 kB / 0.8315 GB, free: 11.87 MB / 426.7 MB Notification: Performance of pre-optimization done (n=61): time 3.647e-06/1.124, allocations: 0 / 0.8315 GB, free: 11.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=61): time 0.01167/1.136, allocations: 1.998 MB / 0.8334 GB, free: 11.23 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001654/1.136, allocations: 217.2 kB / 0.8336 GB, free: 10.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001766/1.138, allocations: 0.8147 MB / 0.8344 GB, free: 10.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002354/1.138, allocations: 39.55 kB / 0.8345 GB, free: 10.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005051/1.139, allocations: 473.9 kB / 0.8349 GB, free: 10.43 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004204/1.139, allocations: 211.2 kB / 0.8351 GB, free: 10.28 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/1.139, allocations: 20.44 kB / 0.8351 GB, free: 10.28 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001812/1.139, allocations: 339.9 kB / 0.8355 GB, free: 9.961 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001239/1.141, allocations: 395.5 kB / 0.8358 GB, free: 9.895 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001503/1.142, allocations: 0.6525 MB / 0.8365 GB, free: 9.516 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/1.144, allocations: 492.2 kB / 0.8369 GB, free: 9.344 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.527e-06/1.144, allocations: 0 / 0.8369 GB, free: 9.344 MB / 426.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004458/1.148, allocations: 1.34 MB / 0.8383 GB, free: 8.418 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003041/1.149, allocations: 300.8 kB / 0.8385 GB, free: 8.051 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/1.149, allocations: 8 kB / 0.8386 GB, free: 8.043 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008761/1.157, allocations: 0.8419 MB / 0.8394 GB, free: 7.277 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/1.159, allocations: 184.4 kB / 0.8396 GB, free: 7.113 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002619/1.161, allocations: 1.177 MB / 0.8407 GB, free: 6.156 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/1.163, allocations: 69.16 kB / 0.8408 GB, free: 6.105 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000216/1.163, allocations: 70.48 kB / 0.8408 GB, free: 6.043 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/1.163, allocations: 4 kB / 0.8408 GB, free: 6.039 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004093/1.168, allocations: 1.144 MB / 0.842 GB, free: 5.277 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.053e-05/1.168, allocations: 8.281 kB / 0.842 GB, free: 5.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/1.169, allocations: 183.9 kB / 0.8421 GB, free: 5.117 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001618/1.17, allocations: 213 kB / 0.8423 GB, free: 4.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004275/1.175, allocations: 2.164 MB / 0.8445 GB, free: 3.055 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/1.176, allocations: 57.52 kB / 0.8445 GB, free: 3.012 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002037/1.176, allocations: 71.61 kB / 0.8446 GB, free: 2.949 MB / 426.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.0008028/1.177, allocations: 360.2 kB / 0.8449 GB, free: 2.672 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002859/1.178, allocations: 105.3 kB / 0.845 GB, free: 2.57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005291/1.183, allocations: 1.356 MB / 0.8463 GB, free: 1.617 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.873e-05/1.183, allocations: 4.734 kB / 0.8464 GB, free: 1.613 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/1.183, allocations: 0 / 0.8464 GB, free: 1.613 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007277/1.184, allocations: 180.8 kB / 0.8465 GB, free: 1.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004921/1.184, allocations: 13.62 kB / 0.8465 GB, free: 1.426 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001571/1.186, allocations: 48.2 kB / 0.8466 GB, free: 1.387 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002655/1.186, allocations: 51.64 kB / 0.8466 GB, free: 1.344 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004812/1.191, allocations: 1.19 MB / 0.8478 GB, free: 464 kB / 426.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003807/1.195, allocations: 1.42 MB / 0.8492 GB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001024/1.196, allocations: 361.8 kB / 0.8495 GB, free: 15.14 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00122/1.197, allocations: 0.5604 MB / 0.8501 GB, free: 14.73 MB / 442.7 MB Notification: Performance of Backend: time 7.01e-07/1.197, allocations: 1.859 kB / 0.8501 GB, free: 14.73 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009037/1.206, allocations: 2.3 MB / 0.8523 GB, free: 12.92 MB / 442.7 MB Notification: Performance of SimCode: time 0.006381/1.213, allocations: 2.684 MB / 0.8549 GB, free: 10.4 MB / 442.7 MB Notification: Performance of Templates: time 0.08635/1.299, allocations: 32.52 MB / 0.8867 GB, free: 10.26 MB / 474.7 MB