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.001783/0.001783, allocations: 187.3 kB / 7.654 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.683/1.683, allocations: 194.3 MB / 202.4 MB, free: 8.477 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.001758/0.001758, allocations: 120.1 kB / 247.4 MB, free: 6.195 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.2107/0.2107, allocations: 39.94 MB / 332.2 MB, free: 4.766 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.838e-05/1.841e-05, allocations: 4 kB / 393.3 MB, free: 75.52 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1142, allocations: 54.87 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.753/5.868, allocations: 2.596 GB / 3.034 GB, free: 149.2 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/5.868, allocations: 82.17 kB / 3.034 GB, free: 149.1 MB / 474.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.17/8.038, allocations: 0.6551 GB / 3.689 GB, free: 29.41 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.733e-06/8.038, allocations: 4 kB / 3.689 GB, free: 29.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.063e-05/8.038, allocations: 23.75 kB / 3.689 GB, free: 29.38 MB / 490.7 MB 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.008194/8.046, allocations: 2.175 MB / 3.692 GB, free: 27.17 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/8.046, allocations: 8.031 kB / 3.692 GB, free: 27.16 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004808/8.051, allocations: 0.5874 MB / 3.692 GB, free: 26.57 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001579/8.052, allocations: 0.693 MB / 3.693 GB, free: 25.85 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.778e-05/8.052, allocations: 32 kB / 3.693 GB, free: 25.82 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001636/8.053, allocations: 40 kB / 3.693 GB, free: 25.78 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001304/8.054, allocations: 0.7497 MB / 3.694 GB, free: 25.03 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/8.055, allocations: 0.9085 MB / 3.694 GB, free: 24.02 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/8.055, allocations: 7.875 kB / 3.694 GB, free: 24.02 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/8.055, allocations: 4 kB / 3.694 GB, free: 24.01 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/8.055, allocations: 24 kB / 3.695 GB, free: 23.99 MB / 490.7 MB 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.6265/8.682, allocations: 109.7 MB / 3.802 GB, free: 25.86 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/8.684, allocations: 0.4978 MB / 3.802 GB, free: 25.81 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005121/8.684, allocations: 220.1 kB / 3.802 GB, free: 25.79 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05966/8.744, allocations: 29.15 MB / 3.831 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.187e-05/8.744, allocations: 37.28 kB / 3.831 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008586/8.745, allocations: 105.4 kB / 3.831 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=46): time 4.168e-06/8.745, allocations: 4 kB / 3.831 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46): time 0.004245/8.749, allocations: 1.049 MB / 3.832 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/8.749, allocations: 190.4 kB / 3.832 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007443/8.75, allocations: 463 kB / 3.833 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.041e-05/8.75, allocations: 25.7 kB / 3.833 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003027/8.75, allocations: 470 kB / 3.833 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/8.751, allocations: 159 kB / 3.833 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/8.751, allocations: 1.969 kB / 3.833 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001831/8.751, allocations: 375.7 kB / 3.834 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002873/8.751, allocations: 181.3 kB / 3.834 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004008/8.751, allocations: 496.8 kB / 3.834 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001916/8.753, allocations: 481.7 kB / 3.835 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.14e-05/8.753, allocations: 3.781 kB / 3.835 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002787/8.756, allocations: 0.954 MB / 3.836 GB, free: 23.26 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001881/8.758, allocations: 3.834 MB / 3.839 GB, free: 19.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-05/8.758, allocations: 9.375 kB / 3.839 GB, free: 19.24 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003087/8.758, allocations: 70.16 kB / 3.839 GB, free: 19.22 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000779/8.759, allocations: 202.8 kB / 3.84 GB, free: 19.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001556/8.761, allocations: 1.238 MB / 3.841 GB, free: 18.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/8.762, allocations: 66.78 kB / 3.841 GB, free: 18.17 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/8.762, allocations: 50.7 kB / 3.841 GB, free: 18.17 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/8.762, allocations: 4.625 kB / 3.841 GB, free: 18.17 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001837/8.764, allocations: 0.7046 MB / 3.842 GB, free: 18.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/8.764, allocations: 14.53 kB / 3.842 GB, free: 18.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/8.764, allocations: 13.94 kB / 3.842 GB, free: 18.15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006848/8.765, allocations: 210.9 kB / 3.842 GB, free: 18.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/8.765, allocations: 22.67 kB / 3.842 GB, free: 18.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007672/8.765, allocations: 53.52 kB / 3.842 GB, free: 18.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.39e-05/8.766, allocations: 49.84 kB / 3.842 GB, free: 18.14 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 (massFlowRate1.medium.phase,boundary_fixed.medium.phase,massFlowRate2.medium.phase,boundary_fixed1.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.000262/8.766, allocations: 152.7 kB / 3.842 GB, free: 18.03 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/8.766, allocations: 66.97 kB / 3.842 GB, free: 17.99 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003645/8.77, allocations: 2.794 MB / 3.845 GB, free: 17.68 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.563e-05/8.77, allocations: 40.91 kB / 3.845 GB, free: 17.68 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/8.77, allocations: 0 / 3.845 GB, free: 17.68 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/8.77, allocations: 10.75 kB / 3.845 GB, free: 17.68 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004385/8.774, allocations: 3.695 MB / 3.849 GB, free: 17.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/8.774, allocations: 3.844 kB / 3.849 GB, free: 17.17 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003947/8.775, allocations: 99.3 kB / 3.849 GB, free: 17.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006805/8.775, allocations: 0.7209 MB / 3.849 GB, free: 17.12 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.876e-05/8.775, allocations: 10.56 kB / 3.849 GB, free: 17.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001427/8.777, allocations: 1.644 MB / 3.851 GB, free: 16.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/8.777, allocations: 0 / 3.851 GB, free: 16.07 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002545/8.779, allocations: 1.939 MB / 3.853 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004989/8.78, allocations: 297.6 kB / 3.853 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001616/8.78, allocations: 3.656 kB / 3.853 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006128/8.781, allocations: 36.16 kB / 3.853 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/8.781, allocations: 54.19 kB / 3.853 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.999e-05/8.781, allocations: 25.77 kB / 3.853 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004773/8.781, allocations: 381.1 kB / 3.854 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.01e-07/8.781, allocations: 0 / 3.854 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005672/8.787, allocations: 1.245 MB / 3.855 GB, free: 15.25 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 22 ($cse9.phase,$cse9.region,$cse13.phase,$cse13.region,$cse16.phase,$cse16.region,$cse17.region3boundary,$cse18.region3boundary,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,massFlowRate1.medium.phase,$cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,massFlowRate2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.008257/8.795, allocations: 1.922 MB / 3.857 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00231/8.798, allocations: 1.156 MB / 3.858 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.074e-06/8.798, allocations: 3.562 kB / 3.858 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009049/8.799, allocations: 0.6749 MB / 3.859 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00196/8.801, allocations: 289.2 kB / 3.859 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7357/9.536, allocations: 200.8 MB / 4.055 GB, free: 70.51 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008197/9.537, allocations: 1.185 MB / 4.056 GB, free: 69.48 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002551/9.54, allocations: 1.319 MB / 4.057 GB, free: 68.71 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002394/9.54, allocations: 73.12 kB / 4.057 GB, free: 68.66 MB / 0.5261 GB Notification: Performance of SimCode: time 1.323e-06/9.54, allocations: 0 / 4.057 GB, free: 68.66 MB / 0.5261 GB Notification: Performance of Templates: time 0.05717/9.597, allocations: 35.99 MB / 4.093 GB, free: 43.25 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)