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.001077/0.001077, allocations: 179.6 kB / 14.15 MB, free: 1.176 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.243/1.243, allocations: 221.3 MB / 236 MB, free: 2.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008949/0.000895, allocations: 80.06 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1824/0.1824, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.222e-05/4.225e-05, allocations: 7.984 kB / 451.9 MB, free: 9.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1272, allocations: 61.9 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.359/1.486, allocations: 0.4946 GB / 0.9963 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/1.487, allocations: 97.23 kB / 0.9964 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.7857/2.272, allocations: 236.6 MB / 1.227 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.22e-07/2.272, allocations: 0 / 1.227 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.599e-05/2.272, allocations: 19.91 kB / 1.227 GB, free: 105.1 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.002087/2.274, allocations: 1.048 MB / 1.228 GB, free: 104 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/2.275, allocations: 12.03 kB / 1.228 GB, free: 104 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/2.276, allocations: 155 kB / 1.229 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006907/2.276, allocations: 0.4934 MB / 1.229 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/2.276, allocations: 33 kB / 1.229 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.261e-05/2.276, allocations: 40 kB / 1.229 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008878/2.277, allocations: 0.6426 MB / 1.23 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/2.277, allocations: 0 / 1.23 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-05/2.277, allocations: 31.95 kB / 1.23 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/2.277, allocations: 8 kB / 1.23 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007231/2.278, allocations: 495.6 kB / 1.23 GB, free: 102 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.00243/2.281, allocations: 2.614 MB / 1.233 GB, free: 99.24 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005438/2.281, allocations: 306.7 kB / 1.233 GB, free: 98.93 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002091/2.281, allocations: 153 kB / 1.233 GB, free: 98.78 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003322/2.282, allocations: 436.3 kB / 1.234 GB, free: 98.26 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/2.282, allocations: 39.16 kB / 1.234 GB, free: 98.21 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=35): time 1.963e-06/2.282, allocations: 0 / 1.234 GB, free: 98.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35): time 0.0009651/2.283, allocations: 477.2 kB / 1.234 GB, free: 97.74 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.579e-05/2.283, allocations: 158.2 kB / 1.234 GB, free: 97.55 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005098/2.283, allocations: 464.8 kB / 1.235 GB, free: 97.08 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/2.283, allocations: 33.7 kB / 1.235 GB, free: 97.04 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/2.284, allocations: 314.3 kB / 1.235 GB, free: 96.74 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.887e-05/2.284, allocations: 121 kB / 1.235 GB, free: 96.62 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.587e-05/2.284, allocations: 8 kB / 1.235 GB, free: 96.61 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000114/2.284, allocations: 370.7 kB / 1.236 GB, free: 96.24 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002052/2.284, allocations: 133 kB / 1.236 GB, free: 96.11 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002983/2.284, allocations: 315 kB / 1.236 GB, free: 95.73 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002592/2.285, allocations: 175.9 kB / 1.236 GB, free: 95.56 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/2.285, allocations: 4 kB / 1.236 GB, free: 95.55 MB / 0.5261 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007692/2.285, allocations: 0.5523 MB / 1.237 GB, free: 94.99 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/2.285, allocations: 12.12 kB / 1.237 GB, free: 94.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/2.285, allocations: 4 kB / 1.237 GB, free: 94.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001201/2.287, allocations: 236.6 kB / 1.237 GB, free: 94.74 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003375/2.287, allocations: 119.8 kB / 1.237 GB, free: 94.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003488/2.287, allocations: 0.5875 MB / 1.238 GB, free: 94.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003832/2.288, allocations: 67.48 kB / 1.238 GB, free: 93.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.765e-05/2.288, allocations: 51.98 kB / 1.238 GB, free: 93.89 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.0001094/2.288, allocations: 136.8 kB / 1.238 GB, free: 93.75 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.742e-05/2.288, allocations: 59.34 kB / 1.238 GB, free: 93.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001501/2.29, allocations: 1.054 MB / 1.239 GB, free: 92.61 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/2.29, allocations: 7.953 kB / 1.239 GB, free: 92.61 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/2.29, allocations: 0 / 1.239 GB, free: 92.61 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/2.29, allocations: 3.984 kB / 1.239 GB, free: 92.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009747/2.291, allocations: 0.9408 MB / 1.24 GB, free: 91.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/2.291, allocations: 4 kB / 1.24 GB, free: 91.58 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/2.291, allocations: 47.92 kB / 1.24 GB, free: 91.53 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001104/2.292, allocations: 232.8 kB / 1.24 GB, free: 91.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/2.292, allocations: 8 kB / 1.24 GB, free: 91.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002589/2.292, allocations: 0.5797 MB / 1.241 GB, free: 90.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/2.292, allocations: 3.984 kB / 1.241 GB, free: 90.68 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004677/2.293, allocations: 0.5314 MB / 1.241 GB, free: 90.07 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/2.293, allocations: 156.3 kB / 1.241 GB, free: 89.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.343e-05/2.293, allocations: 11.98 kB / 1.241 GB, free: 89.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003699/2.293, allocations: 31.89 kB / 1.242 GB, free: 89.86 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/2.293, allocations: 27.86 kB / 1.242 GB, free: 89.83 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.822e-05/2.293, allocations: 19.98 kB / 1.242 GB, free: 89.81 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003647/2.294, allocations: 397.5 kB / 1.242 GB, free: 89.43 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/2.294, allocations: 0 / 1.242 GB, free: 89.43 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00111/2.295, allocations: 391.5 kB / 1.242 GB, free: 89.04 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 () * 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.001446/2.296, allocations: 1.136 MB / 1.243 GB, free: 87.91 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005676/2.297, allocations: 335.7 kB / 1.244 GB, free: 87.58 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/2.297, allocations: 1.25 kB / 1.244 GB, free: 87.58 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001946/2.297, allocations: 144.7 kB / 1.244 GB, free: 87.44 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/2.299, allocations: 324.7 kB / 1.244 GB, free: 87.12 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008167/2.299, allocations: 0.5987 MB / 1.245 GB, free: 86.48 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/2.3, allocations: 0.8751 MB / 1.246 GB, free: 85.58 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00105/2.301, allocations: 0.5671 MB / 1.246 GB, free: 85.01 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002197/2.301, allocations: 87.39 kB / 1.246 GB, free: 84.92 MB / 0.5261 GB Notification: Performance of SimCode: time 3.41e-07/2.301, allocations: 0 / 1.246 GB, free: 84.92 MB / 0.5261 GB Notification: Performance of Templates: time 0.032/2.333, allocations: 28.1 MB / 1.274 GB, free: 56.86 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)