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"}) [: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.001293/0.001293, allocations: 186.8 kB / 7.802 MB, free: 2.5 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.704/1.704, allocations: 205.2 MB / 213.4 MB, free: 13.9 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.001379/0.001378, allocations: 91.06 kB / 261.4 MB, free: 13.54 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.2491/0.2491, allocations: 43.49 MB / 352.8 MB, free: 1.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2438/0.4929, allocations: 64.98 MB / 417.8 MB, free: 40.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.8847, allocations: 58.84 MB / 476.7 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.412/2.296, allocations: 0.5829 GB / 1.048 GB, free: 175.3 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/2.297, allocations: 96.03 kB / 1.049 GB, free: 175.3 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.7354/3.032, allocations: 233.5 MB / 1.277 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/3.032, allocations: 7.75 kB / 1.277 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/3.033, allocations: 144.4 kB / 1.277 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008107/3.034, allocations: 480 kB / 1.277 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/3.034, allocations: 14.66 kB / 1.277 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.468e-05/3.034, allocations: 21.94 kB / 1.277 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006117/3.035, allocations: 402.2 kB / 1.278 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006745/3.036, allocations: 497.8 kB / 1.278 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/3.036, allocations: 2.344 kB / 1.278 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.242e-05/3.036, allocations: 3.906 kB / 1.278 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/3.036, allocations: 11.5 kB / 1.278 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002535/3.038, allocations: 2.648 MB / 1.281 GB, free: 98.49 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003364/3.039, allocations: 235.3 kB / 1.281 GB, free: 98.46 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/3.039, allocations: 125.7 kB / 1.281 GB, free: 98.45 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003322/3.039, allocations: 320 kB / 1.281 GB, free: 98.16 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/3.039, allocations: 44.12 kB / 1.281 GB, free: 98.12 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 2.214e-06/3.039, allocations: 0 / 1.281 GB, free: 98.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30): time 0.002759/3.042, allocations: 0.8056 MB / 1.282 GB, free: 98.06 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/3.042, allocations: 132 kB / 1.282 GB, free: 97.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000402/3.042, allocations: 355.8 kB / 1.283 GB, free: 97.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.091e-05/3.042, allocations: 25.7 kB / 1.283 GB, free: 97.77 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/3.043, allocations: 239.1 kB / 1.283 GB, free: 97.62 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.067e-05/3.043, allocations: 108.8 kB / 1.283 GB, free: 97.57 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.571e-05/3.043, allocations: 0 / 1.283 GB, free: 97.57 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001044/3.043, allocations: 356.2 kB / 1.283 GB, free: 97.26 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/3.043, allocations: 144.1 kB / 1.283 GB, free: 97.26 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003132/3.043, allocations: 277 kB / 1.284 GB, free: 97.11 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002321/3.046, allocations: 0.6667 MB / 1.284 GB, free: 97.11 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/3.046, allocations: 0 / 1.284 GB, free: 97.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002786/3.048, allocations: 0.9955 MB / 1.285 GB, free: 97.04 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/3.049, allocations: 3.688 kB / 1.285 GB, free: 97.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/3.049, allocations: 3.594 kB / 1.285 GB, free: 97.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002332/3.049, allocations: 49.66 kB / 1.285 GB, free: 97.03 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004929/3.049, allocations: 129.5 kB / 1.285 GB, free: 97.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003796/3.053, allocations: 8.323 MB / 1.294 GB, free: 88.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006222/3.054, allocations: 58.36 kB / 1.294 GB, free: 88.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.503e-05/3.054, allocations: 49.17 kB / 1.294 GB, free: 88.54 MB / 0.4948 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.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.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.0002705/3.054, allocations: 147.2 kB / 1.294 GB, free: 88.43 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.703e-05/3.054, allocations: 43.5 kB / 1.294 GB, free: 88.41 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00188/3.056, allocations: 0.7035 MB / 1.295 GB, free: 88.31 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/3.056, allocations: 0 / 1.295 GB, free: 88.31 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/3.056, allocations: 7.875 kB / 1.295 GB, free: 88.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/3.056, allocations: 3.75 kB / 1.295 GB, free: 88.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00189/3.058, allocations: 1.122 MB / 1.296 GB, free: 87.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/3.058, allocations: 7.031 kB / 1.296 GB, free: 87.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002069/3.058, allocations: 56.38 kB / 1.296 GB, free: 87.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001565/3.058, allocations: 51.5 kB / 1.296 GB, free: 87.77 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/3.058, allocations: 10.59 kB / 1.296 GB, free: 87.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004393/3.059, allocations: 0.6127 MB / 1.296 GB, free: 87.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/3.059, allocations: 1.688 kB / 1.296 GB, free: 87.24 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001091/3.06, allocations: 0.6324 MB / 1.297 GB, free: 86.9 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001319/3.061, allocations: 1.037 MB / 1.298 GB, free: 86.19 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/3.062, allocations: 152 kB / 1.298 GB, free: 86.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.77e-05/3.062, allocations: 7.812 kB / 1.298 GB, free: 86.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003787/3.062, allocations: 28.8 kB / 1.298 GB, free: 86.07 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.715e-05/3.062, allocations: 20.91 kB / 1.298 GB, free: 86.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.429e-05/3.062, allocations: 17.39 kB / 1.298 GB, free: 86.07 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0003411/3.062, allocations: 294.8 kB / 1.299 GB, free: 85.99 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00279/3.065, allocations: 0.5494 MB / 1.299 GB, free: 85.77 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.002377/3.068, allocations: 1.417 MB / 1.3 GB, free: 85.47 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007104/3.068, allocations: 331.5 kB / 1.301 GB, free: 85.36 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/3.068, allocations: 3.844 kB / 1.301 GB, free: 85.36 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002147/3.069, allocations: 124.1 kB / 1.301 GB, free: 85.32 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/3.07, allocations: 215 kB / 1.301 GB, free: 85.27 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/3.071, allocations: 0.5676 MB / 1.302 GB, free: 84.96 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007237/3.072, allocations: 0.981 MB / 1.303 GB, free: 84.24 MB / 0.4948 GB Notification: Performance of SimCode: time 7.41e-07/3.072, allocations: 0 / 1.303 GB, free: 84.24 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