Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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.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_trunk_cpp_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_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001068/0.001067, allocations: 195 kB / 16.79 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.421/1.421, allocations: 226.5 MB / 244.1 MB, free: 8.086 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000889/0.0008888, allocations: 106.8 kB / 296.1 MB, free: 6.859 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.431/0.431, allocations: 44.81 MB / 392.9 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003065/0.0003066, allocations: 8 kB / 465.9 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4422/0.4425, allocations: 62.96 MB / 0.5165 GB, free: 37.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.157/1.6, allocations: 499.3 MB / 1.004 GB, free: 118.1 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/1.6, allocations: 99.17 kB / 1.004 GB, free: 118 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.7448/2.345, allocations: 220.1 MB / 1.219 GB, free: 119.2 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.334e-06/2.345, allocations: 0 / 1.219 GB, free: 119.2 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.456e-05/2.345, allocations: 11.62 kB / 1.219 GB, free: 119.2 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.002177/2.347, allocations: 0.9892 MB / 1.22 GB, free: 118.4 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/2.347, allocations: 11.25 kB / 1.22 GB, free: 118.4 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009371/2.348, allocations: 134.4 kB / 1.22 GB, free: 118.3 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007015/2.349, allocations: 0.4909 MB / 1.221 GB, free: 117.8 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/2.349, allocations: 37 kB / 1.221 GB, free: 117.7 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.876e-05/2.349, allocations: 36 kB / 1.221 GB, free: 117.7 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000937/2.35, allocations: 0.6126 MB / 1.221 GB, free: 117.1 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/2.35, allocations: 3.938 kB / 1.221 GB, free: 117 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.89e-05/2.35, allocations: 20 kB / 1.221 GB, free: 117 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/2.35, allocations: 12 kB / 1.221 GB, free: 117 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008054/2.351, allocations: 495.6 kB / 1.222 GB, free: 116.5 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.002314/2.353, allocations: 2.624 MB / 1.224 GB, free: 113.7 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006187/2.354, allocations: 325.6 kB / 1.225 GB, free: 113.4 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002514/2.354, allocations: 165.4 kB / 1.225 GB, free: 113.2 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003176/2.354, allocations: 437.7 kB / 1.225 GB, free: 112.7 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/2.354, allocations: 38.84 kB / 1.225 GB, free: 112.6 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=33): time 2.475e-06/2.354, allocations: 0 / 1.225 GB, free: 112.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=33): time 0.001493/2.356, allocations: 0.7112 MB / 1.226 GB, free: 111.9 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/2.356, allocations: 136.5 kB / 1.226 GB, free: 111.7 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004419/2.356, allocations: 477.9 kB / 1.227 GB, free: 111.2 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.08e-05/2.356, allocations: 33.7 kB / 1.227 GB, free: 111.2 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/2.356, allocations: 267.8 kB / 1.227 GB, free: 110.9 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.322e-05/2.357, allocations: 126.2 kB / 1.227 GB, free: 110.8 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/2.357, allocations: 8 kB / 1.227 GB, free: 110.8 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.72e-05/2.357, allocations: 362.8 kB / 1.227 GB, free: 110.4 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002904/2.357, allocations: 177 kB / 1.228 GB, free: 110.3 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003644/2.357, allocations: 308.9 kB / 1.228 GB, free: 109.9 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006204/2.358, allocations: 457.2 kB / 1.228 GB, free: 109.4 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/2.358, allocations: 8 kB / 1.228 GB, free: 109.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009483/2.359, allocations: 0.5912 MB / 1.229 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/2.359, allocations: 11.44 kB / 1.229 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/2.359, allocations: 4 kB / 1.229 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001213/2.36, allocations: 236.8 kB / 1.229 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004238/2.361, allocations: 131.8 kB / 1.229 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004338/2.365, allocations: 17.48 MB / 1.246 GB, free: 89.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006666/2.366, allocations: 71.44 kB / 1.246 GB, free: 89.71 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.673e-05/2.366, allocations: 47.98 kB / 1.246 GB, free: 89.66 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 (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.0003123/2.366, allocations: 186.1 kB / 1.247 GB, free: 89.47 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.101e-05/2.366, allocations: 51.34 kB / 1.247 GB, free: 89.42 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001637/2.368, allocations: 1.036 MB / 1.248 GB, free: 88.37 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/2.368, allocations: 4 kB / 1.248 GB, free: 88.37 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/2.368, allocations: 7.938 kB / 1.248 GB, free: 88.36 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/2.368, allocations: 3.984 kB / 1.248 GB, free: 88.36 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/2.369, allocations: 0.9322 MB / 1.249 GB, free: 87.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-06/2.369, allocations: 4.156 kB / 1.249 GB, free: 87.34 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/2.369, allocations: 55.91 kB / 1.249 GB, free: 87.29 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001092/2.37, allocations: 228.6 kB / 1.249 GB, free: 87.06 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/2.37, allocations: 11.98 kB / 1.249 GB, free: 87.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002911/2.371, allocations: 0.5798 MB / 1.249 GB, free: 86.45 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/2.371, allocations: 7.875 kB / 1.249 GB, free: 86.44 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006117/2.371, allocations: 491.9 kB / 1.25 GB, free: 85.92 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/2.372, allocations: 152.3 kB / 1.25 GB, free: 85.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.642e-05/2.372, allocations: 8 kB / 1.25 GB, free: 85.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003518/2.372, allocations: 39.84 kB / 1.25 GB, free: 85.71 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.321e-05/2.372, allocations: 35.84 kB / 1.25 GB, free: 85.67 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-05/2.372, allocations: 15.98 kB / 1.25 GB, free: 85.66 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00039/2.372, allocations: 366.8 kB / 1.25 GB, free: 85.3 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.51e-07/2.372, allocations: 0 / 1.25 GB, free: 85.3 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00178/2.374, allocations: 459.4 kB / 1.251 GB, free: 84.85 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.001872/2.376, allocations: 1.168 MB / 1.252 GB, free: 83.68 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000936/2.377, allocations: 421.5 kB / 1.252 GB, free: 83.27 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/2.377, allocations: 0 / 1.252 GB, free: 83.27 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002985/2.377, allocations: 145.5 kB / 1.253 GB, free: 83.12 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/2.379, allocations: 274.5 kB / 1.253 GB, free: 82.86 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/2.38, allocations: 1.088 MB / 1.254 GB, free: 81.73 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/2.38, allocations: 0.8515 MB / 1.255 GB, free: 80.84 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003621/2.381, allocations: 115.4 kB / 1.255 GB, free: 80.73 MB / 0.5417 GB Notification: Performance of SimCode: time 5.52e-07/2.381, allocations: 0 / 1.255 GB, free: 80.73 MB / 0.5417 GB Notification: Performance of Templates: time 0.02719/2.408, allocations: 24.61 MB / 1.279 GB, free: 56.16 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1)