Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001065/0.001065, allocations: 177.8 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.703/1.703, allocations: 205.3 MB / 213.7 MB, free: 1.746 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008238/0.0008237, allocations: 86.3 kB / 261.7 MB, free: 1.684 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2067/0.2067, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.592e-05/1.593e-05, allocations: 0 / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.123, allocations: 58.87 MB / 477.2 MB, free: 1.535 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.498/1.621, allocations: 0.583 GB / 1.049 GB, free: 33.82 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/1.621, allocations: 98.09 kB / 1.049 GB, free: 33.77 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.827/2.448, allocations: 231.6 MB / 1.275 GB, free: 8.539 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.763e-06/2.448, allocations: 4 kB / 1.275 GB, free: 8.535 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.469e-05/2.448, allocations: 8 kB / 1.275 GB, free: 8.527 MB / 0.4948 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.002301/2.451, allocations: 0.9631 MB / 1.276 GB, free: 7.516 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/2.451, allocations: 8.031 kB / 1.276 GB, free: 7.508 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009688/2.452, allocations: 135.2 kB / 1.276 GB, free: 7.375 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007017/2.452, allocations: 483.2 kB / 1.277 GB, free: 6.859 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/2.452, allocations: 12 kB / 1.277 GB, free: 6.848 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.036e-05/2.452, allocations: 27.94 kB / 1.277 GB, free: 6.82 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005688/2.453, allocations: 390.5 kB / 1.277 GB, free: 6.441 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006765/2.454, allocations: 0.4927 MB / 1.278 GB, free: 5.902 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/2.454, allocations: 0 / 1.278 GB, free: 5.902 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.223e-05/2.454, allocations: 4 kB / 1.278 GB, free: 5.898 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/2.454, allocations: 8 kB / 1.278 GB, free: 5.891 MB / 0.4948 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.002635/2.456, allocations: 2.593 MB / 1.28 GB, free: 3.09 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003278/2.457, allocations: 234.8 kB / 1.281 GB, free: 2.852 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/2.457, allocations: 124.8 kB / 1.281 GB, free: 2.727 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003258/2.457, allocations: 321.6 kB / 1.281 GB, free: 2.355 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/2.457, allocations: 42.55 kB / 1.281 GB, free: 2.305 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 1.713e-06/2.457, allocations: 3.938 kB / 1.281 GB, free: 2.301 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30): time 0.002387/2.46, allocations: 0.7751 MB / 1.282 GB, free: 1.516 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/2.46, allocations: 128.5 kB / 1.282 GB, free: 1.359 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003779/2.46, allocations: 353.1 kB / 1.282 GB, free: 1.004 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.605e-05/2.46, allocations: 29.69 kB / 1.282 GB, free: 0.9688 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/2.46, allocations: 291.6 kB / 1.283 GB, free: 0.6797 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.533e-05/2.461, allocations: 98.5 kB / 1.283 GB, free: 0.582 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.563e-05/2.461, allocations: 0 / 1.283 GB, free: 0.582 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001012/2.461, allocations: 354.8 kB / 1.283 GB, free: 232 kB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/2.461, allocations: 145.1 kB / 1.283 GB, free: 84 kB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3622/2.823, allocations: 264 kB / 1.283 GB, free: 94.59 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00292/2.826, allocations: 0.6194 MB / 1.284 GB, free: 94.59 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-05/2.826, allocations: 1.125 kB / 1.284 GB, free: 94.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.003282/2.829, allocations: 0.9448 MB / 1.285 GB, free: 94.54 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/2.829, allocations: 5.344 kB / 1.285 GB, free: 94.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/2.829, allocations: 4.438 kB / 1.285 GB, free: 94.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002601/2.83, allocations: 47.69 kB / 1.285 GB, free: 94.53 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005008/2.83, allocations: 129.2 kB / 1.285 GB, free: 94.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00511/2.835, allocations: 17.16 MB / 1.302 GB, free: 77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006754/2.836, allocations: 60.86 kB / 1.302 GB, free: 76.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.835e-05/2.836, allocations: 48.34 kB / 1.302 GB, free: 76.99 MB / 0.4948 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.0003203/2.837, allocations: 137.9 kB / 1.302 GB, free: 76.88 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002829/2.839, allocations: 0.7672 MB / 1.303 GB, free: 76.82 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/2.84, allocations: 47 kB / 1.303 GB, free: 76.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001909/2.841, allocations: 0.6063 MB / 1.303 GB, free: 76.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/2.841, allocations: 2.688 kB / 1.303 GB, free: 76.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/2.841, allocations: 2.516 kB / 1.303 GB, free: 76.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/2.841, allocations: 1.078 kB / 1.303 GB, free: 76.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002521/2.844, allocations: 1.101 MB / 1.305 GB, free: 76.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.393e-06/2.844, allocations: 3.938 kB / 1.305 GB, free: 76.17 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002483/2.844, allocations: 55.75 kB / 1.305 GB, free: 76.17 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001519/2.844, allocations: 49.38 kB / 1.305 GB, free: 76.16 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.7e-05/2.844, allocations: 3.719 kB / 1.305 GB, free: 76.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004461/2.845, allocations: 0.6092 MB / 1.305 GB, free: 75.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.987e-06/2.845, allocations: 8.594 kB / 1.305 GB, free: 75.64 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/2.846, allocations: 0.602 MB / 1.306 GB, free: 75.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002482/2.846, allocations: 152.1 kB / 1.306 GB, free: 75.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/2.846, allocations: 3.594 kB / 1.306 GB, free: 75.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004492/2.847, allocations: 31.45 kB / 1.306 GB, free: 75.18 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.587e-05/2.847, allocations: 22.52 kB / 1.306 GB, free: 75.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.963e-05/2.847, allocations: 17.73 kB / 1.306 GB, free: 75.18 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003884/2.847, allocations: 293.8 kB / 1.306 GB, free: 75.09 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/2.847, allocations: 1.25 kB / 1.306 GB, free: 75.09 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002337/2.85, allocations: 462.6 kB / 1.307 GB, free: 75.09 MB / 0.4948 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.006008/2.856, allocations: 2.911 MB / 1.31 GB, free: 73.67 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001062/2.857, allocations: 336.4 kB / 1.31 GB, free: 73.66 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/2.857, allocations: 4.75 kB / 1.31 GB, free: 73.66 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002617/2.857, allocations: 122.1 kB / 1.31 GB, free: 73.66 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001423/2.859, allocations: 215.3 kB / 1.31 GB, free: 73.66 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002673/2.861, allocations: 0.783 MB / 1.311 GB, free: 73.38 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005276/2.862, allocations: 0.86 MB / 1.312 GB, free: 72.68 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001005/2.863, allocations: 179.9 kB / 1.312 GB, free: 72.67 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003871/2.863, allocations: 201.6 kB / 1.312 GB, free: 72.66 MB / 0.4948 GB Notification: Performance of SimCode: time 1.133e-06/2.863, allocations: 0 / 1.312 GB, free: 72.66 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07265/2.936, allocations: 24.26 MB / 1.336 GB, free: 71.96 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002584/2.936, allocations: 196.7 kB / 1.336 GB, free: 71.75 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.954/5.89, allocations: 7.062 kB / 1.336 GB, free: 71.75 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat does not exist to compare? outputFormat=mat