Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001405/0.001405, allocations: 200.7 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.596/1.596, allocations: 226.5 MB / 245.4 MB, free: 8.055 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008728/0.0008725, allocations: 104.2 kB / 297.5 MB, free: 6.875 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.385/0.385, allocations: 44.82 MB / 394.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003311/0.0003314, allocations: 8 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4319/0.4323, allocations: 62.95 MB / 0.5184 GB, free: 37.35 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.119/1.552, allocations: 0.4957 GB / 1.014 GB, free: 110 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/1.552, allocations: 99.92 kB / 1.014 GB, free: 109.9 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.8328/2.385, allocations: 236.3 MB / 1.245 GB, free: 95.37 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.355e-06/2.385, allocations: 0 / 1.245 GB, free: 95.37 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001076/2.385, allocations: 19.98 kB / 1.245 GB, free: 95.35 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.003995/2.389, allocations: 1.131 MB / 1.246 GB, free: 94.17 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/2.389, allocations: 15.97 kB / 1.246 GB, free: 94.16 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001424/2.391, allocations: 164 kB / 1.246 GB, free: 94 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/2.392, allocations: 0.521 MB / 1.247 GB, free: 93.44 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.918e-05/2.392, allocations: 34.06 kB / 1.247 GB, free: 93.4 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/2.392, allocations: 47.98 kB / 1.247 GB, free: 93.36 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/2.393, allocations: 0.658 MB / 1.247 GB, free: 92.64 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/2.393, allocations: 0 / 1.247 GB, free: 92.64 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.443e-05/2.393, allocations: 24 kB / 1.248 GB, free: 92.62 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/2.393, allocations: 12 kB / 1.248 GB, free: 92.61 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009284/2.394, allocations: 0.4995 MB / 1.248 GB, free: 92.11 MB / 0.5417 GB 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.003458/2.398, allocations: 2.621 MB / 1.251 GB, free: 89.3 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006516/2.398, allocations: 326.5 kB / 1.251 GB, free: 88.97 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002404/2.399, allocations: 156.8 kB / 1.251 GB, free: 88.81 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003598/2.399, allocations: 437.5 kB / 1.251 GB, free: 88.29 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/2.399, allocations: 42.56 kB / 1.251 GB, free: 88.24 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=35): time 3.085e-06/2.399, allocations: 0 / 1.251 GB, free: 88.24 MB / 0.5417 GB Notification: Performance of matching and sorting (n=35): time 0.001641/2.401, allocations: 0.713 MB / 1.252 GB, free: 87.5 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.172e-05/2.401, allocations: 162.2 kB / 1.252 GB, free: 87.3 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006494/2.401, allocations: 0.5067 MB / 1.253 GB, free: 86.79 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.568e-05/2.402, allocations: 33.7 kB / 1.253 GB, free: 86.75 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/2.402, allocations: 303.6 kB / 1.253 GB, free: 86.45 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.637e-05/2.402, allocations: 122.2 kB / 1.253 GB, free: 86.33 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.551e-05/2.402, allocations: 8 kB / 1.253 GB, free: 86.32 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001/2.402, allocations: 370.8 kB / 1.254 GB, free: 85.95 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002405/2.402, allocations: 141 kB / 1.254 GB, free: 85.81 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003075/2.402, allocations: 323.3 kB / 1.254 GB, free: 85.42 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005664/2.403, allocations: 470.8 kB / 1.255 GB, free: 84.89 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/2.403, allocations: 4 kB / 1.255 GB, free: 84.89 MB / 0.5417 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009258/2.404, allocations: 0.5711 MB / 1.255 GB, free: 84.31 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/2.404, allocations: 8 kB / 1.255 GB, free: 84.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/2.404, allocations: 4 kB / 1.255 GB, free: 84.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001204/2.405, allocations: 245.1 kB / 1.255 GB, free: 84.05 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003451/2.406, allocations: 115.9 kB / 1.255 GB, free: 83.94 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003512/2.406, allocations: 0.5836 MB / 1.256 GB, free: 83.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004861/2.406, allocations: 71.34 kB / 1.256 GB, free: 83.26 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.82e-05/2.407, allocations: 52 kB / 1.256 GB, free: 83.21 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * 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.0002831/2.407, allocations: 205.6 kB / 1.256 GB, free: 83 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/2.407, allocations: 59.25 kB / 1.256 GB, free: 82.94 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001679/2.409, allocations: 1.063 MB / 1.257 GB, free: 81.84 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/2.409, allocations: 0 / 1.257 GB, free: 81.84 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/2.409, allocations: 0 / 1.257 GB, free: 81.84 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/2.409, allocations: 7.938 kB / 1.257 GB, free: 81.83 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001285/2.41, allocations: 0.9641 MB / 1.258 GB, free: 80.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/2.41, allocations: 3.938 kB / 1.258 GB, free: 80.79 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/2.41, allocations: 51.91 kB / 1.258 GB, free: 80.73 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001072/2.411, allocations: 232.8 kB / 1.259 GB, free: 80.5 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.637e-05/2.411, allocations: 7.984 kB / 1.259 GB, free: 80.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002958/2.412, allocations: 0.5798 MB / 1.259 GB, free: 79.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/2.412, allocations: 3.938 kB / 1.259 GB, free: 79.89 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005756/2.412, allocations: 489.4 kB / 1.26 GB, free: 79.37 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002064/2.412, allocations: 156.3 kB / 1.26 GB, free: 79.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.773e-05/2.413, allocations: 11.98 kB / 1.26 GB, free: 79.19 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004039/2.413, allocations: 31.89 kB / 1.26 GB, free: 79.16 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.023e-05/2.413, allocations: 35.84 kB / 1.26 GB, free: 79.12 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.399e-05/2.413, allocations: 19.98 kB / 1.26 GB, free: 79.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004277/2.414, allocations: 414.8 kB / 1.26 GB, free: 78.7 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/2.414, allocations: 0 / 1.26 GB, free: 78.7 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00149/2.415, allocations: 395.5 kB / 1.261 GB, free: 78.31 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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 Backend phase and start with SimCode phase: time 0.002721/2.418, allocations: 1.121 MB / 1.262 GB, free: 77.2 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0008227/2.419, allocations: 356.7 kB / 1.262 GB, free: 76.86 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/2.419, allocations: 7.938 kB / 1.262 GB, free: 76.85 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002636/2.419, allocations: 135.7 kB / 1.262 GB, free: 76.71 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001854/2.421, allocations: 347.3 kB / 1.263 GB, free: 76.38 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/2.423, allocations: 1.091 MB / 1.264 GB, free: 75.24 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005257/2.423, allocations: 0.8634 MB / 1.265 GB, free: 74.35 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0015/2.425, allocations: 0.5788 MB / 1.265 GB, free: 73.77 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003628/2.425, allocations: 83.41 kB / 1.265 GB, free: 73.69 MB / 0.5417 GB Notification: Performance of SimCode: time 1.694e-06/2.425, allocations: 0 / 1.265 GB, free: 73.69 MB / 0.5417 GB Notification: Performance of Templates: time 0.03584/2.461, allocations: 25.84 MB / 1.29 GB, free: 47.93 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1)