Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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_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_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000995/0.000995, allocations: 199.2 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.273/1.273, allocations: 225.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007732/0.0007733, allocations: 88.69 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.184/0.184, allocations: 45.15 MB / 383.8 MB, free: 292 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.437e-05/1.435e-05, allocations: 0 / 453.2 MB, free: 75.83 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1193, allocations: 63.25 MB / 0.5044 GB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.291/1.41, allocations: 499.4 MB / 0.9921 GB, free: 156 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003016/1.41, allocations: 93.72 kB / 0.9922 GB, free: 156 MB / 0.5261 GB Error: Variable fitting1.geometry in package ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend is not constant. Error: Variable fitting2.geometry in package ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend is not constant. Notification: Performance of FrontEnd - DAE generated: time 0.7749/2.185, allocations: 222.2 MB / 1.209 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.743e-06/2.185, allocations: 0 / 1.209 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.326e-05/2.186, allocations: 14.88 kB / 1.209 GB, free: 120.4 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.002447/2.188, allocations: 0.9027 MB / 1.21 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/2.188, allocations: 7.781 kB / 1.21 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001153/2.189, allocations: 141.4 kB / 1.21 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009155/2.19, allocations: 494.9 kB / 1.211 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/2.19, allocations: 13.31 kB / 1.211 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.892e-05/2.19, allocations: 23.66 kB / 1.211 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006796/2.191, allocations: 399.4 kB / 1.211 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000743/2.192, allocations: 0.5011 MB / 1.212 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/2.192, allocations: 0 / 1.212 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.621e-05/2.192, allocations: 3.906 kB / 1.212 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/2.192, allocations: 19.28 kB / 1.212 GB, free: 119.5 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.194, allocations: 2.586 MB / 1.214 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003256/2.195, allocations: 233.9 kB / 1.214 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/2.195, allocations: 129 kB / 1.214 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002999/2.195, allocations: 437.8 kB / 1.215 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/2.195, allocations: 42.06 kB / 1.215 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 1.693e-06/2.195, allocations: 2.625 kB / 1.215 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30): time 0.002079/2.197, allocations: 0.6216 MB / 1.215 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/2.197, allocations: 134.4 kB / 1.216 GB, free: 117 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003736/2.198, allocations: 374.8 kB / 1.216 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.519e-05/2.198, allocations: 27.34 kB / 1.216 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00014/2.198, allocations: 290.7 kB / 1.216 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.151e-05/2.198, allocations: 107.9 kB / 1.216 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/2.198, allocations: 0 / 1.216 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.466e-05/2.198, allocations: 358.9 kB / 1.217 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002324/2.199, allocations: 158.4 kB / 1.217 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002596/2.199, allocations: 297.9 kB / 1.217 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001758/2.201, allocations: 498.2 kB / 1.218 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/2.201, allocations: 3.312 kB / 1.218 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00227/2.203, allocations: 0.8495 MB / 1.218 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/2.203, allocations: 7.188 kB / 1.218 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/2.203, allocations: 3.312 kB / 1.218 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002129/2.203, allocations: 49.73 kB / 1.219 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004652/2.204, allocations: 139.4 kB / 1.219 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006095/2.21, allocations: 22.7 MB / 1.241 GB, free: 92.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005991/2.21, allocations: 62.77 kB / 1.241 GB, free: 92.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-05/2.21, allocations: 50.83 kB / 1.241 GB, free: 92.75 MB / 0.5261 GB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting1.geometry.K:VARIABLE(min = 0.0 unit = "m" ) = fitting1.geometry.K "Absolute roughness, with a default for a smooth steel pipe" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting1.geometry.delta:VARIABLE(unit = "rad" ) = fitting1.geometry.delta "Angle of turning" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting1.geometry.R_0:VARIABLE(min = 0.0 unit = "m" ) = fitting1.geometry.R_0 "Curvature radius" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting1.geometry.d_hyd:VARIABLE(min = 0.0 unit = "m" ) = fitting1.geometry.d_hyd "Hydraulic diameter" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting2.geometry.K:VARIABLE(min = 0.0 unit = "m" ) = fitting2.geometry.K "Absolute roughness, with a default for a smooth steel pipe" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting2.geometry.delta:VARIABLE(unit = "rad" ) = fitting2.geometry.delta "Angle of turning" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting2.geometry.R_0:VARIABLE(min = 0.0 unit = "m" ) = fitting2.geometry.R_0 "Curvature radius" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting2.geometry.d_hyd:VARIABLE(min = 0.0 unit = "m" ) = fitting2.geometry.d_hyd "Hydraulic diameter" type: Real 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 () * 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.0003028/2.211, allocations: 146.8 kB / 1.241 GB, free: 92.64 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/2.211, allocations: 47.16 kB / 1.241 GB, free: 92.61 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00184/2.213, allocations: 0.9809 MB / 1.242 GB, free: 92.49 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/2.213, allocations: 8.938 kB / 1.242 GB, free: 92.49 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/2.213, allocations: 0 / 1.242 GB, free: 92.49 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/2.213, allocations: 3.891 kB / 1.242 GB, free: 92.49 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002056/2.215, allocations: 1.107 MB / 1.243 GB, free: 91.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/2.215, allocations: 0 / 1.243 GB, free: 91.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/2.215, allocations: 51.77 kB / 1.243 GB, free: 91.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001365/2.215, allocations: 46.5 kB / 1.243 GB, free: 91.95 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.453e-05/2.215, allocations: 6.875 kB / 1.243 GB, free: 91.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004091/2.216, allocations: 0.6154 MB / 1.244 GB, free: 91.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/2.216, allocations: 2.812 kB / 1.244 GB, free: 91.43 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/2.217, allocations: 0.6133 MB / 1.244 GB, free: 91.03 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001789/2.217, allocations: 145.9 kB / 1.245 GB, free: 90.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.086e-05/2.217, allocations: 5.844 kB / 1.245 GB, free: 90.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003937/2.217, allocations: 29.11 kB / 1.245 GB, free: 90.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/2.217, allocations: 23.28 kB / 1.245 GB, free: 90.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.067e-05/2.217, allocations: 16.64 kB / 1.245 GB, free: 90.89 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000353/2.218, allocations: 314.8 kB / 1.245 GB, free: 90.73 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.91e-07/2.218, allocations: 0 / 1.245 GB, free: 90.73 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00206/2.22, allocations: 430.6 kB / 1.245 GB, free: 90.61 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.002993/2.223, allocations: 1.317 MB / 1.247 GB, free: 90.32 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007369/2.224, allocations: 364.6 kB / 1.247 GB, free: 90.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/2.224, allocations: 2.75 kB / 1.247 GB, free: 90.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002017/2.224, allocations: 120.3 kB / 1.247 GB, free: 90.16 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/2.225, allocations: 221.9 kB / 1.247 GB, free: 90.12 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/2.226, allocations: 0.556 MB / 1.248 GB, free: 89.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/2.226, allocations: 0.868 MB / 1.249 GB, free: 89.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001059/2.227, allocations: 0.5282 MB / 1.249 GB, free: 89.06 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000223/2.228, allocations: 77.5 kB / 1.249 GB, free: 89.05 MB / 0.5261 GB Notification: Performance of SimCode: time 2.81e-07/2.228, allocations: 0 / 1.249 GB, free: 89.05 MB / 0.5261 GB Notification: Performance of Templates: time 0.02773/2.255, allocations: 17.65 MB / 1.267 GB, free: 84.16 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1)