Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001676/0.001676, allocations: 198.2 kB / 8.768 MB, free: 316 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, 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.001067/0.001067, allocations: 102.8 kB / 286.7 MB, free: 5.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2209/0.2209, allocations: 45.15 MB / 383.8 MB, free: 280 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.411e-05/2.414e-05, allocations: 4 kB / 453.3 MB, free: 75.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1308, allocations: 63.25 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.444/1.575, allocations: 498.5 MB / 0.9913 GB, free: 156.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002017/1.575, allocations: 94 kB / 0.9914 GB, free: 156 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.6893/2.265, allocations: 217 MB / 1.203 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.154e-06/2.265, allocations: 0 / 1.203 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.18e-05/2.265, allocations: 14.91 kB / 1.203 GB, free: 118.7 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.001756/2.267, allocations: 0.9136 MB / 1.204 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/2.267, allocations: 7.219 kB / 1.204 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009513/2.268, allocations: 141.1 kB / 1.204 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006636/2.268, allocations: 483.3 kB / 1.205 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/2.268, allocations: 11.16 kB / 1.205 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.653e-05/2.268, allocations: 25.12 kB / 1.205 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000564/2.269, allocations: 391.4 kB / 1.205 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006497/2.27, allocations: 0.4978 MB / 1.206 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/2.27, allocations: 6.016 kB / 1.206 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.376e-05/2.27, allocations: 6.219 kB / 1.206 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/2.27, allocations: 11.47 kB / 1.206 GB, free: 117.7 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.002196/2.272, allocations: 2.58 MB / 1.208 GB, free: 116 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/2.272, allocations: 236.5 kB / 1.208 GB, free: 116 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/2.272, allocations: 122.5 kB / 1.209 GB, free: 116 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002914/2.273, allocations: 440.7 kB / 1.209 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/2.273, allocations: 37.69 kB / 1.209 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 1.964e-06/2.273, allocations: 0 / 1.209 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30): time 0.002064/2.275, allocations: 0.6219 MB / 1.21 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/2.275, allocations: 138.8 kB / 1.21 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003459/2.275, allocations: 351.9 kB / 1.21 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.722e-05/2.275, allocations: 29.64 kB / 1.21 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000153/2.275, allocations: 286.2 kB / 1.21 GB, free: 115 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.5e-05/2.276, allocations: 110.2 kB / 1.211 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.09e-05/2.276, allocations: 0 / 1.211 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.958e-05/2.276, allocations: 357.5 kB / 1.211 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/2.276, allocations: 147.6 kB / 1.211 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000259/2.276, allocations: 267.2 kB / 1.211 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001765/2.278, allocations: 484.6 kB / 1.212 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/2.278, allocations: 0 / 1.212 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002226/2.28, allocations: 0.7991 MB / 1.212 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/2.28, allocations: 7.875 kB / 1.212 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/2.28, allocations: 3.938 kB / 1.212 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002153/2.28, allocations: 50.69 kB / 1.213 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004467/2.281, allocations: 138.4 kB / 1.213 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003992/2.285, allocations: 17.17 MB / 1.229 GB, free: 96.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005793/2.286, allocations: 51.16 kB / 1.229 GB, free: 96.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.247e-05/2.286, allocations: 45.25 kB / 1.23 GB, free: 96.77 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.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.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 (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.000269/2.286, allocations: 168.6 kB / 1.23 GB, free: 96.65 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002019/2.288, allocations: 0.6236 MB / 1.23 GB, free: 96.58 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.2e-05/2.288, allocations: 48.28 kB / 1.23 GB, free: 96.56 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001822/2.29, allocations: 0.9678 MB / 1.231 GB, free: 96.44 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/2.29, allocations: 3.25 kB / 1.231 GB, free: 96.44 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/2.29, allocations: 3.938 kB / 1.231 GB, free: 96.44 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/2.29, allocations: 0 / 1.231 GB, free: 96.44 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/2.292, allocations: 1.101 MB / 1.232 GB, free: 95.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/2.292, allocations: 3.031 kB / 1.232 GB, free: 95.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001969/2.292, allocations: 47.44 kB / 1.232 GB, free: 95.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001553/2.292, allocations: 52.72 kB / 1.232 GB, free: 95.89 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/2.292, allocations: 7.234 kB / 1.232 GB, free: 95.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000403/2.292, allocations: 0.6007 MB / 1.233 GB, free: 95.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/2.292, allocations: 0 / 1.233 GB, free: 95.38 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009576/2.293, allocations: 0.607 MB / 1.234 GB, free: 95.03 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/2.294, allocations: 148.3 kB / 1.234 GB, free: 94.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.441e-05/2.294, allocations: 3.375 kB / 1.234 GB, free: 94.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003545/2.294, allocations: 27.42 kB / 1.234 GB, free: 94.91 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.974e-05/2.294, allocations: 28.45 kB / 1.234 GB, free: 94.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-05/2.294, allocations: 18.47 kB / 1.234 GB, free: 94.91 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003039/2.294, allocations: 304.5 kB / 1.234 GB, free: 94.82 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/2.294, allocations: 0 / 1.234 GB, free: 94.82 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001923/2.296, allocations: 431 kB / 1.235 GB, free: 94.75 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.003319/2.3, allocations: 2.834 MB / 1.237 GB, free: 93.26 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007553/2.3, allocations: 328.2 kB / 1.238 GB, free: 93.25 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/2.301, allocations: 0 / 1.238 GB, free: 93.25 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002013/2.301, allocations: 124 kB / 1.238 GB, free: 93.23 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/2.302, allocations: 231.9 kB / 1.238 GB, free: 93.22 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/2.304, allocations: 0.771 MB / 1.239 GB, free: 92.84 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/2.304, allocations: 0.8569 MB / 1.24 GB, free: 92.14 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001109/2.305, allocations: 0.5355 MB / 1.24 GB, free: 92.11 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000339/2.305, allocations: 212.3 kB / 1.24 GB, free: 92.1 MB / 0.5261 GB Notification: Performance of SimCode: time 1.453e-06/2.305, allocations: 0 / 1.24 GB, free: 92.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04763/2.353, allocations: 23.6 MB / 1.263 GB, free: 86.51 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001511/2.353, allocations: 195.1 kB / 1.264 GB, free: 86.31 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.042/5.395, allocations: 0 / 1.264 GB, free: 86.31 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1)