Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestDensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestDensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.006646/0.006646, allocations: 165.6 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.293/1.293, allocations: 170.8 MB / 186.6 MB, free: 1.129 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001613/0.001613, allocations: 114.6 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3856/0.3856, allocations: 38.04 MB / 303.7 MB, free: 42.29 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.00037, allocations: 12 kB / 362.9 MB, free: 5.586 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1335, allocations: 48.7 MB / 411.6 MB, free: 4.812 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.991/7.125, allocations: 2.486 GB / 2.888 GB, free: 52.06 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003266/7.125, allocations: 88.08 kB / 2.888 GB, free: 52.02 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+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.1+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+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.758/9.883, allocations: 0.6455 GB / 3.534 GB, free: 35.75 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.625e-06/9.883, allocations: 0 / 3.534 GB, free: 35.75 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.751e-05/9.883, allocations: 23.23 kB / 3.534 GB, free: 35.74 MB / 458.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.008612/9.892, allocations: 2.196 MB / 3.536 GB, free: 34.66 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/9.892, allocations: 7.75 kB / 3.536 GB, free: 34.66 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004802/9.897, allocations: 0.5379 MB / 3.537 GB, free: 34.61 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/9.898, allocations: 0.6952 MB / 3.537 GB, free: 34.33 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.523e-05/9.898, allocations: 69.16 kB / 3.537 GB, free: 34.33 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/9.898, allocations: 72.39 kB / 3.537 GB, free: 34.32 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003119/9.902, allocations: 1.368 MB / 3.539 GB, free: 34.04 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/9.902, allocations: 3.188 kB / 3.539 GB, free: 34.04 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-05/9.902, allocations: 33.66 kB / 3.539 GB, free: 34.04 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.105e-05/9.902, allocations: 25.23 kB / 3.539 GB, free: 34.04 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003007/9.905, allocations: 1.234 MB / 3.54 GB, free: 34.04 MB / 458.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.006236/9.911, allocations: 5.468 MB / 3.545 GB, free: 30.44 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002568/9.914, allocations: 0.8573 MB / 3.546 GB, free: 30.39 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.134/10.05, allocations: 60.13 MB / 3.605 GB, free: 16.63 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.96e-05/10.05, allocations: 42.77 kB / 3.605 GB, free: 16.59 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001252/10.05, allocations: 122.7 kB / 3.605 GB, free: 16.55 MB / 474.7 MB Notification: Performance of pre-optimization done (n=58): time 4.448e-06/10.05, allocations: 0 / 3.605 GB, free: 16.55 MB / 474.7 MB Notification: Performance of matching and sorting (n=58): time 0.005708/10.05, allocations: 1.591 MB / 3.607 GB, free: 16.25 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001802/10.05, allocations: 188.4 kB / 3.607 GB, free: 16.04 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008182/10.06, allocations: 486.6 kB / 3.607 GB, free: 15.9 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.716e-05/10.06, allocations: 40.39 kB / 3.607 GB, free: 15.87 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003104/10.06, allocations: 428.4 kB / 3.608 GB, free: 15.64 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001757/10.06, allocations: 199.2 kB / 3.608 GB, free: 15.51 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/10.06, allocations: 14.44 kB / 3.608 GB, free: 15.51 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002033/10.06, allocations: 378.4 kB / 3.608 GB, free: 15.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005791/10.06, allocations: 230.1 kB / 3.609 GB, free: 15.18 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007449/10.06, allocations: 0.5416 MB / 3.609 GB, free: 14.64 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006021/10.06, allocations: 293.5 kB / 3.609 GB, free: 14.48 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/10.06, allocations: 4 kB / 3.609 GB, free: 14.48 MB / 474.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001705/10.06, allocations: 0.8817 MB / 3.61 GB, free: 13.93 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002112/10.06, allocations: 3.84 MB / 3.614 GB, free: 25.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.432e-05/10.06, allocations: 15.73 kB / 3.614 GB, free: 25.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003162/10.07, allocations: 384.3 kB / 3.614 GB, free: 25.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006944/10.07, allocations: 193.9 kB / 3.615 GB, free: 25.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008674/10.07, allocations: 1.142 MB / 3.616 GB, free: 24.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008279/10.07, allocations: 60.88 kB / 3.616 GB, free: 24.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.465e-05/10.07, allocations: 52.28 kB / 3.616 GB, free: 24.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/10.07, allocations: 4 kB / 3.616 GB, free: 24.25 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001479/10.07, allocations: 0.7446 MB / 3.617 GB, free: 23.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/10.07, allocations: 19.78 kB / 3.617 GB, free: 23.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/10.07, allocations: 16 kB / 3.617 GB, free: 23.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006559/10.07, allocations: 208.6 kB / 3.617 GB, free: 23.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/10.07, allocations: 23.55 kB / 3.617 GB, free: 23.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006262/10.07, allocations: 68.67 kB / 3.617 GB, free: 23.53 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.518e-05/10.07, allocations: 53.48 kB / 3.617 GB, free: 23.49 MB / 490.7 MB 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.0005564/10.07, allocations: 310 kB / 3.617 GB, free: 23.23 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/10.07, allocations: 79.09 kB / 3.617 GB, free: 23.16 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004135/10.08, allocations: 3.553 MB / 3.621 GB, free: 21.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.022e-05/10.08, allocations: 55.88 kB / 3.621 GB, free: 21.18 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/10.08, allocations: 4 kB / 3.621 GB, free: 21.18 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/10.08, allocations: 3.328 kB / 3.621 GB, free: 21.18 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002007/10.08, allocations: 1.696 MB / 3.622 GB, free: 20.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/10.08, allocations: 3.938 kB / 3.622 GB, free: 20.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005115/10.08, allocations: 126.6 kB / 3.623 GB, free: 20.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001967/10.08, allocations: 0.7763 MB / 3.623 GB, free: 19.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.375e-05/10.08, allocations: 22.91 kB / 3.623 GB, free: 19.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001061/10.08, allocations: 1.536 MB / 3.625 GB, free: 18.29 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/10.08, allocations: 0 / 3.625 GB, free: 18.29 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002329/10.08, allocations: 2.066 MB / 3.627 GB, free: 16.78 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005402/10.08, allocations: 412.8 kB / 3.627 GB, free: 16.42 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/10.08, allocations: 16 kB / 3.627 GB, free: 16.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005434/10.09, allocations: 53.52 kB / 3.627 GB, free: 16.36 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/10.09, allocations: 60.98 kB / 3.627 GB, free: 16.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.551e-05/10.09, allocations: 23.8 kB / 3.627 GB, free: 16.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006445/10.09, allocations: 0.5342 MB / 3.628 GB, free: 15.85 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/10.09, allocations: 0 / 3.628 GB, free: 15.85 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006499/10.09, allocations: 1.313 MB / 3.629 GB, free: 14.56 MB / 490.7 MB 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.006761/10.1, allocations: 1.76 MB / 3.631 GB, free: 13.25 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003165/10.1, allocations: 1.407 MB / 3.632 GB, free: 12.02 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/10.1, allocations: 0 / 3.632 GB, free: 12.02 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001186/10.1, allocations: 0.8265 MB / 3.633 GB, free: 11.26 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001957/10.11, allocations: 350.7 kB / 3.633 GB, free: 11 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.526/11.63, allocations: 416.6 MB / 4.04 GB, free: 55.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009128/11.63, allocations: 1.296 MB / 4.042 GB, free: 55.19 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002071/11.64, allocations: 1.134 MB / 4.043 GB, free: 55.18 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/11.64, allocations: 76.7 kB / 4.043 GB, free: 55.17 MB / 490.7 MB Notification: Performance of SimCode: time 1.032e-06/11.64, allocations: 1.688 kB / 4.043 GB, free: 55.17 MB / 490.7 MB Notification: Performance of Templates: time 0.06/11.7, allocations: 44.28 MB / 4.086 GB, free: 53.02 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.pipe 2>&1)