Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002505/0.00251, allocations: 354 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.537/3.537, allocations: 341.5 MB / 358.2 MB, free: 28.63 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.003733/0.003733, allocations: 220 kB / 397.9 MB, free: 6.016 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.584/0.584, allocations: 76.1 MB / 0.5014 GB, free: 0.8086 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004669/0.0004671, allocations: 19.98 kB / 0.5592 GB, free: 60.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08751/0.08801, allocations: 48.7 MB / 0.6068 GB, free: 11.52 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.6693/0.7574, allocations: 170.8 MB / 0.7735 GB, free: 1.77 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01388/0.7713, allocations: 6.495 MB / 0.7799 GB, free: 11.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000787/0.7721, allocations: 19.81 kB / 0.7799 GB, free: 11.25 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.7732, allocations: 254.4 kB / 0.7801 GB, free: 11 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. [/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.00805/0.7813, allocations: 1.919 MB / 0.782 GB, free: 9.082 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00325/0.7846, allocations: 0.7445 MB / 0.7827 GB, free: 8.344 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003381/0.788, allocations: 1.894 MB / 0.7846 GB, free: 6.449 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008531/0.7888, allocations: 349.3 kB / 0.7849 GB, free: 6.102 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002104/0.791, allocations: 0.6965 MB / 0.7856 GB, free: 5.402 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.7921, allocations: 494.1 kB / 0.7861 GB, free: 4.918 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001463/0.7922, allocations: 31.94 kB / 0.7861 GB, free: 4.887 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004139/0.7964, allocations: 1.218 MB / 0.7873 GB, free: 3.668 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003243/0.7967, allocations: 143.4 kB / 0.7874 GB, free: 3.527 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003207/0.7971, allocations: 153.4 kB / 0.7876 GB, free: 3.371 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00279/0.7999, allocations: 1.162 MB / 0.7887 GB, free: 2.207 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.7999, allocations: 0 / 0.7887 GB, free: 2.207 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.7999, allocations: 0 / 0.7887 GB, free: 2.207 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.958e-06/0.7999, allocations: 0 / 0.7887 GB, free: 2.207 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.002585/0.8025, allocations: 0.994 MB / 0.7897 GB, free: 1.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.938e-05/0.8026, allocations: 8.031 kB / 0.7897 GB, free: 1.152 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001567/0.8042, allocations: 155.2 kB / 0.7898 GB, free: 1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.8053, allocations: 496.5 kB / 0.7903 GB, free: 492 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.624e-05/0.8054, allocations: 37 kB / 0.7903 GB, free: 452 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.8055, allocations: 40 kB / 0.7904 GB, free: 412 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001761/0.8073, allocations: 0.6399 MB / 0.791 GB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.8073, allocations: 0 / 0.791 GB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.8075, allocations: 20 kB / 0.791 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.817e-05/0.8075, allocations: 13.88 kB / 0.791 GB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/0.809, allocations: 0.4918 MB / 0.7915 GB, free: 15.19 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.004723/0.8137, allocations: 2.606 MB / 0.794 GB, free: 12.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.8148, allocations: 314.7 kB / 0.7943 GB, free: 12.08 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000475/0.8153, allocations: 172.9 kB / 0.7945 GB, free: 11.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002017/0.8174, allocations: 1.32 MB / 0.7958 GB, free: 10.37 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.781e-05/0.8174, allocations: 42.55 kB / 0.7958 GB, free: 10.32 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 3.106e-06/0.8174, allocations: 0 / 0.7958 GB, free: 10.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.002563/0.82, allocations: 0.6765 MB / 0.7965 GB, free: 9.613 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.8201, allocations: 162.2 kB / 0.7967 GB, free: 9.418 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008197/0.821, allocations: 457.8 kB / 0.7971 GB, free: 8.965 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.002e-05/0.8211, allocations: 33.7 kB / 0.7971 GB, free: 8.926 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003404/0.8214, allocations: 319.2 kB / 0.7974 GB, free: 8.609 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001679/0.8216, allocations: 130.2 kB / 0.7976 GB, free: 8.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.322e-05/0.8217, allocations: 12 kB / 0.7976 GB, free: 8.469 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002101/0.8219, allocations: 362.7 kB / 0.7979 GB, free: 8.105 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004721/0.8224, allocations: 141 kB / 0.798 GB, free: 7.969 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007013/0.8231, allocations: 374.7 kB / 0.7984 GB, free: 7.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006105/0.8237, allocations: 204 kB / 0.7986 GB, free: 7.301 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/0.8237, allocations: 4 kB / 0.7986 GB, free: 7.297 MB / 426.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001741/0.8255, allocations: 0.6028 MB / 0.7992 GB, free: 6.684 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.8255, allocations: 11.59 kB / 0.7992 GB, free: 6.676 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/0.8256, allocations: 4 kB / 0.7992 GB, free: 6.672 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002779/0.8283, allocations: 301 kB / 0.7995 GB, free: 6.375 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007651/0.8291, allocations: 127.8 kB / 0.7996 GB, free: 6.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000693/0.8298, allocations: 0.5914 MB / 0.8002 GB, free: 5.633 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006535/0.8305, allocations: 67.48 kB / 0.8003 GB, free: 5.566 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001555/0.8307, allocations: 55.98 kB / 0.8003 GB, free: 5.512 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (60): * Single equations (assignments): 59 * 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.0004162/0.8311, allocations: 195 kB / 0.8005 GB, free: 5.312 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/0.8313, allocations: 55.34 kB / 0.8005 GB, free: 5.258 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002787/0.8341, allocations: 0.7243 MB / 0.8013 GB, free: 4.523 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.8341, allocations: 3.984 kB / 0.8013 GB, free: 4.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.8341, allocations: 0 / 0.8013 GB, free: 4.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004111/0.8345, allocations: 188.2 kB / 0.8014 GB, free: 4.316 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001608/0.8347, allocations: 11.98 kB / 0.8014 GB, free: 4.305 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004088/0.8351, allocations: 16 kB / 0.8015 GB, free: 4.289 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.8353, allocations: 35.95 kB / 0.8015 GB, free: 4.254 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001483/0.8368, allocations: 0.5151 MB / 0.802 GB, free: 3.73 MB / 426.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001715/0.8385, allocations: 0.7573 MB / 0.8027 GB, free: 2.953 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004593/0.839, allocations: 164 kB / 0.8029 GB, free: 2.793 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005708/0.8396, allocations: 322.8 kB / 0.8032 GB, free: 2.48 MB / 426.7 MB Notification: Performance of Backend: time 6.51e-07/0.8396, allocations: 0 / 0.8032 GB, free: 2.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003411/0.843, allocations: 0.8256 MB / 0.804 GB, free: 1.652 MB / 426.7 MB Notification: Performance of SimCode: time 0.2782/1.121, allocations: 1.747 MB / 0.8057 GB, free: 159.2 MB / 426.7 MB Notification: Performance of Templates: time 0.08656/1.208, allocations: 15.29 MB / 0.8206 GB, free: 153.7 MB / 426.7 MB