Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.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.GenericResistances.VolumeFlowRate,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.GenericResistances.VolumeFlowRate") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003758/0.003758, allocations: 355.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.963/3.963, allocations: 341.5 MB / 358.2 MB, free: 12.64 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.00357/0.00357, allocations: 228.4 kB / 397.9 MB, free: 4.984 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.5833/0.5833, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006607/0.000661, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09244/0.09314, allocations: 48.71 MB / 0.6068 GB, free: 4.637 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.8676/0.9608, allocations: 172.8 MB / 0.7755 GB, free: 4.801 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005698/0.9666, allocations: 2.062 MB / 0.7775 GB, free: 4.742 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/0.9677, allocations: 29.97 kB / 0.7775 GB, free: 4.738 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00129/0.969, allocations: 213.5 kB / 0.7777 GB, free: 4.734 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.005561/0.9746, allocations: 1.18 MB / 0.7789 GB, free: 4.688 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002685/0.9773, allocations: 0.5388 MB / 0.7794 GB, free: 4.672 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00338/0.9807, allocations: 1.684 MB / 0.7811 GB, free: 4.668 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001112/0.9819, allocations: 328.1 kB / 0.7814 GB, free: 4.648 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001842/0.9838, allocations: 489.9 kB / 0.7818 GB, free: 4.645 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001321/0.9851, allocations: 422.5 kB / 0.7822 GB, free: 4.645 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001964/0.9854, allocations: 21.88 kB / 0.7823 GB, free: 4.645 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003322/0.9887, allocations: 0.7996 MB / 0.783 GB, free: 4.633 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003763/0.9891, allocations: 122.3 kB / 0.7832 GB, free: 4.633 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000493/0.9897, allocations: 138.1 kB / 0.7833 GB, free: 4.602 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002943/0.9926, allocations: 0.9066 MB / 0.7842 GB, free: 4.531 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.9927, allocations: 0 / 0.7842 GB, free: 4.531 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.9927, allocations: 1.625 kB / 0.7842 GB, free: 4.531 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.209e-05/0.9927, allocations: 0 / 0.7842 GB, free: 4.531 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.002994/0.9957, allocations: 0.887 MB / 0.785 GB, free: 3.949 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.255e-05/0.9958, allocations: 13.47 kB / 0.7851 GB, free: 3.945 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001634/0.9975, allocations: 133.8 kB / 0.7852 GB, free: 3.918 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/0.9988, allocations: 459.1 kB / 0.7856 GB, free: 3.672 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.997e-05/0.9989, allocations: 29.5 kB / 0.7856 GB, free: 3.672 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.9991, allocations: 38.22 kB / 0.7857 GB, free: 3.672 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001897/1.001, allocations: 0.5449 MB / 0.7862 GB, free: 3.539 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/1.001, allocations: 7.703 kB / 0.7862 GB, free: 3.535 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/1.001, allocations: 22.69 kB / 0.7862 GB, free: 3.535 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.39e-05/1.001, allocations: 13.08 kB / 0.7863 GB, free: 3.535 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001645/1.003, allocations: 414.5 kB / 0.7866 GB, free: 3.531 MB / 410.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.005094/1.008, allocations: 2.54 MB / 0.7891 GB, free: 17.75 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/1.009, allocations: 281.9 kB / 0.7894 GB, free: 17.72 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005127/1.01, allocations: 157.8 kB / 0.7895 GB, free: 17.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001943/1.012, allocations: 1.236 MB / 0.7908 GB, free: 16.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.082e-05/1.012, allocations: 36.38 kB / 0.7908 GB, free: 16.64 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 3.296e-06/1.012, allocations: 0 / 0.7908 GB, free: 16.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=29): time 0.003374/1.015, allocations: 0.6723 MB / 0.7914 GB, free: 16.47 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.668e-05/1.015, allocations: 132.1 kB / 0.7916 GB, free: 16.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007938/1.016, allocations: 394.3 kB / 0.7919 GB, free: 16.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001373/1.016, allocations: 31.14 kB / 0.792 GB, free: 16.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002547/1.016, allocations: 288.6 kB / 0.7923 GB, free: 16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/1.017, allocations: 105.5 kB / 0.7924 GB, free: 15.94 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.319e-05/1.017, allocations: 8.062 kB / 0.7924 GB, free: 15.94 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001846/1.017, allocations: 353.3 kB / 0.7927 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005562/1.017, allocations: 143.2 kB / 0.7928 GB, free: 15.62 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006051/1.018, allocations: 311.8 kB / 0.7931 GB, free: 15.42 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006181/1.019, allocations: 193.9 kB / 0.7933 GB, free: 15.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/1.019, allocations: 2.188 kB / 0.7933 GB, free: 15.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001808/1.021, allocations: 0.5467 MB / 0.7939 GB, free: 15.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.652e-05/1.021, allocations: 10.88 kB / 0.7939 GB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/1.021, allocations: 8.797 kB / 0.7939 GB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004059/1.025, allocations: 333.5 kB / 0.7942 GB, free: 15.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008216/1.026, allocations: 109.7 kB / 0.7943 GB, free: 15.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001196/1.027, allocations: 0.5899 MB / 0.7949 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009107/1.028, allocations: 67.02 kB / 0.7949 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/1.028, allocations: 53.27 kB / 0.795 GB, free: 14.77 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 (48): * Single equations (assignments): 47 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004558/1.028, allocations: 187.8 kB / 0.7952 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/1.029, allocations: 47.8 kB / 0.7952 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002851/1.031, allocations: 0.6874 MB / 0.7959 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/1.031, allocations: 0 / 0.7959 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/1.031, allocations: 0 / 0.7959 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003863/1.032, allocations: 140.4 kB / 0.796 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001562/1.032, allocations: 5.125 kB / 0.796 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000501/1.033, allocations: 33.89 kB / 0.7961 GB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/1.033, allocations: 23.75 kB / 0.7961 GB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001651/1.034, allocations: 453.1 kB / 0.7965 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001785/1.036, allocations: 0.65 MB / 0.7971 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004345/1.037, allocations: 130.9 kB / 0.7973 GB, free: 13.97 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006525/1.037, allocations: 301.2 kB / 0.7976 GB, free: 13.89 MB / 426.7 MB Notification: Performance of Backend: time 7.01e-07/1.037, allocations: 0.8125 kB / 0.7976 GB, free: 13.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003875/1.041, allocations: 0.6895 MB / 0.7982 GB, free: 13.75 MB / 426.7 MB Notification: Performance of SimCode: time 0.003813/1.045, allocations: 1.637 MB / 0.7998 GB, free: 12.72 MB / 426.7 MB Notification: Performance of Templates: time 0.03493/1.08, allocations: 12.38 MB / 0.8119 GB, free: 8.051 MB / 426.7 MB