Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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.EdgedBend,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_3_2_3_cpp_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 3.2.3+maint.om/package.mo): time 0.001417/0.001422, allocations: 179.4 kB / 8.364 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.046/2.046, 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.001139/0.001139, allocations: 99.55 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.2955/0.2955, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.055e-05/2.069e-05, allocations: 0 / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.4164, allocations: 58.85 MB / 477.2 MB, free: 5.16 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.84/2.256, allocations: 0.583 GB / 1.049 GB, free: 138.9 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/2.257, allocations: 93.2 kB / 1.049 GB, free: 138.9 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 1.176/3.432, allocations: 231.6 MB / 1.275 GB, free: 105 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.964e-06/3.432, allocations: 0 / 1.275 GB, free: 105 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 5.037e-05/3.432, allocations: 13.31 kB / 1.275 GB, free: 105 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.002762/3.435, allocations: 0.9613 MB / 1.276 GB, free: 104.4 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/3.435, allocations: 8.531 kB / 1.276 GB, free: 104.4 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001471/3.437, allocations: 141.1 kB / 1.276 GB, free: 104.4 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/3.438, allocations: 481.6 kB / 1.277 GB, free: 104.2 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/3.438, allocations: 13.94 kB / 1.277 GB, free: 104.2 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.531e-05/3.438, allocations: 24.31 kB / 1.277 GB, free: 104.2 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009559/3.439, allocations: 399.2 kB / 1.277 GB, free: 104.1 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/3.44, allocations: 0.491 MB / 1.278 GB, free: 103.8 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/3.44, allocations: 0 / 1.278 GB, free: 103.8 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.438e-05/3.44, allocations: 7.719 kB / 1.278 GB, free: 103.8 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/3.44, allocations: 7.812 kB / 1.278 GB, free: 103.8 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.004/3.444, allocations: 2.589 MB / 1.28 GB, free: 101.7 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005502/3.445, allocations: 237.9 kB / 1.281 GB, free: 101.6 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002561/3.445, allocations: 124.3 kB / 1.281 GB, free: 101.6 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004035/3.446, allocations: 326 kB / 1.281 GB, free: 101.3 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/3.446, allocations: 41.84 kB / 1.281 GB, free: 101.2 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=30): time 3.045e-06/3.446, allocations: 3.938 kB / 1.281 GB, free: 101.2 MB / 0.4952 GB Notification: Performance of matching and sorting (n=30): time 0.003964/3.45, allocations: 0.7652 MB / 1.282 GB, free: 101.1 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/3.45, allocations: 132.4 kB / 1.282 GB, free: 100.9 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005722/3.45, allocations: 356.1 kB / 1.282 GB, free: 100.7 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 6.298e-05/3.45, allocations: 28.64 kB / 1.282 GB, free: 100.7 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/3.451, allocations: 326.6 kB / 1.283 GB, free: 100.4 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 9.998e-05/3.451, allocations: 111.9 kB / 1.283 GB, free: 100.3 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/3.451, allocations: 0 / 1.283 GB, free: 100.3 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 7.35e-05/3.451, allocations: 326.7 kB / 1.283 GB, free: 99.98 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003203/3.451, allocations: 141 kB / 1.283 GB, free: 99.93 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004152/3.452, allocations: 269.8 kB / 1.283 GB, free: 99.71 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003475/3.455, allocations: 0.6186 MB / 1.284 GB, free: 99.62 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/3.455, allocations: 0 / 1.284 GB, free: 99.62 MB / 0.4952 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.004335/3.46, allocations: 0.9252 MB / 1.285 GB, free: 99.4 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/3.46, allocations: 6.844 kB / 1.285 GB, free: 99.4 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/3.46, allocations: 3.938 kB / 1.285 GB, free: 99.4 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002931/3.46, allocations: 45.66 kB / 1.285 GB, free: 99.39 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008406/3.461, allocations: 135.5 kB / 1.285 GB, free: 99.38 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00566/3.466, allocations: 17.16 MB / 1.302 GB, free: 81.57 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008804/3.467, allocations: 59.22 kB / 1.302 GB, free: 81.55 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/3.468, allocations: 46.02 kB / 1.302 GB, free: 81.54 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.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.0003237/3.468, allocations: 140.2 kB / 1.302 GB, free: 81.43 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003925/3.472, allocations: 0.7735 MB / 1.303 GB, free: 81.26 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/3.472, allocations: 50.48 kB / 1.303 GB, free: 81.23 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002493/3.474, allocations: 0.6005 MB / 1.303 GB, free: 81.01 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/3.475, allocations: 7.656 kB / 1.303 GB, free: 81 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/3.475, allocations: 0 / 1.303 GB, free: 81 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/3.475, allocations: 0 / 1.303 GB, free: 81 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002811/3.477, allocations: 1.102 MB / 1.305 GB, free: 80.27 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/3.477, allocations: 0 / 1.305 GB, free: 80.27 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003771/3.478, allocations: 50.12 kB / 1.305 GB, free: 80.27 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002075/3.478, allocations: 45.14 kB / 1.305 GB, free: 80.25 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-05/3.478, allocations: 10.42 kB / 1.305 GB, free: 80.25 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006051/3.479, allocations: 0.6103 MB / 1.305 GB, free: 79.7 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/3.479, allocations: 3.938 kB / 1.305 GB, free: 79.69 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001723/3.48, allocations: 0.6002 MB / 1.306 GB, free: 79.26 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002383/3.481, allocations: 149.1 kB / 1.306 GB, free: 79.13 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/3.481, allocations: 7.219 kB / 1.306 GB, free: 79.12 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006564/3.482, allocations: 30.69 kB / 1.306 GB, free: 79.12 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.554e-05/3.482, allocations: 21.72 kB / 1.306 GB, free: 79.12 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.975e-05/3.482, allocations: 18.27 kB / 1.306 GB, free: 79.12 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0004556/3.482, allocations: 294.8 kB / 1.306 GB, free: 78.96 MB / 0.4952 GB Notification: Performance of sort global known variables: time 6.11e-07/3.482, allocations: 7.562 kB / 1.306 GB, free: 78.96 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.002437/3.485, allocations: 451.6 kB / 1.307 GB, free: 78.82 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.005252/3.49, allocations: 2.909 MB / 1.31 GB, free: 77.18 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.001118/3.491, allocations: 344.6 kB / 1.31 GB, free: 77.05 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/3.491, allocations: 0 / 1.31 GB, free: 77.05 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.0003224/3.491, allocations: 124.5 kB / 1.31 GB, free: 77.01 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001982/3.493, allocations: 231.9 kB / 1.31 GB, free: 76.96 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002558/3.496, allocations: 0.8118 MB / 1.311 GB, free: 76.48 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/3.496, allocations: 0.8611 MB / 1.312 GB, free: 75.77 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006406/3.497, allocations: 229 kB / 1.312 GB, free: 75.64 MB / 0.4952 GB Notification: Performance of SimCode: time 9.72e-07/3.497, allocations: 7.875 kB / 1.312 GB, free: 75.64 MB / 0.4952 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.406/6.903, allocations: 26.61 MB / 1.338 GB, free: 58.88 MB / 0.4952 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat does not exist to compare? outputFormat=mat