Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.NewFittings.Orifices.ThickEdgedOrifice,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.2_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002737/0.002737, allocations: 370.5 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.275/4.275, 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.005949/0.005949, allocations: 237.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.5114/0.5114, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006745/0.0006747, allocations: 16 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09598/0.09669, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.6138/0.7106, allocations: 173 MB / 0.8491 GB, free: 15.29 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01191/0.7225, allocations: 5.291 MB / 0.8542 GB, free: 9.996 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006932/0.7233, allocations: 27.75 kB / 0.8543 GB, free: 9.969 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.7243, allocations: 234.5 kB / 0.8545 GB, free: 9.738 MB / 442.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: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. Notification: Performance of NFTyping.typeBindings: time 0.005611/0.73, allocations: 1.387 MB / 0.8558 GB, free: 8.352 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002542/0.7325, allocations: 0.5721 MB / 0.8564 GB, free: 7.785 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.00315/0.7357, allocations: 1.735 MB / 0.8581 GB, free: 6.043 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008181/0.7365, allocations: 353.6 kB / 0.8584 GB, free: 5.695 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001219/0.7378, allocations: 498 kB / 0.8589 GB, free: 5.207 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008713/0.7387, allocations: 446.2 kB / 0.8593 GB, free: 4.77 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.7388, allocations: 24 kB / 0.8594 GB, free: 4.746 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003743/0.7426, allocations: 1.174 MB / 0.8605 GB, free: 3.57 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002888/0.7429, allocations: 127.5 kB / 0.8606 GB, free: 3.445 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003036/0.7432, allocations: 149.4 kB / 0.8608 GB, free: 3.293 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002622/0.7459, allocations: 1.087 MB / 0.8618 GB, free: 2.203 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.7459, allocations: 0 / 0.8618 GB, free: 2.203 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.7459, allocations: 0 / 0.8618 GB, free: 2.203 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.7459, allocations: 0 / 0.8618 GB, free: 2.203 MB / 442.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.002554/0.7485, allocations: 0.9584 MB / 0.8628 GB, free: 1.191 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.589e-05/0.7486, allocations: 8.031 kB / 0.8628 GB, free: 1.184 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001405/0.75, allocations: 139.2 kB / 0.8629 GB, free: 1.047 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.7512, allocations: 493.4 kB / 0.8634 GB, free: 0.5312 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.933e-05/0.7512, allocations: 29 kB / 0.8634 GB, free: 0.5 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.7514, allocations: 44 kB / 0.8634 GB, free: 468 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/0.7531, allocations: 0.5867 MB / 0.864 GB, free: 15.83 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.7531, allocations: 7.938 kB / 0.864 GB, free: 15.82 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.293e-05/0.7532, allocations: 20 kB / 0.864 GB, free: 15.8 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.027e-05/0.7533, allocations: 12 kB / 0.8641 GB, free: 15.79 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001553/0.7548, allocations: 479.6 kB / 0.8645 GB, free: 15.32 MB / 458.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.004822/0.7597, allocations: 2.636 MB / 0.8671 GB, free: 12.47 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.7609, allocations: 343.5 kB / 0.8674 GB, free: 12.12 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005404/0.7614, allocations: 186.1 kB / 0.8676 GB, free: 11.94 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002064/0.7635, allocations: 1.32 MB / 0.8689 GB, free: 10.4 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.886e-05/0.7636, allocations: 38.78 kB / 0.8689 GB, free: 10.35 MB / 458.7 MB Notification: Performance of pre-optimization done (n=33): time 3.297e-06/0.7636, allocations: 0 / 0.8689 GB, free: 10.35 MB / 458.7 MB Notification: Performance of matching and sorting (n=33): time 0.002784/0.7664, allocations: 0.7272 MB / 0.8696 GB, free: 9.598 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.039e-05/0.7665, allocations: 132.5 kB / 0.8698 GB, free: 9.438 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007607/0.7673, allocations: 433.8 kB / 0.8702 GB, free: 9.008 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.48e-05/0.7673, allocations: 33.7 kB / 0.8702 GB, free: 8.969 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003037/0.7677, allocations: 299.5 kB / 0.8705 GB, free: 8.672 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/0.7678, allocations: 114.3 kB / 0.8706 GB, free: 8.559 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.606e-05/0.7679, allocations: 12 kB / 0.8706 GB, free: 8.547 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.7681, allocations: 358.8 kB / 0.8709 GB, free: 8.188 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005439/0.7686, allocations: 156.7 kB / 0.8711 GB, free: 8.035 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006842/0.7694, allocations: 329.7 kB / 0.8714 GB, free: 7.637 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006421/0.77, allocations: 200.9 kB / 0.8716 GB, free: 7.441 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.77, allocations: 0 / 0.8716 GB, free: 7.441 MB / 458.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001751/0.7718, allocations: 0.5913 MB / 0.8722 GB, free: 6.84 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.7718, allocations: 4 kB / 0.8722 GB, free: 6.836 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.7719, allocations: 8 kB / 0.8722 GB, free: 6.828 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002775/0.7746, allocations: 296.7 kB / 0.8725 GB, free: 6.535 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006793/0.7753, allocations: 115.8 kB / 0.8726 GB, free: 6.422 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006734/0.776, allocations: 0.5961 MB / 0.8732 GB, free: 5.801 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005765/0.7766, allocations: 63.62 kB / 0.8732 GB, free: 5.738 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.7768, allocations: 48 kB / 0.8733 GB, free: 5.691 MB / 458.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.0003832/0.7771, allocations: 194.3 kB / 0.8735 GB, free: 5.492 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.7773, allocations: 51.42 kB / 0.8735 GB, free: 5.441 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002744/0.78, allocations: 0.7365 MB / 0.8742 GB, free: 4.684 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.7801, allocations: 0 / 0.8742 GB, free: 4.684 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.7801, allocations: 0 / 0.8742 GB, free: 4.684 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002404/0.7803, allocations: 144.4 kB / 0.8744 GB, free: 4.523 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001487/0.7805, allocations: 7.953 kB / 0.8744 GB, free: 4.516 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004389/0.7809, allocations: 39.95 kB / 0.8744 GB, free: 4.477 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.051e-05/0.7811, allocations: 23.97 kB / 0.8744 GB, free: 4.453 MB / 458.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00157/0.7826, allocations: 0.4934 MB / 0.8749 GB, free: 3.949 MB / 458.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001795/0.7844, allocations: 0.7131 MB / 0.8756 GB, free: 3.219 MB / 458.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004718/0.7849, allocations: 160.1 kB / 0.8758 GB, free: 3.062 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005992/0.7855, allocations: 330.8 kB / 0.8761 GB, free: 2.746 MB / 458.7 MB Notification: Performance of Backend: time 7.42e-07/0.7856, allocations: 0 / 0.8761 GB, free: 2.746 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003123/0.7887, allocations: 0.7808 MB / 0.8768 GB, free: 1.969 MB / 458.7 MB Notification: Performance of SimCode: time 0.00363/0.7923, allocations: 1.693 MB / 0.8785 GB, free: 244 kB / 458.7 MB Notification: Performance of Templates: time 0.03922/0.8316, allocations: 14.14 MB / 0.8923 GB, free: 2.184 MB / 474.7 MB