Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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.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.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003987/0.003993, allocations: 367.3 kB / 15.97 MB, free: 6.18 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.237/4.237, allocations: 388.9 MB / 405.6 MB, free: 10.21 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.005449/0.005448, allocations: 233 kB / 451 MB, free: 145 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.5365/0.5365, allocations: 80.02 MB / 0.5627 GB, free: 19.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004859/0.0004861, allocations: 12 kB / 0.6265 GB, free: 96.5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1031, allocations: 54.88 MB / 0.6801 GB, free: 41.62 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.5851/0.6883, allocations: 170.8 MB / 0.8469 GB, free: 1.473 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01505/0.7034, allocations: 6.506 MB / 0.8532 GB, free: 10.95 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009619/0.7044, allocations: 23.81 kB / 0.8533 GB, free: 10.93 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001306/0.7057, allocations: 242.5 kB / 0.8535 GB, free: 10.69 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: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.008923/0.7147, allocations: 1.93 MB / 0.8554 GB, free: 8.766 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003543/0.7182, allocations: 0.7519 MB / 0.8561 GB, free: 8.02 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.003729/0.722, allocations: 1.887 MB / 0.858 GB, free: 6.125 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009698/0.723, allocations: 353.4 kB / 0.8583 GB, free: 5.781 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002363/0.7254, allocations: 0.6926 MB / 0.859 GB, free: 5.086 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/0.7269, allocations: 498.1 kB / 0.8594 GB, free: 4.598 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001901/0.7271, allocations: 28 kB / 0.8595 GB, free: 4.57 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004404/0.7315, allocations: 1.224 MB / 0.8607 GB, free: 3.344 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003716/0.732, allocations: 139.5 kB / 0.8608 GB, free: 3.207 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000372/0.7323, allocations: 157.4 kB / 0.861 GB, free: 3.047 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003056/0.7354, allocations: 1.161 MB / 0.8621 GB, free: 1.883 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.7355, allocations: 0 / 0.8621 GB, free: 1.883 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.945e-06/0.7355, allocations: 0 / 0.8621 GB, free: 1.883 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.533e-05/0.7355, allocations: 4 kB / 0.8621 GB, free: 1.879 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.002843/0.7384, allocations: 0.9856 MB / 0.8631 GB, free: 0.8438 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.7384, allocations: 8.031 kB / 0.8631 GB, free: 0.8359 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001697/0.7401, allocations: 151.2 kB / 0.8632 GB, free: 0.6875 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001383/0.7416, allocations: 496.7 kB / 0.8637 GB, free: 164 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.517e-05/0.7417, allocations: 33 kB / 0.8637 GB, free: 132 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.7418, allocations: 47.94 kB / 0.8638 GB, free: 84 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001815/0.7436, allocations: 0.6321 MB / 0.8644 GB, free: 15.41 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.7437, allocations: 7.938 kB / 0.8644 GB, free: 15.4 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.7438, allocations: 20 kB / 0.8644 GB, free: 15.38 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.093e-05/0.7438, allocations: 12 kB / 0.8644 GB, free: 15.37 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001623/0.7454, allocations: 495.6 kB / 0.8649 GB, free: 14.88 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.005047/0.7506, allocations: 2.617 MB / 0.8674 GB, free: 12.08 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.7517, allocations: 310.3 kB / 0.8677 GB, free: 11.77 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004752/0.7522, allocations: 169 kB / 0.8679 GB, free: 11.6 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002056/0.7543, allocations: 1.331 MB / 0.8692 GB, free: 10.05 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.975e-05/0.7544, allocations: 34.56 kB / 0.8692 GB, free: 10.01 MB / 458.7 MB Notification: Performance of pre-optimization done (n=35): time 3.476e-06/0.7544, allocations: 0 / 0.8692 GB, free: 10.01 MB / 458.7 MB Notification: Performance of matching and sorting (n=35): time 0.002739/0.7571, allocations: 0.6765 MB / 0.8699 GB, free: 9.305 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/0.7573, allocations: 166.2 kB / 0.87 GB, free: 9.105 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008778/0.7582, allocations: 449.9 kB / 0.8705 GB, free: 8.66 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.313e-05/0.7583, allocations: 29.7 kB / 0.8705 GB, free: 8.625 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003341/0.7587, allocations: 331.1 kB / 0.8708 GB, free: 8.297 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001757/0.7589, allocations: 130.2 kB / 0.8709 GB, free: 8.168 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.911e-05/0.7589, allocations: 8 kB / 0.871 GB, free: 8.16 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.7591, allocations: 358.8 kB / 0.8713 GB, free: 7.801 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005051/0.7596, allocations: 145 kB / 0.8714 GB, free: 7.656 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006608/0.7603, allocations: 366.7 kB / 0.8718 GB, free: 7.203 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006162/0.7609, allocations: 195.9 kB / 0.872 GB, free: 7.012 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/0.761, allocations: 4 kB / 0.872 GB, free: 7.008 MB / 458.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001779/0.7627, allocations: 0.6116 MB / 0.8726 GB, free: 6.387 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.7628, allocations: 8 kB / 0.8726 GB, free: 6.379 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-05/0.7628, allocations: 11.94 kB / 0.8726 GB, free: 6.367 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002861/0.7657, allocations: 288.7 kB / 0.8729 GB, free: 6.082 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008306/0.7666, allocations: 135.8 kB / 0.873 GB, free: 5.949 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006882/0.7673, allocations: 0.5875 MB / 0.8736 GB, free: 5.336 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007203/0.7681, allocations: 63.42 kB / 0.8736 GB, free: 5.273 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/0.7682, allocations: 60.88 kB / 0.8737 GB, free: 5.215 MB / 458.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.0004404/0.7687, allocations: 210.3 kB / 0.8739 GB, free: 5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002019/0.7689, allocations: 47.44 kB / 0.8739 GB, free: 4.953 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00279/0.7717, allocations: 0.7137 MB / 0.8746 GB, free: 4.234 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.7718, allocations: 3.984 kB / 0.8746 GB, free: 4.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.7718, allocations: 0 / 0.8746 GB, free: 4.23 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003028/0.7721, allocations: 140.4 kB / 0.8748 GB, free: 4.074 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000155/0.7722, allocations: 11.95 kB / 0.8748 GB, free: 4.062 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000423/0.7727, allocations: 23.89 kB / 0.8748 GB, free: 4.039 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.7728, allocations: 35.89 kB / 0.8748 GB, free: 4.004 MB / 458.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001518/0.7743, allocations: 0.5105 MB / 0.8753 GB, free: 3.484 MB / 458.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001792/0.7762, allocations: 0.7504 MB / 0.8761 GB, free: 2.719 MB / 458.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004446/0.7766, allocations: 163.9 kB / 0.8762 GB, free: 2.559 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005991/0.7773, allocations: 314.9 kB / 0.8765 GB, free: 2.254 MB / 458.7 MB Notification: Performance of Backend: time 4.2e-07/0.7773, allocations: 0 / 0.8765 GB, free: 2.254 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00362/0.7809, allocations: 0.843 MB / 0.8773 GB, free: 1.418 MB / 458.7 MB Notification: Performance of SimCode: time 0.004166/0.7851, allocations: 1.754 MB / 0.8791 GB, free: 15.61 MB / 474.7 MB Notification: Performance of Templates: time 0.04477/0.8299, allocations: 15.29 MB / 0.894 GB, free: 412 kB / 474.7 MB