Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_3_2_3_cpp_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 3.2.3+maint.om/package.mo): time 0.002118/0.002118, allocations: 179.4 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.145/2.145, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 93.11 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2964/0.2964, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.105e-05/2.106e-05, allocations: 4 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4033/0.4034, allocations: 58.84 MB / 477.2 MB, free: 5.293 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.815/2.218, allocations: 0.5838 GB / 1.05 GB, free: 139 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003256/2.219, allocations: 96.42 kB / 1.05 GB, free: 139 MB / 0.4952 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 1.22/3.439, allocations: 236.7 MB / 1.281 GB, free: 104.5 MB / 0.4952 GB Notification: Performance of FrontEnd: time 2.144e-06/3.439, allocations: 0 / 1.281 GB, free: 104.5 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 5.519e-05/3.439, allocations: 17.52 kB / 1.281 GB, free: 104.5 MB / 0.4952 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.00306/3.442, allocations: 0.9671 MB / 1.282 GB, free: 103.9 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/3.442, allocations: 9.344 kB / 1.282 GB, free: 103.9 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001645/3.444, allocations: 135 kB / 1.282 GB, free: 103.8 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001364/3.445, allocations: 491.9 kB / 1.283 GB, free: 103.5 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.133e-05/3.445, allocations: 15.25 kB / 1.283 GB, free: 103.5 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.988e-05/3.445, allocations: 24.47 kB / 1.283 GB, free: 103.5 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001011/3.446, allocations: 400.1 kB / 1.283 GB, free: 103.3 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/3.447, allocations: 499.6 kB / 1.284 GB, free: 103.1 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/3.447, allocations: 0 / 1.284 GB, free: 103.1 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.374e-05/3.447, allocations: 3.75 kB / 1.284 GB, free: 103.1 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/3.448, allocations: 17.62 kB / 1.284 GB, free: 103.1 MB / 0.4952 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.004696/3.452, allocations: 2.58 MB / 1.286 GB, free: 101 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005994/3.453, allocations: 247 kB / 1.286 GB, free: 100.9 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002717/3.453, allocations: 125 kB / 1.286 GB, free: 100.8 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004148/3.454, allocations: 326.9 kB / 1.287 GB, free: 100.5 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/3.454, allocations: 34.45 kB / 1.287 GB, free: 100.5 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=30): time 2.765e-06/3.454, allocations: 6 kB / 1.287 GB, free: 100.5 MB / 0.4952 GB Notification: Performance of matching and sorting (n=30): time 0.00405/3.458, allocations: 0.7717 MB / 1.288 GB, free: 100.3 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/3.458, allocations: 131.9 kB / 1.288 GB, free: 100.2 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00062/3.458, allocations: 378.9 kB / 1.288 GB, free: 99.96 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 8.13e-05/3.459, allocations: 25.7 kB / 1.288 GB, free: 99.93 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/3.459, allocations: 338.7 kB / 1.288 GB, free: 99.64 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/3.459, allocations: 97.94 kB / 1.288 GB, free: 99.56 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.119e-05/3.459, allocations: 3.781 kB / 1.288 GB, free: 99.56 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 9.459e-05/3.459, allocations: 330 kB / 1.289 GB, free: 99.24 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003787/3.459, allocations: 158.5 kB / 1.289 GB, free: 99.18 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004425/3.46, allocations: 300.4 kB / 1.289 GB, free: 98.96 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003625/3.464, allocations: 0.6261 MB / 1.29 GB, free: 98.86 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.277e-05/3.464, allocations: 7.625 kB / 1.29 GB, free: 98.86 MB / 0.4952 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.004648/3.468, allocations: 0.9654 MB / 1.291 GB, free: 98.62 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/3.468, allocations: 7.25 kB / 1.291 GB, free: 98.62 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/3.468, allocations: 3.656 kB / 1.291 GB, free: 98.62 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003146/3.469, allocations: 55.44 kB / 1.291 GB, free: 98.61 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009428/3.47, allocations: 130.3 kB / 1.291 GB, free: 98.6 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007491/3.477, allocations: 22.7 MB / 1.313 GB, free: 75.03 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008839/3.478, allocations: 55.81 kB / 1.313 GB, free: 75.01 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/3.478, allocations: 49.81 kB / 1.313 GB, free: 75 MB / 0.4952 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.0003457/3.479, allocations: 153.9 kB / 1.313 GB, free: 74.88 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004051/3.483, allocations: 0.773 MB / 1.314 GB, free: 74.56 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/3.483, allocations: 51 kB / 1.314 GB, free: 74.54 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00262/3.486, allocations: 0.6141 MB / 1.315 GB, free: 74.2 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/3.486, allocations: 3.562 kB / 1.315 GB, free: 74.2 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/3.486, allocations: 3.984 kB / 1.315 GB, free: 74.19 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/3.486, allocations: 0 / 1.315 GB, free: 74.19 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00294/3.489, allocations: 1.102 MB / 1.316 GB, free: 73.3 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.545e-06/3.489, allocations: 0 / 1.316 GB, free: 73.3 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003916/3.489, allocations: 55.69 kB / 1.316 GB, free: 73.28 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00022/3.489, allocations: 47.02 kB / 1.316 GB, free: 73.26 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.987e-05/3.489, allocations: 7.781 kB / 1.316 GB, free: 73.26 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000665/3.49, allocations: 0.6107 MB / 1.317 GB, free: 72.68 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-06/3.49, allocations: 7.672 kB / 1.317 GB, free: 72.68 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001887/3.492, allocations: 0.6162 MB / 1.317 GB, free: 72.18 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002593/3.492, allocations: 149.8 kB / 1.317 GB, free: 72.03 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/3.492, allocations: 3.625 kB / 1.317 GB, free: 72.03 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006737/3.493, allocations: 33.36 kB / 1.317 GB, free: 72.02 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.523e-05/3.493, allocations: 23.38 kB / 1.317 GB, free: 72 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.927e-05/3.493, allocations: 14.44 kB / 1.317 GB, free: 72 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0004987/3.494, allocations: 311.8 kB / 1.318 GB, free: 71.82 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.61e-07/3.494, allocations: 3.344 kB / 1.318 GB, free: 71.82 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.002695/3.496, allocations: 447.5 kB / 1.318 GB, free: 71.66 MB / 0.4952 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.005504/3.502, allocations: 2.943 MB / 1.321 GB, free: 69.79 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.001227/3.503, allocations: 358.3 kB / 1.321 GB, free: 69.65 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/3.503, allocations: 0 / 1.321 GB, free: 69.65 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.0003683/3.504, allocations: 121.6 kB / 1.321 GB, free: 69.6 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002076/3.506, allocations: 236.9 kB / 1.322 GB, free: 69.49 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00288/3.509, allocations: 0.8076 MB / 1.322 GB, free: 68.93 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/3.509, allocations: 0.8582 MB / 1.323 GB, free: 68.16 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007084/3.51, allocations: 229.6 kB / 1.324 GB, free: 68 MB / 0.4952 GB Notification: Performance of SimCode: time 1.062e-06/3.51, allocations: 2.062 kB / 1.324 GB, free: 68 MB / 0.4952 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.262/6.772, allocations: 29.11 MB / 1.352 GB, free: 45.22 MB / 0.4952 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat does not exist to compare? outputFormat=mat