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.002132/0.002131, allocations: 179.8 kB / 18.09 MB, free: 3.75 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.427/1.427, allocations: 223.3 MB / 242.1 MB, free: 11.72 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.0007876/0.0007875, allocations: 103.5 kB / 293.3 MB, free: 10.8 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.365/0.365, allocations: 44.14 MB / 388.5 MB, free: 38.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004058/0.0004059, allocations: 16 kB / 461.1 MB, free: 1.324 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.3835, allocations: 61.88 MB / 0.5107 GB, free: 38.33 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.079/1.463, allocations: 493.6 MB / 0.9928 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/1.463, allocations: 99.92 kB / 0.9929 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.6643/2.127, allocations: 213.1 MB / 1.201 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.505e-06/2.128, allocations: 224 / 1.201 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.43e-05/2.128, allocations: 23.92 kB / 1.201 GB, free: 105.9 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.002467/2.13, allocations: 0.9401 MB / 1.202 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/2.13, allocations: 12.03 kB / 1.202 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/2.131, allocations: 140.1 kB / 1.202 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009342/2.132, allocations: 0.5027 MB / 1.203 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.068e-05/2.132, allocations: 33 kB / 1.203 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.363e-05/2.132, allocations: 40 kB / 1.203 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/2.133, allocations: 0.6087 MB / 1.203 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/2.133, allocations: 4 kB / 1.203 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-05/2.133, allocations: 16 kB / 1.203 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/2.134, allocations: 12 kB / 1.203 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008551/2.134, allocations: 0.4956 MB / 1.204 GB, free: 102.9 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.002614/2.137, allocations: 2.651 MB / 1.206 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006131/2.138, allocations: 329.6 kB / 1.207 GB, free: 99.75 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002492/2.138, allocations: 173.3 kB / 1.207 GB, free: 99.57 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003111/2.138, allocations: 433.8 kB / 1.207 GB, free: 99.06 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/2.138, allocations: 38.84 kB / 1.207 GB, free: 99.01 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=33): time 3.596e-06/2.138, allocations: 4 kB / 1.207 GB, free: 99.01 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.001529/2.14, allocations: 0.7189 MB / 1.208 GB, free: 98.26 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/2.14, allocations: 136.5 kB / 1.208 GB, free: 98.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005143/2.14, allocations: 0.494 MB / 1.209 GB, free: 97.59 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.91e-05/2.14, allocations: 33.7 kB / 1.209 GB, free: 97.55 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/2.141, allocations: 272.1 kB / 1.209 GB, free: 97.28 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.377e-05/2.141, allocations: 126.2 kB / 1.209 GB, free: 97.16 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.638e-05/2.141, allocations: 12 kB / 1.209 GB, free: 97.14 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.52e-05/2.141, allocations: 358.8 kB / 1.209 GB, free: 96.79 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003246/2.141, allocations: 185 kB / 1.21 GB, free: 96.61 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003885/2.142, allocations: 325.3 kB / 1.21 GB, free: 96.23 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006528/2.142, allocations: 486.5 kB / 1.21 GB, free: 95.71 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/2.142, allocations: 3.938 kB / 1.21 GB, free: 95.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009861/2.143, allocations: 0.6385 MB / 1.211 GB, free: 95.05 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/2.143, allocations: 4 kB / 1.211 GB, free: 95.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/2.143, allocations: 7.984 kB / 1.211 GB, free: 95.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001159/2.144, allocations: 241 kB / 1.211 GB, free: 94.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004497/2.145, allocations: 147.9 kB / 1.211 GB, free: 94.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008081/2.153, allocations: 28.75 MB / 1.239 GB, free: 63.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008939/2.154, allocations: 71.66 kB / 1.239 GB, free: 63.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001836/2.154, allocations: 51.98 kB / 1.24 GB, free: 63.84 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.0004966/2.155, allocations: 181.7 kB / 1.24 GB, free: 63.65 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002174/2.155, allocations: 55.34 kB / 1.24 GB, free: 63.59 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00204/2.157, allocations: 1.043 MB / 1.241 GB, free: 62.53 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/2.157, allocations: 7.938 kB / 1.241 GB, free: 62.52 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/2.157, allocations: 4 kB / 1.241 GB, free: 62.52 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/2.157, allocations: 4 kB / 1.241 GB, free: 62.52 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001716/2.159, allocations: 0.9633 MB / 1.242 GB, free: 61.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/2.159, allocations: 4 kB / 1.242 GB, free: 61.47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/2.159, allocations: 47.91 kB / 1.242 GB, free: 61.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001157/2.16, allocations: 240.7 kB / 1.242 GB, free: 61.19 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.198e-05/2.16, allocations: 8 kB / 1.242 GB, free: 61.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003646/2.16, allocations: 0.5914 MB / 1.243 GB, free: 60.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/2.16, allocations: 3.938 kB / 1.243 GB, free: 60.56 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007299/2.161, allocations: 488.3 kB / 1.243 GB, free: 60.05 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002515/2.161, allocations: 160.4 kB / 1.243 GB, free: 59.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/2.162, allocations: 11.92 kB / 1.243 GB, free: 59.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003892/2.162, allocations: 43.95 kB / 1.243 GB, free: 59.82 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.407e-05/2.162, allocations: 19.92 kB / 1.243 GB, free: 59.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.384e-05/2.162, allocations: 15.98 kB / 1.243 GB, free: 59.78 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004378/2.163, allocations: 386.8 kB / 1.244 GB, free: 59.41 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.31e-07/2.163, allocations: 4 kB / 1.244 GB, free: 59.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001895/2.164, allocations: 375.5 kB / 1.244 GB, free: 59.04 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.002324/2.167, allocations: 1.094 MB / 1.245 GB, free: 57.95 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001065/2.168, allocations: 468.5 kB / 1.246 GB, free: 57.49 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/2.168, allocations: 0 / 1.246 GB, free: 57.49 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002709/2.168, allocations: 146.2 kB / 1.246 GB, free: 57.35 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001441/2.17, allocations: 270.2 kB / 1.246 GB, free: 57.09 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/2.171, allocations: 1.104 MB / 1.247 GB, free: 55.95 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/2.171, allocations: 0.8593 MB / 1.248 GB, free: 55.05 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001102/2.173, allocations: 0.5444 MB / 1.248 GB, free: 54.52 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002237/2.173, allocations: 79.41 kB / 1.248 GB, free: 54.44 MB / 0.5261 GB Notification: Performance of SimCode: time 6.51e-07/2.173, allocations: 0 / 1.248 GB, free: 54.44 MB / 0.5261 GB Notification: Performance of Templates: time 0.03211/2.205, allocations: 24.77 MB / 1.273 GB, free: 29.78 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)