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.001355/0.001355, allocations: 177 kB / 17.06 MB, free: 5.094 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.278/1.278, allocations: 223.2 MB / 241 MB, free: 11.88 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.0009005/0.0009008, allocations: 92.39 kB / 292.2 MB, free: 10.92 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.3452/0.3452, allocations: 44.22 MB / 387.5 MB, free: 38.81 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000306/0.000306, allocations: 12 kB / 459.9 MB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3357, allocations: 61.9 MB / 0.5096 GB, free: 38.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.055/1.391, allocations: 0.4947 GB / 1.004 GB, free: 94.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/1.391, allocations: 104.9 kB / 1.004 GB, free: 94.81 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.7837/2.175, allocations: 237.2 MB / 1.236 GB, free: 69.32 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.573e-06/2.175, allocations: 4 kB / 1.236 GB, free: 69.31 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.546e-05/2.175, allocations: 19.98 kB / 1.236 GB, free: 69.29 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.002923/2.178, allocations: 1.131 MB / 1.237 GB, free: 68.11 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/2.178, allocations: 12.02 kB / 1.237 GB, free: 68.1 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/2.179, allocations: 163 kB / 1.237 GB, free: 67.94 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008042/2.18, allocations: 0.4928 MB / 1.238 GB, free: 67.41 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/2.18, allocations: 29 kB / 1.238 GB, free: 67.38 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.832e-05/2.18, allocations: 44 kB / 1.238 GB, free: 67.34 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009814/2.181, allocations: 0.6542 MB / 1.238 GB, free: 66.63 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/2.181, allocations: 0 / 1.238 GB, free: 66.63 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.391e-05/2.181, allocations: 20 kB / 1.238 GB, free: 66.61 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/2.181, allocations: 19.95 kB / 1.238 GB, free: 66.59 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007481/2.182, allocations: 0.5034 MB / 1.239 GB, free: 66.09 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.002463/2.184, allocations: 2.625 MB / 1.242 GB, free: 63.27 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005679/2.185, allocations: 321.3 kB / 1.242 GB, free: 62.95 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003343/2.185, allocations: 441.5 kB / 1.242 GB, free: 62.43 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/2.185, allocations: 38.56 kB / 1.242 GB, free: 62.38 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=35): time 1.633e-06/2.185, allocations: 0 / 1.242 GB, free: 62.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35): time 0.001417/2.187, allocations: 0.7097 MB / 1.243 GB, free: 61.64 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/2.187, allocations: 162.2 kB / 1.243 GB, free: 61.45 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004526/2.187, allocations: 466 kB / 1.244 GB, free: 60.99 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.247e-05/2.187, allocations: 33.7 kB / 1.244 GB, free: 60.95 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/2.188, allocations: 299.7 kB / 1.244 GB, free: 60.65 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.5e-05/2.188, allocations: 122.2 kB / 1.244 GB, free: 60.53 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.747e-05/2.188, allocations: 12 kB / 1.244 GB, free: 60.52 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000107/2.188, allocations: 362.8 kB / 1.244 GB, free: 60.16 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/2.188, allocations: 141 kB / 1.244 GB, free: 60.02 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003/2.188, allocations: 319.3 kB / 1.245 GB, free: 59.63 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/2.189, allocations: 193 kB / 1.245 GB, free: 59.44 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/2.189, allocations: 4 kB / 1.245 GB, free: 59.44 MB / 0.5261 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000816/2.189, allocations: 0.5711 MB / 1.246 GB, free: 58.86 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/2.189, allocations: 8 kB / 1.246 GB, free: 58.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/2.19, allocations: 12.55 kB / 1.246 GB, free: 58.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00123/2.191, allocations: 240.6 kB / 1.246 GB, free: 58.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003462/2.191, allocations: 119.8 kB / 1.246 GB, free: 58.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003533/2.191, allocations: 0.5836 MB / 1.246 GB, free: 57.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004206/2.192, allocations: 75.3 kB / 1.247 GB, free: 57.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.786e-05/2.192, allocations: 51.98 kB / 1.247 GB, free: 57.75 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.0002414/2.192, allocations: 194.3 kB / 1.247 GB, free: 57.55 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.374e-05/2.192, allocations: 59.25 kB / 1.247 GB, free: 57.49 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001651/2.194, allocations: 1.063 MB / 1.248 GB, free: 56.39 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/2.194, allocations: 3.984 kB / 1.248 GB, free: 56.38 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/2.194, allocations: 7.938 kB / 1.248 GB, free: 56.38 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/2.194, allocations: 3.953 kB / 1.248 GB, free: 56.37 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/2.195, allocations: 0.9526 MB / 1.249 GB, free: 55.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/2.195, allocations: 0 / 1.249 GB, free: 55.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/2.195, allocations: 55.91 kB / 1.249 GB, free: 55.29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001103/2.196, allocations: 228.7 kB / 1.249 GB, free: 55.06 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/2.196, allocations: 15.98 kB / 1.249 GB, free: 55.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003118/2.197, allocations: 0.5758 MB / 1.25 GB, free: 54.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/2.197, allocations: 64 / 1.25 GB, free: 54.44 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005731/2.197, allocations: 0.5542 MB / 1.25 GB, free: 53.81 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/2.198, allocations: 160.2 kB / 1.25 GB, free: 53.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.607e-05/2.198, allocations: 8 kB / 1.25 GB, free: 53.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003672/2.198, allocations: 35.88 kB / 1.25 GB, free: 53.59 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.498e-05/2.198, allocations: 23.97 kB / 1.25 GB, free: 53.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.073e-05/2.198, allocations: 15.98 kB / 1.25 GB, free: 53.55 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004454/2.199, allocations: 410.8 kB / 1.251 GB, free: 53.16 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.31e-07/2.199, allocations: 4 kB / 1.251 GB, free: 53.15 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001477/2.2, allocations: 391.6 kB / 1.251 GB, free: 52.77 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.001861/2.202, allocations: 1.117 MB / 1.252 GB, free: 51.66 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006788/2.203, allocations: 364.7 kB / 1.253 GB, free: 51.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/2.203, allocations: 3.938 kB / 1.253 GB, free: 51.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002121/2.203, allocations: 139.1 kB / 1.253 GB, free: 51.16 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/2.204, allocations: 337.8 kB / 1.253 GB, free: 50.84 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/2.206, allocations: 1.104 MB / 1.254 GB, free: 49.68 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/2.206, allocations: 0.8751 MB / 1.255 GB, free: 48.78 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001109/2.207, allocations: 0.5633 MB / 1.256 GB, free: 48.22 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002363/2.207, allocations: 95.33 kB / 1.256 GB, free: 48.12 MB / 0.5261 GB Notification: Performance of SimCode: time 4.61e-07/2.207, allocations: 0 / 1.256 GB, free: 48.12 MB / 0.5261 GB Notification: Performance of Templates: time 0.03324/2.24, allocations: 25.35 MB / 1.28 GB, free: 22.89 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)