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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002063/0.002063, allocations: 202.3 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.51/1.51, allocations: 225.6 MB / 234.8 MB, free: 3.25 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001043/0.001043, allocations: 91.02 kB / 286.7 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2133/0.2133, allocations: 45.15 MB / 383.8 MB, free: 300 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.788e-05/1.782e-05, allocations: 7.984 kB / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1198, allocations: 63.25 MB / 0.5045 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.428/1.548, allocations: 499.4 MB / 0.9922 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/1.549, allocations: 94.19 kB / 0.9923 GB, free: 155.2 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.7901/2.339, allocations: 222.2 MB / 1.209 GB, free: 120 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.333e-06/2.339, allocations: 0 / 1.209 GB, free: 120 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.81e-05/2.339, allocations: 20.38 kB / 1.209 GB, free: 120 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.00195/2.341, allocations: 0.9042 MB / 1.21 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/2.341, allocations: 10.16 kB / 1.21 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009244/2.342, allocations: 139.6 kB / 1.21 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006841/2.342, allocations: 489.9 kB / 1.211 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/2.343, allocations: 15.38 kB / 1.211 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.138e-05/2.343, allocations: 26.59 kB / 1.211 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005785/2.343, allocations: 398.1 kB / 1.211 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006792/2.344, allocations: 0.4997 MB / 1.212 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/2.344, allocations: 0 / 1.212 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.447e-05/2.344, allocations: 3.906 kB / 1.212 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/2.344, allocations: 8.906 kB / 1.212 GB, free: 119.1 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.002284/2.346, allocations: 2.585 MB / 1.214 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003124/2.347, allocations: 243.5 kB / 1.214 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/2.347, allocations: 130.4 kB / 1.215 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003184/2.347, allocations: 435.3 kB / 1.215 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/2.347, allocations: 47.69 kB / 1.215 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 1.312e-06/2.347, allocations: 0 / 1.215 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30): time 0.002135/2.349, allocations: 0.6206 MB / 1.216 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/2.349, allocations: 139.1 kB / 1.216 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003951/2.35, allocations: 375.4 kB / 1.216 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.845e-05/2.35, allocations: 27.34 kB / 1.216 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/2.35, allocations: 287.9 kB / 1.216 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.153e-05/2.35, allocations: 104.1 kB / 1.216 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/2.35, allocations: 0 / 1.216 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001103/2.35, allocations: 357 kB / 1.217 GB, free: 116 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/2.35, allocations: 167.2 kB / 1.217 GB, free: 116 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003045/2.351, allocations: 291.6 kB / 1.217 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00182/2.353, allocations: 0.49 MB / 1.218 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/2.353, allocations: 0 / 1.218 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002324/2.355, allocations: 0.8454 MB / 1.219 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/2.355, allocations: 7.344 kB / 1.219 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/2.355, allocations: 10.19 kB / 1.219 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002318/2.355, allocations: 49.36 kB / 1.219 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000499/2.356, allocations: 139.2 kB / 1.219 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00599/2.362, allocations: 22.7 MB / 1.241 GB, free: 92.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006776/2.362, allocations: 63.09 kB / 1.241 GB, free: 92.31 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-05/2.363, allocations: 48.22 kB / 1.241 GB, free: 92.31 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.0002918/2.363, allocations: 149 kB / 1.241 GB, free: 92.2 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002049/2.365, allocations: 0.6403 MB / 1.242 GB, free: 92.12 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.47e-05/2.365, allocations: 45.91 kB / 1.242 GB, free: 92.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001856/2.367, allocations: 0.9727 MB / 1.243 GB, free: 91.99 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/2.367, allocations: 6.812 kB / 1.243 GB, free: 91.99 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/2.367, allocations: 0 / 1.243 GB, free: 91.99 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/2.367, allocations: 7.641 kB / 1.243 GB, free: 91.98 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001825/2.369, allocations: 1.104 MB / 1.244 GB, free: 91.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/2.369, allocations: 2.906 kB / 1.244 GB, free: 91.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002079/2.369, allocations: 48.81 kB / 1.244 GB, free: 91.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001561/2.369, allocations: 46.02 kB / 1.244 GB, free: 91.29 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/2.369, allocations: 13.44 kB / 1.244 GB, free: 91.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004781/2.37, allocations: 0.6073 MB / 1.245 GB, free: 90.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/2.37, allocations: 2.906 kB / 1.245 GB, free: 90.73 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/2.371, allocations: 0.6125 MB / 1.245 GB, free: 90.29 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002403/2.371, allocations: 153.5 kB / 1.245 GB, free: 90.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.806e-05/2.371, allocations: 3.609 kB / 1.245 GB, free: 90.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003639/2.371, allocations: 29.08 kB / 1.245 GB, free: 90.16 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.407e-05/2.372, allocations: 16.34 kB / 1.245 GB, free: 90.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/2.372, allocations: 24.38 kB / 1.245 GB, free: 90.15 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003289/2.372, allocations: 311.1 kB / 1.246 GB, free: 89.99 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/2.372, allocations: 0 / 1.246 GB, free: 89.99 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002173/2.374, allocations: 431 kB / 1.246 GB, free: 89.87 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.003773/2.378, allocations: 2.853 MB / 1.249 GB, free: 88.25 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007639/2.379, allocations: 365.8 kB / 1.249 GB, free: 88.12 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/2.379, allocations: 0 / 1.249 GB, free: 88.12 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002162/2.379, allocations: 120.9 kB / 1.249 GB, free: 88.08 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/2.38, allocations: 222.8 kB / 1.25 GB, free: 88.04 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00213/2.382, allocations: 0.7784 MB / 1.25 GB, free: 87.59 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/2.383, allocations: 0.865 MB / 1.251 GB, free: 86.89 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001137/2.384, allocations: 0.5368 MB / 1.252 GB, free: 86.86 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003488/2.384, allocations: 208.9 kB / 1.252 GB, free: 86.73 MB / 0.5261 GB Notification: Performance of SimCode: time 9.21e-07/2.384, allocations: 0 / 1.252 GB, free: 86.73 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04864/2.433, allocations: 23.77 MB / 1.275 GB, free: 77.19 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001619/2.433, allocations: 195.9 kB / 1.275 GB, free: 76.99 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.916/5.349, allocations: 0 / 1.275 GB, free: 76.99 MB / 0.5261 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1)