Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001349, allocations: 177.3 kB / 17.06 MB, free: 5.098 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.432/1.432, allocations: 223.2 MB / 241 MB, free: 11.87 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.0008759/0.0008757, allocations: 91.98 kB / 292.2 MB, free: 10.91 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.3495/0.3495, allocations: 44.23 MB / 387.5 MB, free: 38.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003479/0.000348, allocations: 8 kB / 459.9 MB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4646/0.4649, allocations: 61.89 MB / 0.5096 GB, free: 38.08 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.136/1.601, allocations: 493.5 MB / 0.9915 GB, free: 108 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003254/1.601, allocations: 104.8 kB / 0.9916 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8144/2.416, allocations: 213.3 MB / 1.2 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.964e-06/2.416, allocations: 0 / 1.2 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.244e-05/2.416, allocations: 16 kB / 1.2 GB, free: 106 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002685/2.419, allocations: 0.948 MB / 1.201 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/2.419, allocations: 8.031 kB / 1.201 GB, free: 105 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/2.42, allocations: 147.1 kB / 1.201 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/2.421, allocations: 488.7 kB / 1.201 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.329e-05/2.421, allocations: 29 kB / 1.202 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.294e-05/2.421, allocations: 36 kB / 1.202 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/2.422, allocations: 0.6049 MB / 1.202 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/2.422, allocations: 3.953 kB / 1.202 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.359e-05/2.422, allocations: 20 kB / 1.202 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/2.422, allocations: 12 kB / 1.202 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009151/2.423, allocations: 0.4956 MB / 1.203 GB, free: 103.1 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.002811/2.426, allocations: 2.647 MB / 1.205 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006436/2.427, allocations: 335.7 kB / 1.206 GB, free: 99.93 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003432/2.427, allocations: 441.8 kB / 1.206 GB, free: 99.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/2.427, allocations: 34.84 kB / 1.206 GB, free: 99.36 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=33): time 2.725e-06/2.427, allocations: 0 / 1.206 GB, free: 99.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.001601/2.429, allocations: 0.7162 MB / 1.207 GB, free: 98.62 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/2.429, allocations: 140.4 kB / 1.207 GB, free: 98.45 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004796/2.429, allocations: 445.1 kB / 1.207 GB, free: 98.01 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.037e-05/2.429, allocations: 33.7 kB / 1.207 GB, free: 97.97 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/2.429, allocations: 280.1 kB / 1.208 GB, free: 97.69 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.828e-05/2.429, allocations: 122.2 kB / 1.208 GB, free: 97.57 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.042e-05/2.429, allocations: 8 kB / 1.208 GB, free: 97.56 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.995e-05/2.43, allocations: 358.8 kB / 1.208 GB, free: 97.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003227/2.43, allocations: 189 kB / 1.208 GB, free: 97.02 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003682/2.43, allocations: 321.3 kB / 1.209 GB, free: 96.64 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003728/2.431, allocations: 221.8 kB / 1.209 GB, free: 96.43 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/2.431, allocations: 0 / 1.209 GB, free: 96.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00102/2.432, allocations: 0.6427 MB / 1.209 GB, free: 95.77 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/2.432, allocations: 8 kB / 1.209 GB, free: 95.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/2.432, allocations: 4 kB / 1.209 GB, free: 95.76 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001236/2.433, allocations: 237 kB / 1.21 GB, free: 95.53 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004861/2.434, allocations: 147.8 kB / 1.21 GB, free: 95.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008239/2.442, allocations: 28.73 MB / 1.238 GB, free: 64.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007592/2.443, allocations: 71.62 kB / 1.238 GB, free: 64.63 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/2.443, allocations: 51.98 kB / 1.238 GB, free: 64.58 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (56): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 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.0004002/2.443, allocations: 181.6 kB / 1.238 GB, free: 64.39 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/2.443, allocations: 59.34 kB / 1.238 GB, free: 64.34 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001877/2.445, allocations: 1.049 MB / 1.239 GB, free: 63.28 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/2.445, allocations: 4 kB / 1.239 GB, free: 63.27 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/2.445, allocations: 7.938 kB / 1.239 GB, free: 63.27 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/2.445, allocations: 3.984 kB / 1.239 GB, free: 63.26 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001474/2.447, allocations: 0.9633 MB / 1.24 GB, free: 62.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/2.447, allocations: 0 / 1.24 GB, free: 62.22 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001875/2.447, allocations: 47.97 kB / 1.24 GB, free: 62.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001205/2.448, allocations: 232.8 kB / 1.24 GB, free: 61.95 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.14e-05/2.448, allocations: 11.98 kB / 1.24 GB, free: 61.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003168/2.448, allocations: 0.5914 MB / 1.241 GB, free: 61.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/2.448, allocations: 8.094 kB / 1.241 GB, free: 61.31 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006667/2.449, allocations: 0.5397 MB / 1.242 GB, free: 60.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002476/2.449, allocations: 152.3 kB / 1.242 GB, free: 60.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/2.45, allocations: 12 kB / 1.242 GB, free: 60.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000409/2.45, allocations: 39.91 kB / 1.242 GB, free: 60.48 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.129e-05/2.45, allocations: 23.92 kB / 1.242 GB, free: 60.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.329e-05/2.45, allocations: 19.98 kB / 1.242 GB, free: 60.44 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004447/2.451, allocations: 386.8 kB / 1.242 GB, free: 60.07 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.61e-07/2.451, allocations: 0 / 1.242 GB, free: 60.07 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002018/2.453, allocations: 371.6 kB / 1.242 GB, free: 59.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (25): * Single equations (assignments): 24 * 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.002227/2.455, allocations: 1.089 MB / 1.244 GB, free: 58.61 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00092/2.456, allocations: 411.5 kB / 1.244 GB, free: 58.21 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.922e-06/2.456, allocations: 4 kB / 1.244 GB, free: 58.21 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000282/2.456, allocations: 155.4 kB / 1.244 GB, free: 58.06 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/2.457, allocations: 265.7 kB / 1.244 GB, free: 57.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/2.459, allocations: 1.09 MB / 1.245 GB, free: 56.68 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/2.459, allocations: 0.871 MB / 1.246 GB, free: 55.78 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00113/2.46, allocations: 0.5477 MB / 1.247 GB, free: 55.23 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002507/2.461, allocations: 83.38 kB / 1.247 GB, free: 55.15 MB / 0.5261 GB Notification: Performance of SimCode: time 9.22e-07/2.461, allocations: 0 / 1.247 GB, free: 55.15 MB / 0.5261 GB Notification: Performance of Templates: time 0.03328/2.494, allocations: 24.35 MB / 1.271 GB, free: 30.91 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1)