Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 221.5 MB / 230.7 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008796/0.0008796, allocations: 95.47 kB / 281.6 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1823/0.1823, allocations: 44.15 MB / 376.5 MB, free: 3.059 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.964e-05/1.965e-05, allocations: 8.203 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1234, allocations: 61.92 MB / 0.4948 GB, free: 1.164 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.447/1.57, allocations: 497.5 MB / 0.9806 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003338/1.571, allocations: 98.5 kB / 0.9807 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.8268/2.397, allocations: 217 MB / 1.193 GB, free: 90.12 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.204e-06/2.397, allocations: 0 / 1.193 GB, free: 90.12 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.144e-05/2.397, allocations: 11.91 kB / 1.193 GB, free: 90.12 MB / 0.5105 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.002478/2.4, allocations: 0.8968 MB / 1.193 GB, free: 89.18 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/2.4, allocations: 15.92 kB / 1.193 GB, free: 89.16 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009709/2.401, allocations: 143.1 kB / 1.194 GB, free: 89.02 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006713/2.402, allocations: 474.9 kB / 1.194 GB, free: 88.53 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/2.402, allocations: 12 kB / 1.194 GB, free: 88.52 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.217e-05/2.402, allocations: 24 kB / 1.194 GB, free: 88.49 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000558/2.402, allocations: 394.5 kB / 1.194 GB, free: 88.11 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006248/2.403, allocations: 0.5082 MB / 1.195 GB, free: 87.55 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/2.403, allocations: 0 / 1.195 GB, free: 87.55 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.226e-05/2.403, allocations: 4 kB / 1.195 GB, free: 87.55 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/2.403, allocations: 11.98 kB / 1.195 GB, free: 87.54 MB / 0.5105 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.002307/2.405, allocations: 2.579 MB / 1.198 GB, free: 84.76 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003103/2.406, allocations: 234.7 kB / 1.198 GB, free: 84.52 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/2.406, allocations: 126.1 kB / 1.198 GB, free: 84.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003041/2.406, allocations: 436.4 kB / 1.198 GB, free: 83.88 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/2.406, allocations: 38.56 kB / 1.198 GB, free: 83.84 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=30): time 1.413e-06/2.406, allocations: 0 / 1.198 GB, free: 83.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=30): time 0.002113/2.408, allocations: 0.623 MB / 1.199 GB, free: 83.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/2.408, allocations: 132.5 kB / 1.199 GB, free: 83.04 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003407/2.409, allocations: 357.1 kB / 1.199 GB, free: 82.69 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.933e-05/2.409, allocations: 25.7 kB / 1.199 GB, free: 82.66 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/2.409, allocations: 291.6 kB / 1.2 GB, free: 82.37 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.635e-05/2.409, allocations: 102.5 kB / 1.2 GB, free: 82.27 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.94e-05/2.409, allocations: 3.938 kB / 1.2 GB, free: 82.27 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.432e-05/2.409, allocations: 358.8 kB / 1.2 GB, free: 81.91 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/2.409, allocations: 141.1 kB / 1.2 GB, free: 81.77 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/2.41, allocations: 277.3 kB / 1.201 GB, free: 81.44 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001733/2.411, allocations: 471.5 kB / 1.201 GB, free: 80.98 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/2.411, allocations: 0 / 1.201 GB, free: 80.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002195/2.414, allocations: 0.813 MB / 1.202 GB, free: 80.16 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/2.414, allocations: 7.984 kB / 1.202 GB, free: 80.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.617e-06/2.414, allocations: 4 kB / 1.202 GB, free: 80.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000207/2.414, allocations: 48.78 kB / 1.202 GB, free: 80.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004452/2.414, allocations: 132.3 kB / 1.202 GB, free: 79.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003925/2.418, allocations: 17.16 MB / 1.219 GB, free: 61.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005812/2.419, allocations: 59.66 kB / 1.219 GB, free: 61.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.199e-05/2.419, allocations: 47.98 kB / 1.219 GB, free: 61.63 MB / 0.5105 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.0002557/2.419, allocations: 140.5 kB / 1.219 GB, free: 61.49 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001945/2.421, allocations: 0.6303 MB / 1.22 GB, free: 60.85 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.521e-05/2.421, allocations: 47.44 kB / 1.22 GB, free: 60.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001722/2.423, allocations: 0.9698 MB / 1.221 GB, free: 59.82 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/2.423, allocations: 0 / 1.221 GB, free: 59.82 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/2.423, allocations: 7.891 kB / 1.221 GB, free: 59.81 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/2.423, allocations: 4 kB / 1.221 GB, free: 59.81 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001608/2.425, allocations: 1.092 MB / 1.222 GB, free: 58.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/2.425, allocations: 8 kB / 1.222 GB, free: 58.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002008/2.425, allocations: 55.91 kB / 1.222 GB, free: 58.56 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001453/2.425, allocations: 49.05 kB / 1.222 GB, free: 58.51 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/2.425, allocations: 7.984 kB / 1.222 GB, free: 58.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003831/2.425, allocations: 0.603 MB / 1.222 GB, free: 57.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/2.425, allocations: 4.031 kB / 1.222 GB, free: 57.87 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000913/2.426, allocations: 0.6069 MB / 1.223 GB, free: 57.18 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/2.426, allocations: 140.5 kB / 1.223 GB, free: 57.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.357e-05/2.427, allocations: 4 kB / 1.223 GB, free: 57.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003594/2.427, allocations: 27.97 kB / 1.223 GB, free: 56.99 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/2.427, allocations: 27.92 kB / 1.223 GB, free: 56.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.898e-05/2.427, allocations: 15.98 kB / 1.223 GB, free: 56.95 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002749/2.427, allocations: 302.9 kB / 1.223 GB, free: 56.65 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/2.427, allocations: 3.938 kB / 1.223 GB, free: 56.65 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001764/2.429, allocations: 399.3 kB / 1.224 GB, free: 56.26 MB / 0.5105 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.003138/2.432, allocations: 2.828 MB / 1.227 GB, free: 53.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006365/2.433, allocations: 324.1 kB / 1.227 GB, free: 53.18 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/2.433, allocations: 4 kB / 1.227 GB, free: 53.18 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001787/2.433, allocations: 116.8 kB / 1.227 GB, free: 53.07 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/2.434, allocations: 232.5 kB / 1.227 GB, free: 52.84 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/2.436, allocations: 0.7512 MB / 1.228 GB, free: 52.03 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/2.436, allocations: 0.8628 MB / 1.229 GB, free: 51.14 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009644/2.437, allocations: 0.5289 MB / 1.229 GB, free: 50.61 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003048/2.437, allocations: 211.3 kB / 1.23 GB, free: 50.4 MB / 0.5105 GB Notification: Performance of SimCode: time 3.81e-07/2.437, allocations: 0 / 1.23 GB, free: 50.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04524/2.482, allocations: 23.43 MB / 1.252 GB, free: 27 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002079/2.483, allocations: 187.6 kB / 1.253 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.986/5.468, allocations: 3.938 kB / 1.253 GB, free: 26.81 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1)