Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.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.Sensors.TestDensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|density2_1.d|density2_2.d|density1_1.d|density1_2.d|simpleGenericOrifice.port_b.m_flow|simpleGenericOrifice.port_b.p|simpleGenericOrifice.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00274/0.002745, allocations: 359.2 kB / 15.95 MB, free: 6.207 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 3.997/3.997, allocations: 388.9 MB / 405.6 MB, free: 9.562 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.003614/0.003613, allocations: 232.6 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.5651/0.5651, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004673/0.0004675, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09774/0.09824, allocations: 54.87 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.038/8.136, allocations: 2.597 GB / 3.277 GB, free: 50.35 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003178/8.137, allocations: 90.64 kB / 3.277 GB, free: 50.3 MB / 490.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Interfaces.mo:327:3-329:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Interfaces.mo:327:3-329:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... Notification: Performance of FrontEnd - DAE generated: time 3.586/11.72, allocations: 0.6324 GB / 3.91 GB, free: 42.95 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.385e-06/11.72, allocations: 0 / 3.91 GB, free: 42.95 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 7.124e-05/11.72, allocations: 21.22 kB / 3.91 GB, free: 42.95 MB / 0.4949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.009939/11.73, allocations: 2.27 MB / 3.912 GB, free: 42.13 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/11.73, allocations: 10.34 kB / 3.912 GB, free: 42.13 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007477/11.74, allocations: 0.5656 MB / 3.913 GB, free: 42.09 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00252/11.74, allocations: 0.7127 MB / 3.913 GB, free: 41.82 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/11.74, allocations: 62.91 kB / 3.913 GB, free: 41.81 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001864/11.74, allocations: 72.41 kB / 3.913 GB, free: 41.81 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00495/11.75, allocations: 1.37 MB / 3.915 GB, free: 41.54 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.294e-05/11.75, allocations: 4.312 kB / 3.915 GB, free: 41.54 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001456/11.75, allocations: 37.62 kB / 3.915 GB, free: 41.54 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.13e-05/11.75, allocations: 19.19 kB / 3.915 GB, free: 41.54 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005355/11.75, allocations: 1.241 MB / 3.916 GB, free: 41.54 MB / 0.4949 GB 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.009253/11.76, allocations: 5.46 MB / 3.921 GB, free: 37.94 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004372/11.77, allocations: 0.8562 MB / 3.922 GB, free: 37.89 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001091/11.77, allocations: 290.5 kB / 3.922 GB, free: 37.88 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2393/12.01, allocations: 60.2 MB / 3.981 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.542e-05/12.01, allocations: 43.19 kB / 3.981 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001226/12.01, allocations: 125 kB / 3.981 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=58): time 3.346e-06/12.01, allocations: 0 / 3.981 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=58): time 0.008215/12.02, allocations: 1.578 MB / 3.983 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/12.02, allocations: 192.8 kB / 3.983 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009091/12.02, allocations: 0.535 MB / 3.984 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001167/12.02, allocations: 37.73 kB / 3.984 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003203/12.02, allocations: 436.5 kB / 3.984 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/12.02, allocations: 203.9 kB / 3.984 GB, free: 23.74 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.909e-05/12.02, allocations: 15.03 kB / 3.984 GB, free: 23.74 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001789/12.02, allocations: 379.5 kB / 3.985 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009928/12.02, allocations: 229 kB / 3.985 GB, free: 23.42 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/12.02, allocations: 0.5415 MB / 3.985 GB, free: 23.02 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/12.02, allocations: 313 kB / 3.986 GB, free: 23 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/12.02, allocations: 2.875 kB / 3.986 GB, free: 23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003096/12.03, allocations: 0.8822 MB / 3.987 GB, free: 22.89 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002651/12.03, allocations: 376.4 kB / 3.987 GB, free: 22.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/12.03, allocations: 18.84 kB / 3.987 GB, free: 22.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005626/12.03, allocations: 384.5 kB / 3.987 GB, free: 22.42 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/12.03, allocations: 201.7 kB / 3.988 GB, free: 22.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/12.04, allocations: 1.136 MB / 3.989 GB, free: 21.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/12.04, allocations: 59.8 kB / 3.989 GB, free: 21.37 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/12.04, allocations: 53.91 kB / 3.989 GB, free: 21.37 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/12.04, allocations: 7 kB / 3.989 GB, free: 21.37 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002696/12.04, allocations: 0.738 MB / 3.989 GB, free: 21.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/12.04, allocations: 12.44 kB / 3.989 GB, free: 21.35 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/12.04, allocations: 16.78 kB / 3.989 GB, free: 21.35 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/12.04, allocations: 222.9 kB / 3.99 GB, free: 21.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.425e-05/12.04, allocations: 23.62 kB / 3.99 GB, free: 21.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/12.04, allocations: 69.38 kB / 3.99 GB, free: 21.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/12.04, allocations: 53.23 kB / 3.99 GB, free: 21.33 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 8 (boundary_fixed1.medium.phase,boundary_fixed.medium.phase,massFlowRate1.medium.phase,massFlowRate2.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase,simpleGenericOrifice1.state_b.phase,simpleGenericOrifice1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 94 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0008318/12.04, allocations: 309.3 kB / 3.99 GB, free: 21.14 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002174/12.04, allocations: 71.81 kB / 3.99 GB, free: 21.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006606/12.05, allocations: 3.561 MB / 3.994 GB, free: 20.64 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.987e-05/12.05, allocations: 54.03 kB / 3.994 GB, free: 20.64 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/12.05, allocations: 3.625 kB / 3.994 GB, free: 20.64 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.906e-05/12.05, allocations: 3 kB / 3.994 GB, free: 20.64 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003011/12.05, allocations: 1.699 MB / 3.995 GB, free: 20.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.277e-05/12.05, allocations: 0 / 3.995 GB, free: 20.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/12.05, allocations: 132.1 kB / 3.996 GB, free: 20.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003271/12.06, allocations: 0.7643 MB / 3.996 GB, free: 20.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001547/12.06, allocations: 16.53 kB / 3.996 GB, free: 20.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001531/12.06, allocations: 1.541 MB / 3.998 GB, free: 19.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/12.06, allocations: 0 / 3.998 GB, free: 19.24 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003901/12.06, allocations: 2.049 MB / 4 GB, free: 18.79 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008353/12.06, allocations: 414.5 kB / 4 GB, free: 18.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/12.06, allocations: 17.38 kB / 4 GB, free: 18.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009288/12.07, allocations: 52.05 kB / 4 GB, free: 18.55 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/12.07, allocations: 63.95 kB / 4 GB, free: 18.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.818e-05/12.07, allocations: 28.27 kB / 4 GB, free: 18.54 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001022/12.07, allocations: 0.5247 MB / 4.001 GB, free: 18.43 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.91e-07/12.07, allocations: 0 / 4.001 GB, free: 18.43 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006838/12.07, allocations: 1.32 MB / 4.002 GB, free: 18.26 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 28 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse12.phase,$cse12.region,massFlowRate2.medium.phase,boundary_fixed1.medium.phase,$cse13.phase,$cse13.region,$cse17.phase,$cse17.region,$cse20.phase,$cse20.region,$cse22.region3boundary,$cse23.region3boundary,$cse24.phase,$cse24.region,$cse27.phase,$cse27.region,$cse28.phase,$cse28.region,massFlowRate1.medium.phase,boundary_fixed.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01008/12.08, allocations: 1.752 MB / 4.004 GB, free: 17.84 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004482/12.09, allocations: 1.407 MB / 4.005 GB, free: 17.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/12.09, allocations: 0 / 4.005 GB, free: 17.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001719/12.09, allocations: 0.8296 MB / 4.006 GB, free: 17.79 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00345/12.09, allocations: 365 kB / 4.006 GB, free: 17.77 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.547/13.64, allocations: 280.7 MB / 4.28 GB, free: 54.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009335/13.64, allocations: 1.296 MB / 4.282 GB, free: 54.09 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003302/13.64, allocations: 1.139 MB / 4.283 GB, free: 54.07 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003491/13.65, allocations: 79.88 kB / 4.283 GB, free: 54.07 MB / 0.5105 GB Notification: Performance of SimCode: time 2.384e-06/13.65, allocations: 1.312 kB / 4.283 GB, free: 54.07 MB / 0.5105 GB Notification: Performance of Templates: time 0.1074/13.75, allocations: 46.56 MB / 4.328 GB, free: 53.22 MB / 0.5105 GB