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.00111/0.00111, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.281/1.281, allocations: 225.6 MB / 234.8 MB, free: 3.312 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008865/0.0008865, allocations: 95.36 kB / 286.7 MB, free: 5.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.184/0.184, allocations: 45.16 MB / 383.8 MB, free: 304 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.615e-05/1.624e-05, allocations: 0 / 453.2 MB, free: 75.83 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1216, allocations: 63.25 MB / 0.5044 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.249/1.371, allocations: 0.495 GB / 0.9993 GB, free: 149 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/1.371, allocations: 90.81 kB / 0.9994 GB, free: 149 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.7374/2.108, allocations: 234.6 MB / 1.229 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.202e-06/2.108, allocations: 0 / 1.229 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.693e-05/2.108, allocations: 26.06 kB / 1.229 GB, free: 114.2 MB / 0.5261 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.002226/2.111, allocations: 1.042 MB / 1.23 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/2.111, allocations: 6.906 kB / 1.23 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/2.112, allocations: 171 kB / 1.23 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007073/2.113, allocations: 0.5029 MB / 1.23 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/2.113, allocations: 15.12 kB / 1.23 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.056e-05/2.113, allocations: 25.91 kB / 1.23 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005969/2.113, allocations: 433.5 kB / 1.231 GB, free: 113 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000668/2.114, allocations: 0.5465 MB / 1.231 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/2.114, allocations: 7.406 kB / 1.231 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.418e-05/2.114, allocations: 3.938 kB / 1.231 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/2.114, allocations: 11 kB / 1.231 GB, free: 112.6 MB / 0.5261 GB 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.00222/2.116, allocations: 2.592 MB / 1.234 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002952/2.117, allocations: 225.3 kB / 1.234 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/2.117, allocations: 126.4 kB / 1.234 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002907/2.117, allocations: 434.2 kB / 1.235 GB, free: 110 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/2.117, allocations: 38.38 kB / 1.235 GB, free: 110 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=31): time 1.613e-06/2.117, allocations: 0 / 1.235 GB, free: 110 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31): time 0.002109/2.119, allocations: 0.6344 MB / 1.235 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/2.119, allocations: 165.8 kB / 1.235 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003808/2.12, allocations: 392.3 kB / 1.236 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.887e-05/2.12, allocations: 25.7 kB / 1.236 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/2.12, allocations: 315.7 kB / 1.236 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.71e-05/2.12, allocations: 108.9 kB / 1.236 GB, free: 109 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.7e-05/2.12, allocations: 0 / 1.236 GB, free: 109 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.915e-05/2.12, allocations: 361.5 kB / 1.237 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001736/2.12, allocations: 125 kB / 1.237 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/2.121, allocations: 300 kB / 1.237 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001689/2.122, allocations: 462.3 kB / 1.237 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/2.122, allocations: 0 / 1.237 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002082/2.124, allocations: 0.7798 MB / 1.238 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/2.124, allocations: 7.812 kB / 1.238 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/2.125, allocations: 3.875 kB / 1.238 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002278/2.125, allocations: 54.52 kB / 1.238 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003972/2.125, allocations: 121.4 kB / 1.238 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004734/2.126, allocations: 0.6038 MB / 1.239 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000457/2.126, allocations: 53.94 kB / 1.239 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.501e-05/2.126, allocations: 58.06 kB / 1.239 GB, free: 107.5 MB / 0.5261 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 () * 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.0001429/2.126, allocations: 122.1 kB / 1.239 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.683e-05/2.126, allocations: 49.66 kB / 1.239 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001799/2.128, allocations: 0.9687 MB / 1.24 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/2.128, allocations: 3.625 kB / 1.24 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/2.128, allocations: 3.953 kB / 1.24 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/2.128, allocations: 0 / 1.24 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001682/2.13, allocations: 1.139 MB / 1.241 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/2.13, allocations: 3.953 kB / 1.241 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/2.13, allocations: 55.8 kB / 1.241 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001262/2.13, allocations: 47.08 kB / 1.241 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/2.13, allocations: 10.66 kB / 1.241 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003647/2.131, allocations: 0.5935 MB / 1.242 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/2.131, allocations: 6.703 kB / 1.242 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009762/2.132, allocations: 0.6366 MB / 1.243 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/2.132, allocations: 147.9 kB / 1.243 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.135e-05/2.132, allocations: 11.56 kB / 1.243 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003427/2.132, allocations: 21.14 kB / 1.243 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.651e-05/2.132, allocations: 29.33 kB / 1.243 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.878e-05/2.132, allocations: 21.2 kB / 1.243 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002915/2.133, allocations: 325.1 kB / 1.243 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/2.133, allocations: 0 / 1.243 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00117/2.134, allocations: 365.2 kB / 1.243 GB, free: 104.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.00164/2.136, allocations: 1.285 MB / 1.245 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005583/2.136, allocations: 330.8 kB / 1.245 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/2.136, allocations: 0 / 1.245 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001734/2.136, allocations: 121.4 kB / 1.245 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/2.137, allocations: 256.1 kB / 1.245 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008727/2.138, allocations: 0.579 MB / 1.246 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/2.139, allocations: 0.8757 MB / 1.247 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001029/2.14, allocations: 0.5502 MB / 1.247 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002092/2.14, allocations: 82.61 kB / 1.247 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of SimCode: time 2.91e-07/2.14, allocations: 3.938 kB / 1.247 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.02234/2.162, allocations: 16.91 MB / 1.264 GB, free: 90.54 MB / 0.5261 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)