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.009503/0.009503, allocations: 175.2 kB / 15.12 MB, free: 5.973 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.526/1.526, allocations: 194.5 MB / 210.3 MB, free: 7.617 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.001744/0.001744, allocations: 124.5 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2012/0.2012, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.000359, allocations: 15.31 kB / 406.2 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1194, allocations: 54.87 MB / 461 MB, free: 3.301 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.865/6.984, allocations: 2.596 GB / 3.046 GB, free: 75.11 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/6.985, allocations: 89.2 kB / 3.046 GB, free: 75.06 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 .... Notification: Performance of FrontEnd - DAE generated: time 1.662/8.646, allocations: 400.3 MB / 3.437 GB, free: 57.92 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.226e-06/8.646, allocations: 3.312 kB / 3.437 GB, free: 57.92 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.249e-05/8.647, allocations: 11.16 kB / 3.437 GB, free: 57.92 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.009504/8.656, allocations: 1.591 MB / 3.439 GB, free: 56.96 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.809e-05/8.656, allocations: 11.12 kB / 3.439 GB, free: 56.96 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002876/8.659, allocations: 292.4 kB / 3.439 GB, free: 56.92 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001561/8.661, allocations: 476.2 kB / 3.44 GB, free: 56.59 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.254e-05/8.661, allocations: 39.58 kB / 3.44 GB, free: 56.57 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/8.661, allocations: 37.59 kB / 3.44 GB, free: 56.56 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002057/8.663, allocations: 0.6879 MB / 3.44 GB, free: 56.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/8.663, allocations: 0 / 3.44 GB, free: 56.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.39e-05/8.663, allocations: 19.66 kB / 3.44 GB, free: 56.24 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/8.663, allocations: 8.625 kB / 3.44 GB, free: 56.24 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001692/8.665, allocations: 0.6091 MB / 3.441 GB, free: 56.09 MB / 490.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.004035/8.669, allocations: 2.864 MB / 3.444 GB, free: 53.77 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/8.67, allocations: 456.7 kB / 3.444 GB, free: 53.64 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6109/9.281, allocations: 95.8 MB / 3.538 GB, free: 69.78 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.557e-05/9.281, allocations: 40.41 kB / 3.538 GB, free: 69.74 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 2.695e-06/9.281, allocations: 0 / 3.538 GB, free: 69.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30): time 0.00311/9.284, allocations: 0.9037 MB / 3.539 GB, free: 69.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/9.285, allocations: 108.3 kB / 3.539 GB, free: 69.48 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004603/9.285, allocations: 306.2 kB / 3.539 GB, free: 69.37 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.638e-05/9.285, allocations: 31.83 kB / 3.539 GB, free: 69.34 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001857/9.285, allocations: 268.2 kB / 3.539 GB, free: 69.21 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/9.285, allocations: 104 kB / 3.54 GB, free: 69.16 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.853e-05/9.285, allocations: 7.125 kB / 3.54 GB, free: 69.16 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001072/9.285, allocations: 354 kB / 3.54 GB, free: 68.85 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003177/9.286, allocations: 132.8 kB / 3.54 GB, free: 68.85 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004039/9.286, allocations: 285.2 kB / 3.54 GB, free: 68.68 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003713/9.287, allocations: 165.7 kB / 3.54 GB, free: 68.68 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/9.287, allocations: 3.5 kB / 3.54 GB, free: 68.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001036/9.288, allocations: 0.4977 MB / 3.541 GB, free: 68.62 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004613/9.288, allocations: 1.744 MB / 3.543 GB, free: 66.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/9.288, allocations: 7.5 kB / 3.543 GB, free: 66.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001706/9.29, allocations: 199.3 kB / 3.543 GB, free: 66.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003838/9.29, allocations: 109.3 kB / 3.543 GB, free: 66.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004629/9.291, allocations: 0.576 MB / 3.544 GB, free: 66.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004929/9.291, allocations: 64.89 kB / 3.544 GB, free: 66.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.345e-05/9.291, allocations: 27.88 kB / 3.544 GB, free: 66.27 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/9.291, allocations: 7.406 kB / 3.544 GB, free: 66.27 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009281/9.292, allocations: 407.2 kB / 3.544 GB, free: 66.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/9.292, allocations: 3.969 kB / 3.544 GB, free: 66.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/9.292, allocations: 7.844 kB / 3.544 GB, free: 66.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003506/9.293, allocations: 102.8 kB / 3.544 GB, free: 66.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/9.293, allocations: 15.89 kB / 3.544 GB, free: 66.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004166/9.293, allocations: 61.42 kB / 3.544 GB, free: 66.26 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.357e-05/9.293, allocations: 19 kB / 3.544 GB, free: 66.26 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (boundary_fixed.medium.phase,massFlowRate1.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase) * Number of discrete states: 0 () * Number of clocked 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.0003477/9.294, allocations: 254.2 kB / 3.544 GB, free: 66.07 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/9.294, allocations: 45.61 kB / 3.545 GB, free: 66.05 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002455/9.296, allocations: 1.986 MB / 3.546 GB, free: 65.85 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.819e-05/9.296, allocations: 25.38 kB / 3.546 GB, free: 65.85 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/9.296, allocations: 0.625 kB / 3.546 GB, free: 65.85 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/9.296, allocations: 3.797 kB / 3.546 GB, free: 65.85 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/9.297, allocations: 0.9911 MB / 3.547 GB, free: 65.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/9.297, allocations: 0 / 3.547 GB, free: 65.63 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/9.298, allocations: 76.91 kB / 3.548 GB, free: 65.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001273/9.299, allocations: 0.5738 MB / 3.548 GB, free: 65.59 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.666e-05/9.299, allocations: 10.98 kB / 3.548 GB, free: 65.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006572/9.3, allocations: 1.001 MB / 3.549 GB, free: 65.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/9.3, allocations: 2.188 kB / 3.549 GB, free: 65.05 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/9.301, allocations: 1.288 MB / 3.55 GB, free: 64.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000359/9.302, allocations: 242 kB / 3.551 GB, free: 64.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.657e-05/9.302, allocations: 14.42 kB / 3.551 GB, free: 64.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000366/9.302, allocations: 35.91 kB / 3.551 GB, free: 64.66 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.65e-05/9.302, allocations: 23.12 kB / 3.551 GB, free: 64.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.66e-05/9.302, allocations: 14.53 kB / 3.551 GB, free: 64.66 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003584/9.303, allocations: 304.9 kB / 3.551 GB, free: 64.57 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.1e-07/9.303, allocations: 0 / 3.551 GB, free: 64.57 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006406/9.309, allocations: 1.206 MB / 3.552 GB, free: 64.55 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.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 (34): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.01067/9.32, allocations: 1.615 MB / 3.554 GB, free: 64.39 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002082/9.322, allocations: 0.7825 MB / 3.554 GB, free: 64.38 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/9.322, allocations: 6.891 kB / 3.554 GB, free: 64.38 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007418/9.323, allocations: 482.8 kB / 3.555 GB, free: 64.37 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/9.324, allocations: 206.3 kB / 3.555 GB, free: 64.36 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.638/9.962, allocations: 152.8 MB / 3.704 GB, free: 79.68 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006226/9.963, allocations: 0.9981 MB / 3.705 GB, free: 78.97 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001301/9.964, allocations: 0.5295 MB / 3.706 GB, free: 78.96 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/9.964, allocations: 42.97 kB / 3.706 GB, free: 78.96 MB / 0.4948 GB Notification: Performance of SimCode: time 2.394e-06/9.964, allocations: 0 / 3.706 GB, free: 78.96 MB / 0.4948 GB Notification: Performance of Templates: time 0.05508/10.02, allocations: 35.44 MB / 3.74 GB, free: 78.55 MB / 0.4948 GB 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)