Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.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.TestFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001579/0.001579, 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.604/1.604, allocations: 194.3 MB / 202.4 MB, free: 8.469 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.001831/0.001831, allocations: 109.8 kB / 247.4 MB, free: 6.207 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.2037/0.2037, allocations: 39.95 MB / 332.2 MB, free: 4.766 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.598e-05/1.599e-05, allocations: 3.984 kB / 393.3 MB, free: 75.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09658/0.09661, allocations: 54.86 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.38/6.476, allocations: 2.595 GB / 3.033 GB, free: 116.6 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002074/6.477, allocations: 83.95 kB / 3.033 GB, free: 116.5 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 .... Notification: Performance of FrontEnd - DAE generated: time 1.381/7.857, allocations: 395.2 MB / 3.419 GB, free: 56.59 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.553e-06/7.857, allocations: 3.938 kB / 3.419 GB, free: 56.59 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.885e-05/7.857, allocations: 14.84 kB / 3.419 GB, free: 56.59 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.005154/7.862, allocations: 1.528 MB / 3.421 GB, free: 55.71 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/7.862, allocations: 11.53 kB / 3.421 GB, free: 55.71 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002148/7.865, allocations: 296.6 kB / 3.421 GB, free: 55.66 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007376/7.865, allocations: 470.5 kB / 3.421 GB, free: 55.33 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/7.865, allocations: 15.33 kB / 3.421 GB, free: 55.32 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.524e-05/7.865, allocations: 22.53 kB / 3.421 GB, free: 55.32 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005316/7.866, allocations: 367.9 kB / 3.422 GB, free: 55.2 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005867/7.867, allocations: 471.2 kB / 3.422 GB, free: 54.93 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/7.867, allocations: 0 / 3.422 GB, free: 54.93 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.093e-05/7.867, allocations: 0 / 3.422 GB, free: 54.93 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/7.867, allocations: 12.44 kB / 3.422 GB, free: 54.93 MB / 474.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.1237/7.99, allocations: 55.01 MB / 3.476 GB, free: 11.33 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004987/7.991, allocations: 254.6 kB / 3.476 GB, free: 11.07 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/7.991, allocations: 124.8 kB / 3.476 GB, free: 10.95 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4015/8.393, allocations: 64.92 MB / 3.54 GB, free: 53.97 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/8.393, allocations: 47.12 kB / 3.54 GB, free: 53.93 MB / 490.7 MB Notification: Performance of pre-optimization done (n=24): time 1.863e-06/8.393, allocations: 0 / 3.54 GB, free: 53.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=24): time 0.002103/8.395, allocations: 0.5813 MB / 3.54 GB, free: 53.89 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/8.395, allocations: 109.6 kB / 3.54 GB, free: 53.77 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002915/8.395, allocations: 300.2 kB / 3.541 GB, free: 53.66 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/8.395, allocations: 27.64 kB / 3.541 GB, free: 53.63 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/8.395, allocations: 284.7 kB / 3.541 GB, free: 53.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.898e-05/8.395, allocations: 78.83 kB / 3.541 GB, free: 53.46 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.957e-05/8.395, allocations: 2.344 kB / 3.541 GB, free: 53.46 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.632e-05/8.395, allocations: 352.4 kB / 3.541 GB, free: 53.15 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/8.396, allocations: 101.8 kB / 3.542 GB, free: 53.15 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/8.396, allocations: 238.9 kB / 3.542 GB, free: 52.98 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009316/8.397, allocations: 251.3 kB / 3.542 GB, free: 52.98 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/8.397, allocations: 3.688 kB / 3.542 GB, free: 52.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001289/8.398, allocations: 0.5117 MB / 3.542 GB, free: 52.91 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003145/8.398, allocations: 1.745 MB / 3.544 GB, free: 51.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/8.398, allocations: 3.906 kB / 3.544 GB, free: 51.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001671/8.399, allocations: 49.73 kB / 3.544 GB, free: 51.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003423/8.399, allocations: 94.64 kB / 3.544 GB, free: 51.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006638/8.4, allocations: 0.6445 MB / 3.545 GB, free: 50.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000421/8.4, allocations: 59.64 kB / 3.545 GB, free: 50.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.392e-05/8.4, allocations: 24.72 kB / 3.545 GB, free: 50.56 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.845e-06/8.4, allocations: 6.125 kB / 3.545 GB, free: 50.56 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008918/8.401, allocations: 371.1 kB / 3.545 GB, free: 50.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/8.401, allocations: 11.64 kB / 3.545 GB, free: 50.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.012e-06/8.401, allocations: 3.969 kB / 3.545 GB, free: 50.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003602/8.401, allocations: 115.2 kB / 3.546 GB, free: 50.56 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/8.401, allocations: 9.562 kB / 3.546 GB, free: 50.56 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003011/8.402, allocations: 45.11 kB / 3.546 GB, free: 50.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.042e-05/8.402, allocations: 24.09 kB / 3.546 GB, free: 50.55 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (massFlowRate1.medium.phase,boundary_fixed.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001032/8.402, allocations: 113.2 kB / 3.546 GB, free: 50.45 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.355e-05/8.402, allocations: 44.83 kB / 3.546 GB, free: 50.43 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001793/8.404, allocations: 1.574 MB / 3.547 GB, free: 50.27 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.809e-05/8.404, allocations: 21.25 kB / 3.547 GB, free: 50.27 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/8.404, allocations: 0 / 3.547 GB, free: 50.27 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/8.404, allocations: 10.75 kB / 3.547 GB, free: 50.27 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002241/8.406, allocations: 2.161 MB / 3.549 GB, free: 49.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/8.406, allocations: 7.922 kB / 3.549 GB, free: 49.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/8.406, allocations: 50.81 kB / 3.549 GB, free: 49.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005554/8.407, allocations: 0.6009 MB / 3.55 GB, free: 49.84 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/8.407, allocations: 10.44 kB / 3.55 GB, free: 49.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007927/8.408, allocations: 1.081 MB / 3.551 GB, free: 49.32 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/8.408, allocations: 5.125 kB / 3.551 GB, free: 49.32 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/8.409, allocations: 1.207 MB / 3.552 GB, free: 49.04 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/8.409, allocations: 188.8 kB / 3.552 GB, free: 48.91 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.42e-05/8.409, allocations: 3.094 kB / 3.552 GB, free: 48.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000278/8.409, allocations: 28.27 kB / 3.553 GB, free: 48.91 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.973e-05/8.41, allocations: 21.75 kB / 3.553 GB, free: 48.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/8.41, allocations: 17.02 kB / 3.553 GB, free: 48.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001747/8.41, allocations: 223.7 kB / 3.553 GB, free: 48.81 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/8.41, allocations: 0 / 3.553 GB, free: 48.81 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004598/8.414, allocations: 1.161 MB / 3.554 GB, free: 48.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,massFlowRate1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.006126/8.421, allocations: 1.71 MB / 3.556 GB, free: 48.64 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001017/8.422, allocations: 0.6435 MB / 3.556 GB, free: 48.63 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/8.422, allocations: 0 / 3.556 GB, free: 48.63 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003606/8.422, allocations: 399.4 kB / 3.557 GB, free: 48.62 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/8.423, allocations: 171.3 kB / 3.557 GB, free: 48.62 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/8.424, allocations: 0.9809 MB / 3.558 GB, free: 48.35 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/8.425, allocations: 0.946 MB / 3.559 GB, free: 47.64 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000868/8.425, allocations: 0.6228 MB / 3.559 GB, free: 47.63 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.2e-05/8.426, allocations: 36.44 kB / 3.559 GB, free: 47.62 MB / 490.7 MB Notification: Performance of SimCode: time 3.6e-07/8.426, allocations: 0 / 3.559 GB, free: 47.62 MB / 490.7 MB Notification: Performance of Templates: time 0.03942/8.465, allocations: 30.68 MB / 3.589 GB, free: 45.82 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.pipe 2>&1)