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.001095/0.001095, allocations: 181.4 kB / 12.74 MB, free: 2.582 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.572/1.572, allocations: 194.3 MB / 207.5 MB, free: 3.457 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.001653/0.001653, allocations: 100.1 kB / 252.6 MB, free: 4.855 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2234/0.2234, allocations: 39.94 MB / 337.5 MB, free: 492 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.647e-05/4.673e-05, allocations: 4 kB / 400.3 MB, free: 69.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1461, allocations: 54.86 MB / 455.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.594/6.74, allocations: 2.597 GB / 3.042 GB, free: 71.97 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002048/6.74, allocations: 89.36 kB / 3.042 GB, free: 71.94 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.349/9.09, allocations: 0.661 GB / 3.703 GB, free: 42.75 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.824e-06/9.09, allocations: 0 / 3.703 GB, free: 42.75 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.314e-05/9.09, allocations: 29.67 kB / 3.703 GB, free: 42.75 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.009456/9.099, allocations: 2.182 MB / 3.705 GB, free: 41.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.797e-05/9.099, allocations: 9.375 kB / 3.705 GB, free: 41.98 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005493/9.105, allocations: 0.5768 MB / 3.705 GB, free: 41.93 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00184/9.107, allocations: 0.7011 MB / 3.706 GB, free: 41.67 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.361e-05/9.107, allocations: 65.12 kB / 3.706 GB, free: 41.67 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/9.107, allocations: 70.12 kB / 3.706 GB, free: 41.67 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003574/9.11, allocations: 1.353 MB / 3.708 GB, free: 41.39 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/9.11, allocations: 4.938 kB / 3.708 GB, free: 41.39 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/9.111, allocations: 38.97 kB / 3.708 GB, free: 41.39 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.052e-05/9.111, allocations: 22.62 kB / 3.708 GB, free: 41.39 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003078/9.114, allocations: 1.156 MB / 3.709 GB, free: 41.38 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or 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.007895/9.122, allocations: 5.472 MB / 3.714 GB, free: 37.79 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002599/9.124, allocations: 0.8603 MB / 3.715 GB, free: 37.74 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004415/9.125, allocations: 256.7 kB / 3.715 GB, free: 37.73 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1353/9.26, allocations: 60.56 MB / 3.774 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.171e-05/9.26, allocations: 42.88 kB / 3.774 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009438/9.261, allocations: 126.2 kB / 3.775 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=58): time 5.851e-06/9.261, allocations: 0 / 3.775 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=58): time 0.004038/9.265, allocations: 1.254 MB / 3.776 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/9.265, allocations: 188.2 kB / 3.776 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000711/9.266, allocations: 473.7 kB / 3.776 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.164e-05/9.266, allocations: 37.23 kB / 3.776 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002644/9.266, allocations: 434.6 kB / 3.777 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/9.267, allocations: 199.8 kB / 3.777 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/9.267, allocations: 14.56 kB / 3.777 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001743/9.267, allocations: 378.9 kB / 3.777 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003588/9.267, allocations: 193.7 kB / 3.778 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004392/9.268, allocations: 0.5039 MB / 3.778 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004265/9.268, allocations: 264.3 kB / 3.778 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.776e-06/9.268, allocations: 7.797 kB / 3.778 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001322/9.269, allocations: 0.8192 MB / 3.779 GB, free: 23.02 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001571/9.271, allocations: 3.834 MB / 3.783 GB, free: 19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.04e-05/9.271, allocations: 10.33 kB / 3.783 GB, free: 19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003182/9.274, allocations: 388.2 kB / 3.783 GB, free: 18.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007938/9.275, allocations: 196 kB / 3.783 GB, free: 18.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009456/9.276, allocations: 1.136 MB / 3.785 GB, free: 17.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008996/9.277, allocations: 73.72 kB / 3.785 GB, free: 17.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/9.277, allocations: 53.47 kB / 3.785 GB, free: 17.91 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/9.277, allocations: 2.219 kB / 3.785 GB, free: 17.91 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001159/9.278, allocations: 0.6709 MB / 3.785 GB, free: 17.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/9.278, allocations: 18.7 kB / 3.785 GB, free: 17.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/9.278, allocations: 15.84 kB / 3.785 GB, free: 17.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007371/9.279, allocations: 216.5 kB / 3.786 GB, free: 17.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/9.279, allocations: 14.06 kB / 3.786 GB, free: 17.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007808/9.28, allocations: 61.55 kB / 3.786 GB, free: 17.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.838e-05/9.28, allocations: 52.73 kB / 3.786 GB, free: 17.89 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 () * 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.0002613/9.28, allocations: 165.7 kB / 3.786 GB, free: 17.77 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002038/9.28, allocations: 84.8 kB / 3.786 GB, free: 17.73 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00391/9.284, allocations: 3.581 MB / 3.789 GB, free: 17.27 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.854e-05/9.284, allocations: 44.81 kB / 3.789 GB, free: 17.27 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/9.284, allocations: 7.938 kB / 3.789 GB, free: 17.26 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/9.284, allocations: 5.062 kB / 3.79 GB, free: 17.26 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002176/9.287, allocations: 1.701 MB / 3.791 GB, free: 16.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/9.287, allocations: 3.875 kB / 3.791 GB, free: 16.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005227/9.287, allocations: 121.9 kB / 3.791 GB, free: 16.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002001/9.289, allocations: 0.8965 MB / 3.792 GB, free: 16.91 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-05/9.289, allocations: 20.17 kB / 3.792 GB, free: 16.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00112/9.29, allocations: 1.536 MB / 3.794 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.187e-06/9.29, allocations: 0 / 3.794 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002358/9.293, allocations: 1.995 MB / 3.796 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007983/9.294, allocations: 412.6 kB / 3.796 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002451/9.294, allocations: 10.16 kB / 3.796 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007843/9.295, allocations: 57.36 kB / 3.796 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/9.295, allocations: 57.73 kB / 3.796 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.269e-05/9.295, allocations: 28.31 kB / 3.796 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000761/9.296, allocations: 0.5178 MB / 3.797 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.293e-06/9.296, allocations: 0 / 3.797 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006702/9.302, allocations: 1.334 MB / 3.798 GB, free: 14.85 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 () * 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.008011/9.31, allocations: 1.756 MB / 3.8 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00265/9.313, allocations: 1.315 MB / 3.801 GB, free: 14.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/9.313, allocations: 0 / 3.801 GB, free: 14.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009747/9.314, allocations: 0.7897 MB / 3.802 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002299/9.316, allocations: 357.2 kB / 3.802 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.231/10.55, allocations: 424.3 MB / 4.216 GB, free: 48.92 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005463/10.55, allocations: 1.295 MB / 4.218 GB, free: 47.82 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001898/10.55, allocations: 1.157 MB / 4.219 GB, free: 47.17 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001703/10.55, allocations: 68.56 kB / 4.219 GB, free: 47.11 MB / 0.5261 GB Notification: Performance of SimCode: time 2.495e-06/10.55, allocations: 0 / 4.219 GB, free: 47.11 MB / 0.5261 GB Notification: Performance of Templates: time 0.05634/10.61, allocations: 48.01 MB / 4.266 GB, free: 11.16 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)