Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,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_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,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_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001743/0.001743, allocations: 194.4 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 226.5 MB / 244.1 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000838/0.0008383, allocations: 102.9 kB / 296.1 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4061/0.4061, allocations: 44.83 MB / 393 MB, free: 35.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004062/0.0004065, allocations: 15.94 kB / 465.9 MB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4032/0.4036, allocations: 62.95 MB / 0.5165 GB, free: 37.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.16/1.564, allocations: 0.4884 GB / 1.005 GB, free: 117.3 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/1.564, allocations: 103.9 kB / 1.005 GB, free: 117.2 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.7843/2.348, allocations: 225.3 MB / 1.225 GB, free: 113.6 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.404e-06/2.348, allocations: 3.938 kB / 1.225 GB, free: 113.6 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.694e-05/2.349, allocations: 20.16 kB / 1.225 GB, free: 113.5 MB / 0.5417 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.003263/2.352, allocations: 0.9791 MB / 1.226 GB, free: 112.5 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/2.352, allocations: 11.97 kB / 1.226 GB, free: 112.5 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/2.353, allocations: 136.1 kB / 1.226 GB, free: 112.4 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/2.354, allocations: 0.5104 MB / 1.227 GB, free: 111.8 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.83e-05/2.354, allocations: 29 kB / 1.227 GB, free: 111.8 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/2.354, allocations: 36 kB / 1.227 GB, free: 111.8 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/2.356, allocations: 0.6126 MB / 1.227 GB, free: 111.1 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/2.356, allocations: 0 / 1.227 GB, free: 111.1 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.395e-05/2.356, allocations: 16 kB / 1.227 GB, free: 111.1 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/2.356, allocations: 15.98 kB / 1.227 GB, free: 111.1 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009416/2.357, allocations: 491.6 kB / 1.228 GB, free: 110.6 MB / 0.5417 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.002967/2.36, allocations: 2.64 MB / 1.23 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006524/2.36, allocations: 332.7 kB / 1.231 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002639/2.361, allocations: 165.4 kB / 1.231 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000378/2.361, allocations: 433.8 kB / 1.231 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/2.361, allocations: 38.84 kB / 1.231 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=33): time 2.765e-06/2.361, allocations: 0 / 1.231 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=33): time 0.001626/2.363, allocations: 0.7228 MB / 1.232 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/2.363, allocations: 136.5 kB / 1.232 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000512/2.363, allocations: 0.4901 MB / 1.233 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.392e-05/2.363, allocations: 29.7 kB / 1.233 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/2.363, allocations: 280.1 kB / 1.233 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.594e-05/2.364, allocations: 118.3 kB / 1.233 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/2.364, allocations: 12 kB / 1.233 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.093e-05/2.364, allocations: 358.8 kB / 1.233 GB, free: 104.4 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003084/2.364, allocations: 193 kB / 1.234 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003649/2.364, allocations: 328.9 kB / 1.234 GB, free: 103.9 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006733/2.365, allocations: 0.4908 MB / 1.234 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/2.365, allocations: 0 / 1.234 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001008/2.366, allocations: 0.6419 MB / 1.235 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/2.366, allocations: 7.594 kB / 1.235 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/2.366, allocations: 4 kB / 1.235 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001239/2.367, allocations: 240.9 kB / 1.235 GB, free: 102.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004534/2.368, allocations: 143.8 kB / 1.235 GB, free: 102.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006612/2.374, allocations: 23.12 MB / 1.258 GB, free: 77.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000782/2.375, allocations: 63.5 kB / 1.258 GB, free: 77.55 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/2.375, allocations: 56.05 kB / 1.258 GB, free: 77.5 MB / 0.5417 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 (54): * 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): 8 * 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: 8 {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.000426/2.376, allocations: 177.8 kB / 1.258 GB, free: 77.32 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000187/2.376, allocations: 55.34 kB / 1.258 GB, free: 77.26 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001917/2.378, allocations: 1.044 MB / 1.259 GB, free: 76.21 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/2.378, allocations: 7.984 kB / 1.259 GB, free: 76.2 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/2.378, allocations: 0 / 1.259 GB, free: 76.2 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/2.378, allocations: 3.938 kB / 1.259 GB, free: 76.2 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001494/2.38, allocations: 0.9402 MB / 1.26 GB, free: 75.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/2.38, allocations: 4 kB / 1.26 GB, free: 75.18 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/2.38, allocations: 59.84 kB / 1.26 GB, free: 75.12 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001139/2.381, allocations: 232.6 kB / 1.26 GB, free: 74.89 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.782e-05/2.381, allocations: 8 kB / 1.26 GB, free: 74.88 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003217/2.381, allocations: 0.5954 MB / 1.261 GB, free: 74.26 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/2.381, allocations: 3.938 kB / 1.261 GB, free: 74.25 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006952/2.382, allocations: 488.4 kB / 1.262 GB, free: 73.74 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002722/2.382, allocations: 160.3 kB / 1.262 GB, free: 73.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/2.382, allocations: 4 kB / 1.262 GB, free: 73.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004169/2.383, allocations: 43.91 kB / 1.262 GB, free: 73.52 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.171e-05/2.383, allocations: 31.84 kB / 1.262 GB, free: 73.49 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-05/2.383, allocations: 15.98 kB / 1.262 GB, free: 73.47 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004902/2.383, allocations: 386.8 kB / 1.262 GB, free: 73.1 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1e-07/2.383, allocations: 0 / 1.262 GB, free: 73.1 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002454/2.386, allocations: 459.5 kB / 1.263 GB, free: 72.65 MB / 0.5417 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.003212/2.389, allocations: 1.161 MB / 1.264 GB, free: 71.48 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001244/2.39, allocations: 451.8 kB / 1.264 GB, free: 71.04 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.814e-06/2.39, allocations: 4 kB / 1.264 GB, free: 71.04 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000321/2.391, allocations: 148 kB / 1.264 GB, free: 70.89 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00168/2.392, allocations: 286.8 kB / 1.265 GB, free: 70.62 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/2.394, allocations: 1.115 MB / 1.266 GB, free: 69.46 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/2.395, allocations: 0.8515 MB / 1.267 GB, free: 68.58 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004188/2.395, allocations: 111.4 kB / 1.267 GB, free: 68.47 MB / 0.5417 GB Notification: Performance of SimCode: time 3.61e-07/2.395, allocations: 0 / 1.267 GB, free: 68.47 MB / 0.5417 GB Notification: Performance of Templates: time 0.03404/2.429, allocations: 27.19 MB / 1.293 GB, free: 41.31 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1)