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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001501/0.0015, allocations: 185 kB / 7.801 MB, free: 2.445 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.2 MB / 213.4 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001183/0.001183, allocations: 95.39 kB / 261.4 MB, free: 13.53 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.2302/0.2302, allocations: 43.5 MB / 352.9 MB, free: 1.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2496/0.4799, allocations: 64.98 MB / 417.8 MB, free: 40.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.8628, allocations: 58.84 MB / 476.7 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.454/2.317, allocations: 0.5838 GB / 1.049 GB, free: 196 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/2.318, allocations: 90.67 kB / 1.049 GB, free: 196 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: 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.8394/3.157, allocations: 238.5 MB / 1.282 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/3.157, allocations: 6.531 kB / 1.282 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001406/3.158, allocations: 138.2 kB / 1.282 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/3.16, allocations: 0.4904 MB / 1.283 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.007e-05/3.16, allocations: 14.72 kB / 1.283 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/3.16, allocations: 23.75 kB / 1.283 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000805/3.161, allocations: 397.2 kB / 1.283 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009512/3.162, allocations: 0.4953 MB / 1.284 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/3.162, allocations: 3.938 kB / 1.284 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.36e-05/3.162, allocations: 3.969 kB / 1.284 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/3.162, allocations: 13.77 kB / 1.284 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003634/3.166, allocations: 2.637 MB / 1.286 GB, free: 111 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003665/3.166, allocations: 236.9 kB / 1.287 GB, free: 111 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/3.166, allocations: 124.6 kB / 1.287 GB, free: 111 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003336/3.166, allocations: 324.2 kB / 1.287 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/3.167, allocations: 36.41 kB / 1.287 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=30): time 3.587e-06/3.167, allocations: 0 / 1.287 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=30): time 0.002865/3.169, allocations: 0.8164 MB / 1.288 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/3.169, allocations: 132.2 kB / 1.288 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004795/3.17, allocations: 372.6 kB / 1.288 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.796e-05/3.17, allocations: 31.77 kB / 1.288 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/3.17, allocations: 240.1 kB / 1.289 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.295e-05/3.17, allocations: 104 kB / 1.289 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.742e-05/3.17, allocations: 0 / 1.289 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.858e-05/3.17, allocations: 354.3 kB / 1.289 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002413/3.171, allocations: 162.1 kB / 1.289 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003296/3.171, allocations: 298.8 kB / 1.289 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002348/3.173, allocations: 0.6828 MB / 1.29 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/3.173, allocations: 3.812 kB / 1.29 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002919/3.176, allocations: 1.044 MB / 1.291 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/3.176, allocations: 10.06 kB / 1.291 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/3.176, allocations: 3.375 kB / 1.291 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002466/3.177, allocations: 48.44 kB / 1.291 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005153/3.177, allocations: 146 kB / 1.291 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004833/3.182, allocations: 10.9 MB / 1.302 GB, free: 98.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008173/3.183, allocations: 55.83 kB / 1.302 GB, free: 98.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/3.183, allocations: 50.86 kB / 1.302 GB, free: 98.39 MB / 0.5105 GB Warning: Iteration variables with default zero start attribute in equation system w/o 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 w/o 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 w/o 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 w/o 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 w/o 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 w/o 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 w/o 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 w/o 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.0004271/3.183, allocations: 146 kB / 1.302 GB, free: 98.29 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002157/3.184, allocations: 50.72 kB / 1.302 GB, free: 98.26 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002225/3.186, allocations: 0.7107 MB / 1.303 GB, free: 98.17 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/3.186, allocations: 7.344 kB / 1.303 GB, free: 98.16 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/3.186, allocations: 0 / 1.303 GB, free: 98.16 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.667e-06/3.186, allocations: 0 / 1.303 GB, free: 98.16 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002516/3.188, allocations: 1.129 MB / 1.304 GB, free: 97.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/3.188, allocations: 3.375 kB / 1.304 GB, free: 97.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002263/3.189, allocations: 57.72 kB / 1.304 GB, free: 97.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001789/3.189, allocations: 46.47 kB / 1.304 GB, free: 97.63 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/3.189, allocations: 10.48 kB / 1.304 GB, free: 97.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005667/3.189, allocations: 0.6201 MB / 1.305 GB, free: 97.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-05/3.19, allocations: 3 kB / 1.305 GB, free: 97.11 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001403/3.191, allocations: 0.6433 MB / 1.305 GB, free: 96.77 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001784/3.193, allocations: 1.051 MB / 1.306 GB, free: 96.06 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003687/3.193, allocations: 150.2 kB / 1.307 GB, free: 95.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001663/3.193, allocations: 3.844 kB / 1.307 GB, free: 95.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005684/3.194, allocations: 30.53 kB / 1.307 GB, free: 95.94 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.64e-05/3.194, allocations: 25.94 kB / 1.307 GB, free: 95.94 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.187e-05/3.194, allocations: 15.41 kB / 1.307 GB, free: 95.94 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0005411/3.195, allocations: 305.1 kB / 1.307 GB, free: 95.86 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003879/3.198, allocations: 0.5493 MB / 1.308 GB, free: 95.84 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.00401/3.203, allocations: 1.419 MB / 1.309 GB, free: 95.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000964/3.203, allocations: 361.3 kB / 1.309 GB, free: 95.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/3.204, allocations: 2.719 kB / 1.309 GB, free: 95.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002642/3.204, allocations: 122.6 kB / 1.309 GB, free: 95.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/3.205, allocations: 215.3 kB / 1.31 GB, free: 95.59 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/3.207, allocations: 0.5735 MB / 1.31 GB, free: 95.34 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001037/3.208, allocations: 0.9791 MB / 1.311 GB, free: 94.62 MB / 0.5105 GB Notification: Performance of SimCode: time 5.21e-07/3.208, allocations: 0 / 1.311 GB, free: 94.62 MB / 0.5105 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