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.0009925/0.0009925, allocations: 199 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.233/1.233, allocations: 227.2 MB / 245 MB, free: 7.613 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008329/0.0008329, allocations: 100.9 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3023/0.3023, allocations: 45.23 MB / 394.7 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002385/0.0002386, allocations: 4 kB / 468.4 MB, free: 7.719 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3333, allocations: 63.24 MB / 0.5192 GB, free: 43.8 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9254/1.259, allocations: 0.4957 GB / 1.015 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/1.259, allocations: 98.25 kB / 1.015 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.6701/1.929, allocations: 238.1 MB / 1.247 GB, free: 94.6 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.262e-06/1.929, allocations: 0 / 1.247 GB, free: 94.6 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.697e-05/1.929, allocations: 16 kB / 1.247 GB, free: 94.59 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.002329/1.932, allocations: 1.135 MB / 1.249 GB, free: 93.4 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/1.932, allocations: 12.03 kB / 1.249 GB, free: 93.39 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/1.933, allocations: 167 kB / 1.249 GB, free: 93.23 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006881/1.934, allocations: 0.4966 MB / 1.249 GB, free: 92.69 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/1.934, allocations: 33 kB / 1.249 GB, free: 92.66 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.571e-05/1.934, allocations: 40 kB / 1.249 GB, free: 92.62 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008869/1.935, allocations: 0.6503 MB / 1.25 GB, free: 91.91 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/1.935, allocations: 3.938 kB / 1.25 GB, free: 91.91 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.151e-05/1.935, allocations: 24 kB / 1.25 GB, free: 91.88 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/1.935, allocations: 12 kB / 1.25 GB, free: 91.87 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007134/1.935, allocations: 0.4957 MB / 1.25 GB, free: 91.38 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.002116/1.937, allocations: 2.621 MB / 1.253 GB, free: 88.57 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005205/1.938, allocations: 321.4 kB / 1.253 GB, free: 88.25 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002719/1.938, allocations: 437.5 kB / 1.254 GB, free: 87.73 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/1.938, allocations: 42.52 kB / 1.254 GB, free: 87.68 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=35): time 2.525e-06/1.938, allocations: 3.984 kB / 1.254 GB, free: 87.67 MB / 0.5417 GB Notification: Performance of matching and sorting (n=35): time 0.001293/1.94, allocations: 0.7069 MB / 1.255 GB, free: 86.94 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/1.94, allocations: 162.2 kB / 1.255 GB, free: 86.74 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00041/1.94, allocations: 474 kB / 1.255 GB, free: 86.27 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.215e-05/1.94, allocations: 33.7 kB / 1.255 GB, free: 86.23 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/1.94, allocations: 299.7 kB / 1.255 GB, free: 85.93 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.794e-05/1.94, allocations: 122.2 kB / 1.256 GB, free: 85.81 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.571e-05/1.94, allocations: 8 kB / 1.256 GB, free: 85.8 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.29e-05/1.94, allocations: 366.8 kB / 1.256 GB, free: 85.44 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/1.941, allocations: 137.1 kB / 1.256 GB, free: 85.3 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002693/1.941, allocations: 323.6 kB / 1.256 GB, free: 84.91 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002576/1.941, allocations: 191.9 kB / 1.257 GB, free: 84.72 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.941, allocations: 8 kB / 1.257 GB, free: 84.71 MB / 0.5417 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007506/1.942, allocations: 0.5677 MB / 1.257 GB, free: 84.14 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/1.942, allocations: 11.94 kB / 1.257 GB, free: 84.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/1.942, allocations: 4 kB / 1.257 GB, free: 84.12 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001179/1.943, allocations: 236.8 kB / 1.257 GB, free: 83.89 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003386/1.944, allocations: 123.9 kB / 1.257 GB, free: 83.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003532/1.944, allocations: 0.5797 MB / 1.258 GB, free: 83.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003626/1.944, allocations: 71.42 kB / 1.258 GB, free: 83.09 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.634e-05/1.944, allocations: 55.98 kB / 1.258 GB, free: 83.04 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.0002063/1.945, allocations: 193.6 kB / 1.258 GB, free: 82.84 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.866e-05/1.945, allocations: 63.25 kB / 1.258 GB, free: 82.77 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001504/1.946, allocations: 1.052 MB / 1.259 GB, free: 81.69 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/1.946, allocations: 3.938 kB / 1.259 GB, free: 81.69 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/1.946, allocations: 11.98 kB / 1.259 GB, free: 81.68 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/1.946, allocations: 3.984 kB / 1.259 GB, free: 81.67 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009671/1.947, allocations: 0.9641 MB / 1.26 GB, free: 80.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/1.947, allocations: 0 / 1.26 GB, free: 80.63 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/1.947, allocations: 48.11 kB / 1.26 GB, free: 80.58 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001084/1.948, allocations: 232.6 kB / 1.261 GB, free: 80.35 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/1.949, allocations: 12 kB / 1.261 GB, free: 80.34 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000256/1.949, allocations: 0.5836 MB / 1.261 GB, free: 79.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.949, allocations: 3.938 kB / 1.261 GB, free: 79.73 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005057/1.949, allocations: 0.5434 MB / 1.262 GB, free: 79.11 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/1.949, allocations: 156.3 kB / 1.262 GB, free: 78.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.205e-05/1.95, allocations: 8 kB / 1.262 GB, free: 78.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003437/1.95, allocations: 31.89 kB / 1.262 GB, free: 78.9 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/1.95, allocations: 27.91 kB / 1.262 GB, free: 78.87 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.602e-05/1.95, allocations: 19.98 kB / 1.262 GB, free: 78.85 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003459/1.95, allocations: 406.8 kB / 1.262 GB, free: 78.46 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.11e-07/1.95, allocations: 0 / 1.262 GB, free: 78.46 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001091/1.951, allocations: 395.5 kB / 1.263 GB, free: 78.07 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.001354/1.953, allocations: 1.133 MB / 1.264 GB, free: 76.95 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005712/1.953, allocations: 372.8 kB / 1.264 GB, free: 76.59 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.953, allocations: 0 / 1.264 GB, free: 76.59 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001994/1.954, allocations: 140.7 kB / 1.264 GB, free: 76.45 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/1.955, allocations: 335.1 kB / 1.265 GB, free: 76.13 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/1.956, allocations: 1.104 MB / 1.266 GB, free: 74.98 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/1.956, allocations: 0.8712 MB / 1.267 GB, free: 74.08 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0009785/1.957, allocations: 0.571 MB / 1.267 GB, free: 73.51 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002063/1.957, allocations: 87.39 kB / 1.267 GB, free: 73.42 MB / 0.5417 GB Notification: Performance of SimCode: time 2.01e-07/1.957, allocations: 0 / 1.267 GB, free: 73.42 MB / 0.5417 GB Notification: Performance of Templates: time 0.02629/1.984, allocations: 25.39 MB / 1.292 GB, free: 48.13 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)