Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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.Bends.EdgedBend,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.Bends.EdgedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,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.Bends.EdgedBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 179 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.408/1.408, allocations: 223.3 MB / 242.1 MB, free: 11.73 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.0008618/0.0008618, allocations: 94.81 kB / 293.3 MB, free: 10.78 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.3825/0.3825, allocations: 44.15 MB / 388.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004448/0.0004445, allocations: 16 kB / 461.1 MB, free: 1.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4448/0.4453, allocations: 61.88 MB / 0.5107 GB, free: 37.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.032/1.477, allocations: 498.4 MB / 0.9974 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/1.477, allocations: 105 kB / 0.9975 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.7749/2.252, allocations: 220 MB / 1.212 GB, free: 94.28 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.216e-06/2.252, allocations: 0 / 1.212 GB, free: 94.28 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.945e-05/2.252, allocations: 19.98 kB / 1.212 GB, free: 94.26 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.002862/2.255, allocations: 0.9709 MB / 1.213 GB, free: 93.24 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/2.255, allocations: 8.031 kB / 1.213 GB, free: 93.23 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/2.256, allocations: 136.1 kB / 1.214 GB, free: 93.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000979/2.257, allocations: 0.491 MB / 1.214 GB, free: 92.57 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.265e-05/2.257, allocations: 29 kB / 1.214 GB, free: 92.54 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/2.257, allocations: 40 kB / 1.214 GB, free: 92.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/2.258, allocations: 0.6126 MB / 1.215 GB, free: 91.85 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/2.258, allocations: 0 / 1.215 GB, free: 91.85 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.767e-05/2.259, allocations: 16 kB / 1.215 GB, free: 91.83 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/2.259, allocations: 12 kB / 1.215 GB, free: 91.82 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008793/2.259, allocations: 495.6 kB / 1.215 GB, free: 91.34 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.002683/2.262, allocations: 2.631 MB / 1.218 GB, free: 88.48 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006174/2.263, allocations: 323.6 kB / 1.218 GB, free: 88.16 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002534/2.263, allocations: 165.3 kB / 1.218 GB, free: 87.99 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003481/2.263, allocations: 437.8 kB / 1.219 GB, free: 87.47 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/2.263, allocations: 38.78 kB / 1.219 GB, free: 87.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=33): time 2.274e-06/2.263, allocations: 0 / 1.219 GB, free: 87.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.001584/2.265, allocations: 0.7073 MB / 1.219 GB, free: 86.69 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.042e-05/2.265, allocations: 136.5 kB / 1.219 GB, free: 86.53 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005046/2.266, allocations: 477.9 kB / 1.22 GB, free: 86.05 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.797e-05/2.266, allocations: 29.7 kB / 1.22 GB, free: 86.02 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/2.266, allocations: 263.8 kB / 1.22 GB, free: 85.75 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.677e-05/2.266, allocations: 126.2 kB / 1.22 GB, free: 85.63 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.73e-05/2.266, allocations: 12 kB / 1.22 GB, free: 85.62 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.416e-05/2.266, allocations: 358.8 kB / 1.221 GB, free: 85.26 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003131/2.266, allocations: 180.9 kB / 1.221 GB, free: 85.08 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003837/2.267, allocations: 307.7 kB / 1.221 GB, free: 84.73 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006071/2.267, allocations: 461.4 kB / 1.222 GB, free: 84.23 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/2.267, allocations: 0 / 1.222 GB, free: 84.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009239/2.268, allocations: 0.603 MB / 1.222 GB, free: 83.62 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/2.268, allocations: 7.984 kB / 1.222 GB, free: 83.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/2.268, allocations: 4 kB / 1.222 GB, free: 83.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/2.27, allocations: 236.5 kB / 1.222 GB, free: 83.37 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000409/2.27, allocations: 135.9 kB / 1.223 GB, free: 83.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004794/2.275, allocations: 17.48 MB / 1.24 GB, free: 64.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005899/2.275, allocations: 75.56 kB / 1.24 GB, free: 64.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.411e-05/2.275, allocations: 47.98 kB / 1.24 GB, free: 64.46 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 (52): * 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): 6 * 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: 6 {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.000325/2.276, allocations: 178 kB / 1.24 GB, free: 64.27 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.105e-05/2.276, allocations: 59.34 kB / 1.24 GB, free: 64.21 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001666/2.278, allocations: 1.044 MB / 1.241 GB, free: 63.15 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/2.278, allocations: 4 kB / 1.241 GB, free: 63.15 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/2.278, allocations: 3.938 kB / 1.241 GB, free: 63.14 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/2.278, allocations: 0 / 1.241 GB, free: 63.14 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/2.279, allocations: 0.9439 MB / 1.242 GB, free: 62.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/2.279, allocations: 0 / 1.242 GB, free: 62.12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/2.279, allocations: 56.06 kB / 1.242 GB, free: 62.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001049/2.28, allocations: 228.5 kB / 1.242 GB, free: 61.84 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/2.28, allocations: 12 kB / 1.242 GB, free: 61.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000268/2.28, allocations: 0.5875 MB / 1.243 GB, free: 61.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/2.28, allocations: 0 / 1.243 GB, free: 61.22 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005696/2.281, allocations: 483.9 kB / 1.243 GB, free: 60.71 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/2.281, allocations: 156.3 kB / 1.243 GB, free: 60.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.999e-05/2.281, allocations: 8 kB / 1.243 GB, free: 60.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003367/2.281, allocations: 43.91 kB / 1.243 GB, free: 60.49 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.988e-05/2.282, allocations: 23.91 kB / 1.243 GB, free: 60.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-05/2.282, allocations: 19.98 kB / 1.243 GB, free: 60.45 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003676/2.282, allocations: 366.8 kB / 1.244 GB, free: 60.09 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/2.282, allocations: 4 kB / 1.244 GB, free: 60.09 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00198/2.284, allocations: 431.5 kB / 1.244 GB, free: 59.66 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.001966/2.286, allocations: 1.147 MB / 1.245 GB, free: 58.52 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009067/2.287, allocations: 424.5 kB / 1.246 GB, free: 58.11 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/2.287, allocations: 4 kB / 1.246 GB, free: 58.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002523/2.287, allocations: 146.1 kB / 1.246 GB, free: 57.96 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00134/2.288, allocations: 279.8 kB / 1.246 GB, free: 57.69 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/2.29, allocations: 1.056 MB / 1.247 GB, free: 56.59 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/2.29, allocations: 0.8476 MB / 1.248 GB, free: 55.71 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001045/2.291, allocations: 0.5455 MB / 1.249 GB, free: 55.18 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002197/2.291, allocations: 79.41 kB / 1.249 GB, free: 55.1 MB / 0.5261 GB Notification: Performance of SimCode: time 3.81e-07/2.291, allocations: 0 / 1.249 GB, free: 55.1 MB / 0.5261 GB Notification: Performance of Templates: time 0.03315/2.325, allocations: 25.92 MB / 1.274 GB, free: 29.29 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1)