Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.000969/0.000969, allocations: 177.6 kB / 8.005 MB, free: 1.07 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.66/1.66, allocations: 205.3 MB / 213.7 MB, free: 1.742 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.0008526/0.0008528, allocations: 82.62 kB / 261.7 MB, free: 1.688 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.1985/0.1985, allocations: 43.5 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.747e-05/1.749e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1194, allocations: 58.86 MB / 477.2 MB, free: 1.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.421/1.541, allocations: 0.5838 GB / 1.05 GB, free: 32.82 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/1.541, allocations: 103.4 kB / 1.05 GB, free: 32.77 MB / 0.4948 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.8635/2.405, allocations: 236.7 MB / 1.281 GB, free: 2.523 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.645e-06/2.405, allocations: 3.984 kB / 1.281 GB, free: 2.52 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.934e-05/2.405, allocations: 20.16 kB / 1.281 GB, free: 2.5 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.002471/2.407, allocations: 0.9511 MB / 1.282 GB, free: 1.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/2.407, allocations: 16.03 kB / 1.282 GB, free: 1.484 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000954/2.408, allocations: 139.1 kB / 1.282 GB, free: 1.348 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007075/2.409, allocations: 487.2 kB / 1.283 GB, free: 0.8281 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/2.409, allocations: 12 kB / 1.283 GB, free: 0.8164 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.276e-05/2.409, allocations: 27.94 kB / 1.283 GB, free: 0.7891 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006338/2.41, allocations: 398.5 kB / 1.283 GB, free: 412 kB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3791/2.789, allocations: 0.4921 MB / 1.284 GB, free: 94.77 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/2.789, allocations: 2.891 kB / 1.284 GB, free: 94.77 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/2.789, allocations: 1.125 kB / 1.284 GB, free: 94.77 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/2.789, allocations: 14.81 kB / 1.284 GB, free: 94.77 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.003481/2.792, allocations: 2.593 MB / 1.286 GB, free: 93.09 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003863/2.793, allocations: 237.1 kB / 1.286 GB, free: 93.06 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/2.793, allocations: 121 kB / 1.286 GB, free: 93.05 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004037/2.793, allocations: 321.9 kB / 1.287 GB, free: 92.77 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/2.794, allocations: 36.34 kB / 1.287 GB, free: 92.73 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 2.585e-06/2.794, allocations: 0 / 1.287 GB, free: 92.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30): time 0.002448/2.796, allocations: 0.7701 MB / 1.288 GB, free: 92.67 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/2.796, allocations: 136.3 kB / 1.288 GB, free: 92.51 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004433/2.796, allocations: 376.7 kB / 1.288 GB, free: 92.41 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.415e-05/2.797, allocations: 25.7 kB / 1.288 GB, free: 92.38 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/2.797, allocations: 292.2 kB / 1.288 GB, free: 92.23 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.278e-05/2.797, allocations: 104.2 kB / 1.288 GB, free: 92.18 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-05/2.797, allocations: 0 / 1.288 GB, free: 92.18 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001021/2.797, allocations: 356.9 kB / 1.289 GB, free: 91.87 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002525/2.797, allocations: 169.4 kB / 1.289 GB, free: 91.87 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003045/2.798, allocations: 291 kB / 1.289 GB, free: 91.72 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002124/2.8, allocations: 0.6294 MB / 1.29 GB, free: 91.72 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/2.8, allocations: 1.594 kB / 1.29 GB, free: 91.72 MB / 0.4948 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002919/2.803, allocations: 0.9872 MB / 1.291 GB, free: 91.65 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/2.803, allocations: 8.531 kB / 1.291 GB, free: 91.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/2.803, allocations: 6.906 kB / 1.291 GB, free: 91.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000244/2.803, allocations: 50.84 kB / 1.291 GB, free: 91.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005163/2.803, allocations: 140.4 kB / 1.291 GB, free: 91.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006061/2.81, allocations: 22.7 MB / 1.313 GB, free: 68.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007239/2.81, allocations: 57.44 kB / 1.313 GB, free: 68.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/2.81, allocations: 48.06 kB / 1.313 GB, free: 68.36 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.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.0002937/2.811, allocations: 153.7 kB / 1.313 GB, free: 68.25 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002757/2.813, allocations: 0.7761 MB / 1.314 GB, free: 68.18 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.51e-05/2.814, allocations: 48.05 kB / 1.314 GB, free: 68.16 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001714/2.815, allocations: 0.6142 MB / 1.315 GB, free: 68.06 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/2.815, allocations: 4.125 kB / 1.315 GB, free: 68.06 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/2.815, allocations: 0 / 1.315 GB, free: 68.06 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/2.815, allocations: 2.656 kB / 1.315 GB, free: 68.06 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002183/2.818, allocations: 1.111 MB / 1.316 GB, free: 67.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/2.818, allocations: 1.188 kB / 1.316 GB, free: 67.53 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002383/2.818, allocations: 54.03 kB / 1.316 GB, free: 67.53 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001753/2.818, allocations: 48.55 kB / 1.316 GB, free: 67.52 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/2.818, allocations: 8.5 kB / 1.316 GB, free: 67.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004537/2.818, allocations: 0.6149 MB / 1.317 GB, free: 67 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/2.819, allocations: 5.062 kB / 1.317 GB, free: 67 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/2.82, allocations: 0.6083 MB / 1.317 GB, free: 66.67 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002064/2.82, allocations: 149.8 kB / 1.317 GB, free: 66.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.532e-05/2.82, allocations: 3.359 kB / 1.317 GB, free: 66.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003778/2.82, allocations: 29.94 kB / 1.317 GB, free: 66.55 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.454e-05/2.82, allocations: 19.67 kB / 1.317 GB, free: 66.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.881e-05/2.82, allocations: 20.53 kB / 1.317 GB, free: 66.55 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004194/2.821, allocations: 313.6 kB / 1.318 GB, free: 66.46 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.11e-07/2.821, allocations: 0 / 1.318 GB, free: 66.46 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00252/2.823, allocations: 451.7 kB / 1.318 GB, free: 66.45 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.004975/2.828, allocations: 2.928 MB / 1.321 GB, free: 65.03 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001166/2.83, allocations: 346.1 kB / 1.321 GB, free: 65.03 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/2.83, allocations: 4.031 kB / 1.321 GB, free: 65.03 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000253/2.83, allocations: 121.8 kB / 1.321 GB, free: 65.03 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/2.831, allocations: 224.5 kB / 1.322 GB, free: 65.02 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/2.834, allocations: 0.7963 MB / 1.322 GB, free: 64.73 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/2.834, allocations: 0.869 MB / 1.323 GB, free: 64.03 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0008634/2.835, allocations: 174.2 kB / 1.323 GB, free: 64.02 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003205/2.835, allocations: 197.8 kB / 1.324 GB, free: 64.02 MB / 0.4948 GB Notification: Performance of SimCode: time 1.142e-06/2.835, allocations: 2.719 kB / 1.324 GB, free: 64.02 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06039/2.896, allocations: 24.39 MB / 1.347 GB, free: 63.28 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/2.896, allocations: 193.8 kB / 1.348 GB, free: 63.08 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.008/5.904, allocations: 0 / 1.348 GB, free: 63.08 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat does not exist to compare? outputFormat=mat