Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009866/0.0009866, allocations: 183 kB / 18.09 MB, free: 3.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 223.3 MB / 242.1 MB, free: 11.71 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008069/0.0008069, allocations: 100.3 kB / 293.3 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3197/0.3197, allocations: 44.14 MB / 388.5 MB, free: 38.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003526, allocations: 12 kB / 461.1 MB, free: 1.297 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3365, allocations: 61.87 MB / 0.5107 GB, free: 38.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.059/1.396, allocations: 0.4948 GB / 1.006 GB, free: 94.68 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003618/1.396, allocations: 99.92 kB / 1.006 GB, free: 94.59 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.747/2.143, allocations: 235.7 MB / 1.236 GB, free: 70.48 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.353e-06/2.143, allocations: 0 / 1.236 GB, free: 70.48 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.084e-05/2.143, allocations: 16 kB / 1.236 GB, free: 70.46 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.003258/2.147, allocations: 1.127 MB / 1.237 GB, free: 69.29 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/2.147, allocations: 8.031 kB / 1.237 GB, free: 69.28 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/2.148, allocations: 160 kB / 1.237 GB, free: 69.12 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/2.149, allocations: 0.5093 MB / 1.238 GB, free: 68.57 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.677e-05/2.149, allocations: 38.12 kB / 1.238 GB, free: 68.54 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/2.149, allocations: 40 kB / 1.238 GB, free: 68.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/2.15, allocations: 0.6659 MB / 1.238 GB, free: 67.77 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/2.15, allocations: 0 / 1.238 GB, free: 67.77 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.05e-05/2.151, allocations: 24 kB / 1.238 GB, free: 67.75 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/2.151, allocations: 16 kB / 1.238 GB, free: 67.73 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008632/2.151, allocations: 0.4957 MB / 1.239 GB, free: 67.24 MB / 0.5261 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.002816/2.154, allocations: 2.629 MB / 1.241 GB, free: 64.42 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005878/2.155, allocations: 322.6 kB / 1.242 GB, free: 64.1 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002306/2.155, allocations: 156.8 kB / 1.242 GB, free: 63.95 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003354/2.155, allocations: 433.5 kB / 1.242 GB, free: 63.43 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/2.155, allocations: 46.5 kB / 1.242 GB, free: 63.38 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=35): time 2.114e-06/2.155, allocations: 0 / 1.242 GB, free: 63.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35): time 0.001538/2.157, allocations: 0.7091 MB / 1.243 GB, free: 62.64 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/2.157, allocations: 162.2 kB / 1.243 GB, free: 62.44 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005534/2.158, allocations: 0.5146 MB / 1.244 GB, free: 61.92 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.707e-05/2.158, allocations: 33.7 kB / 1.244 GB, free: 61.88 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/2.158, allocations: 307.5 kB / 1.244 GB, free: 61.57 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.999e-05/2.158, allocations: 126.2 kB / 1.244 GB, free: 61.45 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.579e-05/2.158, allocations: 8 kB / 1.244 GB, free: 61.44 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001091/2.158, allocations: 362.8 kB / 1.244 GB, free: 61.08 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002313/2.158, allocations: 141 kB / 1.245 GB, free: 60.94 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003/2.159, allocations: 323.4 kB / 1.245 GB, free: 60.55 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005655/2.159, allocations: 474.5 kB / 1.245 GB, free: 60.02 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/2.159, allocations: 8 kB / 1.245 GB, free: 60.01 MB / 0.5261 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008654/2.16, allocations: 0.5715 MB / 1.246 GB, free: 59.43 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/2.16, allocations: 8 kB / 1.246 GB, free: 59.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/2.16, allocations: 4 kB / 1.246 GB, free: 59.42 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001151/2.161, allocations: 228.9 kB / 1.246 GB, free: 59.19 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003336/2.162, allocations: 123.8 kB / 1.246 GB, free: 59.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003532/2.162, allocations: 0.5875 MB / 1.247 GB, free: 58.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005023/2.163, allocations: 67.42 kB / 1.247 GB, free: 58.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.308e-05/2.163, allocations: 55.98 kB / 1.247 GB, free: 58.34 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 () * 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.0002906/2.163, allocations: 193.6 kB / 1.247 GB, free: 58.14 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/2.163, allocations: 63.25 kB / 1.247 GB, free: 58.07 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001648/2.165, allocations: 1.067 MB / 1.248 GB, free: 56.97 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/2.165, allocations: 4 kB / 1.248 GB, free: 56.96 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/2.165, allocations: 0 / 1.248 GB, free: 56.96 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/2.165, allocations: 3.938 kB / 1.248 GB, free: 56.96 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/2.166, allocations: 0.9526 MB / 1.249 GB, free: 55.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/2.166, allocations: 7.938 kB / 1.249 GB, free: 55.92 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/2.166, allocations: 56.09 kB / 1.249 GB, free: 55.87 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001/2.167, allocations: 224.6 kB / 1.249 GB, free: 55.64 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/2.167, allocations: 8 kB / 1.249 GB, free: 55.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002783/2.168, allocations: 0.5836 MB / 1.25 GB, free: 55.03 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/2.168, allocations: 4.031 kB / 1.25 GB, free: 55.02 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005437/2.168, allocations: 489.2 kB / 1.25 GB, free: 54.51 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002006/2.168, allocations: 160.3 kB / 1.251 GB, free: 54.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/2.168, allocations: 15.92 kB / 1.251 GB, free: 54.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003737/2.169, allocations: 31.89 kB / 1.251 GB, free: 54.29 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.699e-05/2.169, allocations: 27.91 kB / 1.251 GB, free: 54.26 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.2e-05/2.169, allocations: 19.98 kB / 1.251 GB, free: 54.24 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004311/2.169, allocations: 406.8 kB / 1.251 GB, free: 53.84 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/2.169, allocations: 0 / 1.251 GB, free: 53.84 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001339/2.171, allocations: 395.5 kB / 1.252 GB, free: 53.46 MB / 0.5261 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.002096/2.173, allocations: 1.114 MB / 1.253 GB, free: 52.34 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007735/2.174, allocations: 368.6 kB / 1.253 GB, free: 51.98 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/2.174, allocations: 3.938 kB / 1.253 GB, free: 51.98 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002285/2.174, allocations: 147.1 kB / 1.253 GB, free: 51.84 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00161/2.175, allocations: 332.6 kB / 1.253 GB, free: 51.52 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/2.177, allocations: 1.104 MB / 1.254 GB, free: 50.37 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/2.177, allocations: 0.8673 MB / 1.255 GB, free: 49.47 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001197/2.178, allocations: 0.5555 MB / 1.256 GB, free: 48.92 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002334/2.179, allocations: 91.38 kB / 1.256 GB, free: 48.83 MB / 0.5261 GB Notification: Performance of SimCode: time 2.9e-07/2.179, allocations: 4 kB / 1.256 GB, free: 48.82 MB / 0.5261 GB Notification: Performance of Templates: time 0.03243/2.211, allocations: 25.82 MB / 1.281 GB, free: 23.12 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1)