Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestDensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.007392/0.007392, allocations: 174.1 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.642/1.642, allocations: 194.5 MB / 210.3 MB, free: 8.52 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002037/0.002037, allocations: 112.7 kB / 255.6 MB, free: 11.12 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.21/0.21, allocations: 40.02 MB / 340.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004514/0.0004518, allocations: 12.31 kB / 406.2 MB, free: 51.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1195, allocations: 54.87 MB / 461 MB, free: 3.434 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.073/7.192, allocations: 2.597 GB / 3.047 GB, free: 74.77 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004065/7.193, allocations: 93.41 kB / 3.048 GB, free: 74.72 MB / 490.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/home/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 .... [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/home/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 2.945/10.14, allocations: 0.663 GB / 3.711 GB, free: 41.36 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.513e-06/10.14, allocations: 0 / 3.711 GB, free: 41.36 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.79e-05/10.14, allocations: 25.58 kB / 3.711 GB, free: 41.36 MB / 0.4948 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.009849/10.15, allocations: 2.263 MB / 3.713 GB, free: 40.56 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.27e-05/10.15, allocations: 9.719 kB / 3.713 GB, free: 40.56 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005397/10.15, allocations: 0.5732 MB / 3.713 GB, free: 40.52 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002119/10.16, allocations: 0.7052 MB / 3.714 GB, free: 40.25 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.573e-05/10.16, allocations: 65.97 kB / 3.714 GB, free: 40.25 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/10.16, allocations: 74.06 kB / 3.714 GB, free: 40.25 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00317/10.16, allocations: 1.363 MB / 3.716 GB, free: 39.97 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/10.16, allocations: 6.562 kB / 3.716 GB, free: 39.97 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.57e-05/10.16, allocations: 40.03 kB / 3.716 GB, free: 39.97 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/10.16, allocations: 18.06 kB / 3.716 GB, free: 39.97 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002945/10.16, allocations: 1.236 MB / 3.717 GB, free: 39.96 MB / 0.4948 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.005927/10.17, allocations: 5.465 MB / 3.722 GB, free: 36.37 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002436/10.17, allocations: 0.8471 MB / 3.723 GB, free: 36.32 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1278/10.3, allocations: 60.21 MB / 3.782 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.386e-05/10.3, allocations: 40.16 kB / 3.782 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001132/10.3, allocations: 119.7 kB / 3.782 GB, free: 23.31 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=58): time 7.053e-06/10.3, allocations: 0 / 3.782 GB, free: 23.31 MB / 0.5105 GB Notification: Performance of matching and sorting (n=58): time 0.00549/10.31, allocations: 1.58 MB / 3.783 GB, free: 23.02 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/10.31, allocations: 190.7 kB / 3.784 GB, free: 22.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007812/10.31, allocations: 479.6 kB / 3.784 GB, free: 22.67 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001032/10.31, allocations: 36.98 kB / 3.784 GB, free: 22.64 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003202/10.31, allocations: 437.1 kB / 3.785 GB, free: 22.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001903/10.31, allocations: 207.2 kB / 3.785 GB, free: 22.28 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.377e-05/10.31, allocations: 17.84 kB / 3.785 GB, free: 22.28 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001929/10.31, allocations: 376.4 kB / 3.785 GB, free: 21.96 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005842/10.31, allocations: 223.2 kB / 3.785 GB, free: 21.96 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007076/10.31, allocations: 0.5451 MB / 3.786 GB, free: 21.56 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007134/10.31, allocations: 305.7 kB / 3.786 GB, free: 21.54 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/10.31, allocations: 3.844 kB / 3.786 GB, free: 21.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001996/10.31, allocations: 0.8902 MB / 3.787 GB, free: 21.43 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002149/10.31, allocations: 3.836 MB / 3.791 GB, free: 17.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.995e-05/10.31, allocations: 12.97 kB / 3.791 GB, free: 17.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003262/10.32, allocations: 383.7 kB / 3.791 GB, free: 17.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008055/10.32, allocations: 201.3 kB / 3.791 GB, free: 17.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/10.32, allocations: 1.132 MB / 3.792 GB, free: 16.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/10.32, allocations: 66.7 kB / 3.793 GB, free: 16.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/10.32, allocations: 48.56 kB / 3.793 GB, free: 16.33 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/10.32, allocations: 4.562 kB / 3.793 GB, free: 16.33 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001716/10.32, allocations: 0.7478 MB / 3.793 GB, free: 16.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.461e-05/10.32, allocations: 10.84 kB / 3.793 GB, free: 16.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/10.32, allocations: 14.81 kB / 3.793 GB, free: 16.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007455/10.32, allocations: 216.9 kB / 3.794 GB, free: 16.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.272e-05/10.32, allocations: 23.8 kB / 3.794 GB, free: 16.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008742/10.32, allocations: 75.52 kB / 3.794 GB, free: 16.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.525e-05/10.32, allocations: 47.16 kB / 3.794 GB, free: 16.3 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.0006307/10.32, allocations: 307.8 kB / 3.794 GB, free: 16.11 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000253/10.32, allocations: 77.8 kB / 3.794 GB, free: 16.07 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004656/10.33, allocations: 3.559 MB / 3.798 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-05/10.33, allocations: 49.88 kB / 3.798 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.49e-05/10.33, allocations: 0 / 3.798 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/10.33, allocations: 5.516 kB / 3.798 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003304/10.33, allocations: 1.707 MB / 3.799 GB, free: 31.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-05/10.33, allocations: 0 / 3.799 GB, free: 31.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005681/10.33, allocations: 121.6 kB / 3.799 GB, free: 31.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002067/10.33, allocations: 0.7658 MB / 3.8 GB, free: 31.26 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.436e-05/10.33, allocations: 22.7 kB / 3.8 GB, free: 31.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001305/10.34, allocations: 1.54 MB / 3.802 GB, free: 30.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/10.34, allocations: 0 / 3.802 GB, free: 30.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002912/10.34, allocations: 2.063 MB / 3.804 GB, free: 29.73 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008486/10.34, allocations: 409.5 kB / 3.804 GB, free: 29.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002713/10.34, allocations: 16.45 kB / 3.804 GB, free: 29.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007687/10.34, allocations: 59.52 kB / 3.804 GB, free: 29.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/10.34, allocations: 54.94 kB / 3.804 GB, free: 29.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.073e-05/10.34, allocations: 26.11 kB / 3.804 GB, free: 29.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007985/10.34, allocations: 0.5271 MB / 3.805 GB, free: 29.39 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/10.34, allocations: 0 / 3.805 GB, free: 29.39 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007257/10.35, allocations: 1.323 MB / 3.806 GB, free: 29.21 MB / 0.5261 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.01074/10.36, allocations: 1.759 MB / 3.808 GB, free: 28.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003466/10.36, allocations: 1.398 MB / 3.809 GB, free: 28.76 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/10.36, allocations: 1.781 kB / 3.809 GB, free: 28.76 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001306/10.37, allocations: 0.8304 MB / 3.81 GB, free: 28.75 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002255/10.37, allocations: 346 kB / 3.81 GB, free: 28.72 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.25/11.62, allocations: 425.2 MB / 4.225 GB, free: 45.73 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005838/11.62, allocations: 1.291 MB / 4.227 GB, free: 44.63 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001816/11.62, allocations: 1.14 MB / 4.228 GB, free: 43.99 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001817/11.62, allocations: 79.83 kB / 4.228 GB, free: 43.92 MB / 0.5261 GB Notification: Performance of SimCode: time 1.292e-06/11.62, allocations: 0 / 4.228 GB, free: 43.92 MB / 0.5261 GB Notification: Performance of Templates: time 0.05605/11.68, allocations: 44.38 MB / 4.271 GB, free: 11.55 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.pipe 2>&1)