Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.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.TestFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001467/0.001467, allocations: 164.4 kB / 7.635 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.599/1.599, allocations: 170.7 MB / 178.7 MB, free: 15.57 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.00172/0.00172, allocations: 111.4 kB / 218 MB, free: 8.34 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.2045/0.2045, allocations: 37.99 MB / 295.1 MB, free: 9.48 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.133e-05/2.134e-05, allocations: 2.219 kB / 350 MB, free: 36.99 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1123, allocations: 48.73 MB / 398.7 MB, free: 5.344 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.334/6.447, allocations: 2.485 GB / 2.874 GB, free: 28.43 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/6.447, allocations: 83.94 kB / 2.874 GB, free: 28.35 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 .... Notification: Performance of FrontEnd - DAE generated: time 1.604/8.05, allocations: 385.5 MB / 3.251 GB, free: 38.45 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.573e-06/8.05, allocations: 0 / 3.251 GB, free: 38.45 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.638e-05/8.051, allocations: 11.28 kB / 3.251 GB, free: 38.45 MB / 426.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.007148/8.058, allocations: 1.498 MB / 3.252 GB, free: 37.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.617e-05/8.058, allocations: 11.78 kB / 3.252 GB, free: 37.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002753/8.061, allocations: 273 kB / 3.252 GB, free: 37.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001567/8.062, allocations: 468 kB / 3.253 GB, free: 37.57 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.2e-05/8.062, allocations: 20.47 kB / 3.253 GB, free: 37.57 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/8.062, allocations: 22.16 kB / 3.253 GB, free: 37.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007853/8.063, allocations: 368.9 kB / 3.253 GB, free: 37.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007864/8.064, allocations: 465.3 kB / 3.254 GB, free: 37.42 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/8.064, allocations: 3.906 kB / 3.254 GB, free: 37.42 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.214e-05/8.064, allocations: 0 / 3.254 GB, free: 37.42 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/8.064, allocations: 15.67 kB / 3.254 GB, free: 37.42 MB / 426.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.1367/8.201, allocations: 54.82 MB / 3.307 GB, free: 30.11 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005033/8.201, allocations: 259.7 kB / 3.307 GB, free: 30.08 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/8.202, allocations: 123.8 kB / 3.308 GB, free: 30.07 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1363/8.338, allocations: 64.91 MB / 3.371 GB, free: 18.73 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.905e-05/8.338, allocations: 41.92 kB / 3.371 GB, free: 18.69 MB / 474.7 MB Notification: Performance of pre-optimization done (n=24): time 2.194e-06/8.338, allocations: 7 kB / 3.371 GB, free: 18.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=24): time 0.002438/8.34, allocations: 0.5698 MB / 3.372 GB, free: 18.34 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.759e-05/8.341, allocations: 110.7 kB / 3.372 GB, free: 18.21 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004992/8.341, allocations: 303.3 kB / 3.372 GB, free: 17.99 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.205e-05/8.341, allocations: 25.7 kB / 3.372 GB, free: 17.96 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002319/8.341, allocations: 290.3 kB / 3.372 GB, free: 17.76 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.346e-05/8.341, allocations: 79.38 kB / 3.372 GB, free: 17.7 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.641e-05/8.341, allocations: 0 / 3.372 GB, free: 17.7 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001658/8.342, allocations: 355.2 kB / 3.373 GB, free: 17.37 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/8.342, allocations: 100.3 kB / 3.373 GB, free: 17.32 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/8.342, allocations: 241.7 kB / 3.373 GB, free: 17.07 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/8.343, allocations: 249.2 kB / 3.373 GB, free: 16.94 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/8.343, allocations: 4 kB / 3.373 GB, free: 16.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001521/8.345, allocations: 0.5104 MB / 3.374 GB, free: 16.6 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008726/8.346, allocations: 1.744 MB / 3.375 GB, free: 14.76 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/8.346, allocations: 8.547 kB / 3.375 GB, free: 14.76 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002142/8.346, allocations: 43.83 kB / 3.375 GB, free: 14.72 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003641/8.346, allocations: 102.8 kB / 3.376 GB, free: 14.65 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009312/8.347, allocations: 0.6396 MB / 3.376 GB, free: 14.05 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005644/8.348, allocations: 59.16 kB / 3.376 GB, free: 14 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-05/8.348, allocations: 22.36 kB / 3.376 GB, free: 13.98 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/8.348, allocations: 6.969 kB / 3.376 GB, free: 13.98 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00107/8.349, allocations: 380.4 kB / 3.377 GB, free: 13.77 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/8.349, allocations: 6.078 kB / 3.377 GB, free: 13.77 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/8.349, allocations: 8 kB / 3.377 GB, free: 13.76 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003928/8.349, allocations: 107.3 kB / 3.377 GB, free: 13.68 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/8.349, allocations: 15.55 kB / 3.377 GB, free: 13.67 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004716/8.35, allocations: 51.59 kB / 3.377 GB, free: 13.63 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.011e-05/8.35, allocations: 21.19 kB / 3.377 GB, free: 13.61 MB / 474.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.0002171/8.35, allocations: 119.7 kB / 3.377 GB, free: 13.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/8.35, allocations: 42.86 kB / 3.377 GB, free: 13.46 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002238/8.352, allocations: 1.565 MB / 3.379 GB, free: 12.61 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.784e-05/8.353, allocations: 26.36 kB / 3.379 GB, free: 12.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/8.353, allocations: 0 / 3.379 GB, free: 12.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/8.353, allocations: 0 / 3.379 GB, free: 12.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002603/8.355, allocations: 2.164 MB / 3.381 GB, free: 11.39 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/8.355, allocations: 0 / 3.381 GB, free: 11.39 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002435/8.355, allocations: 60.19 kB / 3.381 GB, free: 11.35 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005646/8.356, allocations: 0.6053 MB / 3.381 GB, free: 10.95 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-05/8.356, allocations: 4 kB / 3.381 GB, free: 10.95 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009599/8.357, allocations: 1.085 MB / 3.382 GB, free: 10.14 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/8.357, allocations: 2.906 kB / 3.382 GB, free: 10.14 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/8.358, allocations: 1.211 MB / 3.384 GB, free: 9.375 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002644/8.359, allocations: 190.4 kB / 3.384 GB, free: 9.195 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.893e-05/8.359, allocations: 0 / 3.384 GB, free: 9.195 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002966/8.359, allocations: 27.17 kB / 3.384 GB, free: 9.176 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.896e-05/8.359, allocations: 26.52 kB / 3.384 GB, free: 9.164 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/8.359, allocations: 8 kB / 3.384 GB, free: 9.156 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002602/8.36, allocations: 234.2 kB / 3.384 GB, free: 8.988 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.11e-07/8.36, allocations: 5.875 kB / 3.384 GB, free: 8.984 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005786/8.365, allocations: 1.149 MB / 3.385 GB, free: 7.922 MB / 474.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.009572/8.375, allocations: 1.706 MB / 3.387 GB, free: 6.602 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001325/8.376, allocations: 0.6482 MB / 3.387 GB, free: 6.227 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/8.376, allocations: 0 / 3.387 GB, free: 6.227 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004868/8.377, allocations: 393.8 kB / 3.388 GB, free: 6.047 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/8.378, allocations: 189.9 kB / 3.388 GB, free: 5.941 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/8.38, allocations: 0.9715 MB / 3.389 GB, free: 5.223 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005241/8.38, allocations: 0.9486 MB / 3.39 GB, free: 4.344 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0009634/8.381, allocations: 0.6138 MB / 3.39 GB, free: 3.988 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.453e-05/8.381, allocations: 50.41 kB / 3.391 GB, free: 3.949 MB / 474.7 MB Notification: Performance of SimCode: time 3.61e-07/8.381, allocations: 0 / 3.391 GB, free: 3.949 MB / 474.7 MB Notification: Performance of Templates: time 0.3334/8.715, allocations: 31.41 MB / 3.421 GB, free: 83.76 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.pipe 2>&1)