Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003755/0.00376, allocations: 353.9 kB / 15.95 MB, free: 6.215 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.445/3.445, allocations: 341.5 MB / 358.2 MB, free: 28.75 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003732/0.003732, allocations: 220.7 kB / 397.9 MB, free: 6.164 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4888/0.4888, allocations: 76.1 MB / 0.5014 GB, free: 0.8242 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007233/0.0007236, allocations: 8 kB / 0.5592 GB, free: 60.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.111, allocations: 48.71 MB / 0.6068 GB, free: 11.53 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.6691/0.7802, allocations: 173 MB / 0.7757 GB, free: 15.6 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01378/0.794, allocations: 5.621 MB / 0.7812 GB, free: 9.969 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008353/0.7949, allocations: 23.81 kB / 0.7812 GB, free: 9.945 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00117/0.7961, allocations: 234.5 kB / 0.7814 GB, free: 9.715 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: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.1+maint.om/Fluid/Sources.mo:824:36-825:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.007326/0.8035, allocations: 1.673 MB / 0.783 GB, free: 8.043 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002774/0.8063, allocations: 0.5657 MB / 0.7836 GB, free: 7.484 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003397/0.8097, allocations: 1.723 MB / 0.7853 GB, free: 5.754 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009569/0.8107, allocations: 336.5 kB / 0.7856 GB, free: 5.422 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001493/0.8122, allocations: 497.9 kB / 0.7861 GB, free: 4.934 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001199/0.8135, allocations: 434.3 kB / 0.7865 GB, free: 4.508 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001577/0.8137, allocations: 24 kB / 0.7865 GB, free: 4.484 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005688/0.8194, allocations: 1.837 MB / 0.7883 GB, free: 2.645 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003257/0.8197, allocations: 127.5 kB / 0.7884 GB, free: 2.52 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003595/0.8201, allocations: 141.5 kB / 0.7886 GB, free: 2.375 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003474/0.8236, allocations: 1.216 MB / 0.7897 GB, free: 1.156 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.8237, allocations: 0 / 0.7897 GB, free: 1.156 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.8237, allocations: 0 / 0.7897 GB, free: 1.156 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.8237, allocations: 4 kB / 0.7897 GB, free: 1.152 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.00298/0.8267, allocations: 0.9708 MB / 0.7907 GB, free: 136 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.635e-05/0.8268, allocations: 8.031 kB / 0.7907 GB, free: 128 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00157/0.8284, allocations: 151.1 kB / 0.7908 GB, free: 15.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/0.8297, allocations: 468.7 kB / 0.7913 GB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.135e-05/0.8298, allocations: 36.98 kB / 0.7913 GB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.8299, allocations: 47.94 kB / 0.7914 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001794/0.8318, allocations: 0.575 MB / 0.7919 GB, free: 14.78 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/0.8318, allocations: 4 kB / 0.7919 GB, free: 14.78 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.57e-05/0.8319, allocations: 20 kB / 0.792 GB, free: 14.76 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.266e-05/0.832, allocations: 12 kB / 0.792 GB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001631/0.8336, allocations: 483.5 kB / 0.7924 GB, free: 14.27 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.005048/0.8387, allocations: 2.616 MB / 0.795 GB, free: 11.44 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.8399, allocations: 338.9 kB / 0.7953 GB, free: 11.1 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005437/0.8405, allocations: 177.3 kB / 0.7955 GB, free: 10.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002108/0.8426, allocations: 1.32 MB / 0.7968 GB, free: 9.383 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.809e-05/0.8427, allocations: 38.78 kB / 0.7968 GB, free: 9.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 4.388e-06/0.8428, allocations: 0 / 0.7968 GB, free: 9.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.002774/0.8455, allocations: 0.7087 MB / 0.7975 GB, free: 8.605 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.34e-05/0.8457, allocations: 132.5 kB / 0.7976 GB, free: 8.445 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007302/0.8464, allocations: 413.8 kB / 0.798 GB, free: 8.031 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.762e-05/0.8465, allocations: 29.7 kB / 0.798 GB, free: 7.996 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003053/0.8468, allocations: 291.6 kB / 0.7983 GB, free: 7.703 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001719/0.847, allocations: 114.3 kB / 0.7984 GB, free: 7.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.8471, allocations: 8 kB / 0.7984 GB, free: 7.582 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.8473, allocations: 358.7 kB / 0.7988 GB, free: 7.223 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005558/0.8478, allocations: 156.8 kB / 0.7989 GB, free: 7.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006862/0.8486, allocations: 319 kB / 0.7992 GB, free: 6.688 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006771/0.8493, allocations: 208.1 kB / 0.7994 GB, free: 6.484 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.8493, allocations: 0 / 0.7994 GB, free: 6.484 MB / 426.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001786/0.8511, allocations: 0.5642 MB / 0.8 GB, free: 5.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.8511, allocations: 4 kB / 0.8 GB, free: 5.906 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.8512, allocations: 8 kB / 0.8 GB, free: 5.898 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002816/0.854, allocations: 288.8 kB / 0.8003 GB, free: 5.613 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007737/0.8548, allocations: 123.8 kB / 0.8004 GB, free: 5.492 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007222/0.8556, allocations: 0.5913 MB / 0.801 GB, free: 4.875 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007267/0.8563, allocations: 67.58 kB / 0.801 GB, free: 4.809 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/0.8565, allocations: 47.98 kB / 0.8011 GB, free: 4.762 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (51): * Single equations (assignments): 50 * 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 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004468/0.8569, allocations: 189.6 kB / 0.8013 GB, free: 4.566 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/0.8571, allocations: 51.38 kB / 0.8013 GB, free: 4.516 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002838/0.8599, allocations: 0.7229 MB / 0.802 GB, free: 3.777 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.896e-06/0.86, allocations: 0 / 0.802 GB, free: 3.777 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.86, allocations: 11.92 kB / 0.802 GB, free: 3.766 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003185/0.8603, allocations: 140.5 kB / 0.8022 GB, free: 3.609 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001521/0.8605, allocations: 7.984 kB / 0.8022 GB, free: 3.602 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004899/0.861, allocations: 31.92 kB / 0.8022 GB, free: 3.57 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.406e-05/0.8611, allocations: 23.97 kB / 0.8022 GB, free: 3.547 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001582/0.8627, allocations: 0.4935 MB / 0.8027 GB, free: 3.043 MB / 426.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002486/0.8652, allocations: 0.7124 MB / 0.8034 GB, free: 2.312 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006208/0.8659, allocations: 156.3 kB / 0.8035 GB, free: 2.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007759/0.8667, allocations: 307.1 kB / 0.8038 GB, free: 1.859 MB / 426.7 MB Notification: Performance of Backend: time 6.81e-07/0.8667, allocations: 0 / 0.8038 GB, free: 1.859 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005074/0.8718, allocations: 0.8346 MB / 0.8047 GB, free: 1.027 MB / 426.7 MB Notification: Performance of SimCode: time 0.2851/1.157, allocations: 1.66 MB / 0.8063 GB, free: 159.2 MB / 426.7 MB Notification: Performance of Templates: time 0.05207/1.209, allocations: 15.69 MB / 0.8216 GB, free: 153.5 MB / 426.7 MB