Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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.CurvedBend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 167.8 kB / 8.738 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.463/1.463, allocations: 221.5 MB / 230.7 MB, free: 7.562 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.0009316/0.0009315, allocations: 100.4 kB / 281.6 MB, free: 5.316 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.2028/0.2028, allocations: 44.16 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.913e-05/1.915e-05, allocations: 4.219 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1424, allocations: 61.92 MB / 0.4948 GB, free: 1.141 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.319/1.462, allocations: 498.4 MB / 0.9814 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/1.462, allocations: 95.31 kB / 0.9815 GB, free: 119.5 MB / 0.5105 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.7399/2.202, allocations: 222 MB / 1.198 GB, free: 95.88 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.383e-06/2.202, allocations: 0 / 1.198 GB, free: 95.88 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.294e-05/2.202, allocations: 16 kB / 1.198 GB, free: 95.86 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.001993/2.204, allocations: 0.8957 MB / 1.199 GB, free: 94.93 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/2.204, allocations: 11.98 kB / 1.199 GB, free: 94.91 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009502/2.205, allocations: 143.1 kB / 1.199 GB, free: 94.77 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006807/2.206, allocations: 485.1 kB / 1.2 GB, free: 94.27 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/2.206, allocations: 12 kB / 1.2 GB, free: 94.25 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.601e-05/2.206, allocations: 24 kB / 1.2 GB, free: 94.23 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005721/2.206, allocations: 406.4 kB / 1.2 GB, free: 93.83 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006406/2.207, allocations: 0.4966 MB / 1.201 GB, free: 93.29 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/2.207, allocations: 0 / 1.201 GB, free: 93.29 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.412e-05/2.207, allocations: 3.953 kB / 1.201 GB, free: 93.29 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/2.207, allocations: 12 kB / 1.201 GB, free: 93.27 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.002284/2.209, allocations: 2.585 MB / 1.203 GB, free: 90.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003164/2.21, allocations: 246.7 kB / 1.204 GB, free: 90.25 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/2.21, allocations: 126.1 kB / 1.204 GB, free: 90.12 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003195/2.21, allocations: 437.2 kB / 1.204 GB, free: 89.61 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/2.21, allocations: 34.56 kB / 1.204 GB, free: 89.57 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=30): time 1.603e-06/2.21, allocations: 0 / 1.204 GB, free: 89.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=30): time 0.002096/2.212, allocations: 0.6309 MB / 1.205 GB, free: 88.93 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/2.212, allocations: 140.5 kB / 1.205 GB, free: 88.76 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003361/2.213, allocations: 373.1 kB / 1.205 GB, free: 88.39 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.721e-05/2.213, allocations: 25.7 kB / 1.205 GB, free: 88.36 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/2.213, allocations: 291.6 kB / 1.206 GB, free: 88.07 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.832e-05/2.213, allocations: 102.5 kB / 1.206 GB, free: 87.96 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.77e-05/2.213, allocations: 0 / 1.206 GB, free: 87.96 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.797e-05/2.213, allocations: 354.8 kB / 1.206 GB, free: 87.61 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/2.213, allocations: 161.1 kB / 1.206 GB, free: 87.45 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/2.214, allocations: 300 kB / 1.206 GB, free: 87.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001712/2.215, allocations: 0.4916 MB / 1.207 GB, free: 86.61 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/2.215, allocations: 0 / 1.207 GB, free: 86.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00229/2.218, allocations: 0.8452 MB / 1.208 GB, free: 85.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/2.218, allocations: 8 kB / 1.208 GB, free: 85.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/2.218, allocations: 4 kB / 1.208 GB, free: 85.74 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002536/2.218, allocations: 56.77 kB / 1.208 GB, free: 85.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004887/2.218, allocations: 139.9 kB / 1.208 GB, free: 85.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005809/2.224, allocations: 22.69 MB / 1.23 GB, free: 61.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006942/2.225, allocations: 63.62 kB / 1.23 GB, free: 61.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.689e-05/2.225, allocations: 47.98 kB / 1.23 GB, free: 61.33 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.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.0003115/2.225, allocations: 152.1 kB / 1.23 GB, free: 61.18 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002005/2.227, allocations: 0.6342 MB / 1.231 GB, free: 60.54 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.783e-05/2.227, allocations: 43.53 kB / 1.231 GB, free: 60.49 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001839/2.229, allocations: 0.9799 MB / 1.232 GB, free: 59.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/2.229, allocations: 4 kB / 1.232 GB, free: 59.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/2.229, allocations: 0 / 1.232 GB, free: 59.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/2.229, allocations: 3.984 kB / 1.232 GB, free: 59.49 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00177/2.231, allocations: 1.104 MB / 1.233 GB, free: 58.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/2.231, allocations: 3.984 kB / 1.233 GB, free: 58.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001914/2.231, allocations: 47.97 kB / 1.233 GB, free: 58.24 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001391/2.232, allocations: 60.69 kB / 1.233 GB, free: 58.18 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/2.232, allocations: 8 kB / 1.233 GB, free: 58.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003841/2.232, allocations: 0.6111 MB / 1.234 GB, free: 57.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/2.232, allocations: 7.953 kB / 1.234 GB, free: 57.53 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009133/2.233, allocations: 0.607 MB / 1.234 GB, free: 56.84 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001549/2.233, allocations: 148.5 kB / 1.234 GB, free: 56.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.193e-05/2.233, allocations: 0 / 1.234 GB, free: 56.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003627/2.233, allocations: 35.83 kB / 1.235 GB, free: 56.64 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.595e-05/2.234, allocations: 31.91 kB / 1.235 GB, free: 56.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-05/2.234, allocations: 15.98 kB / 1.235 GB, free: 56.59 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003002/2.234, allocations: 307 kB / 1.235 GB, free: 56.29 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/2.234, allocations: 0 / 1.235 GB, free: 56.29 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001934/2.236, allocations: 399.4 kB / 1.235 GB, free: 55.9 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.003356/2.239, allocations: 2.828 MB / 1.238 GB, free: 53.14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007235/2.24, allocations: 352.8 kB / 1.238 GB, free: 52.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/2.24, allocations: 3.906 kB / 1.238 GB, free: 52.79 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000183/2.24, allocations: 128.2 kB / 1.238 GB, free: 52.67 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/2.241, allocations: 221.1 kB / 1.239 GB, free: 52.45 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/2.243, allocations: 0.759 MB / 1.239 GB, free: 51.63 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/2.243, allocations: 0.8667 MB / 1.24 GB, free: 50.73 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001018/2.244, allocations: 0.533 MB / 1.241 GB, free: 50.21 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003178/2.244, allocations: 211.3 kB / 1.241 GB, free: 50 MB / 0.5105 GB Notification: Performance of SimCode: time 5.11e-07/2.244, allocations: 0 / 1.241 GB, free: 50 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04585/2.29, allocations: 23.58 MB / 1.264 GB, free: 26.47 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001592/2.291, allocations: 188.9 kB / 1.264 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.938/5.229, allocations: 0 / 1.264 GB, free: 26.28 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1)