Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001412/0.001411, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4982/0.4982, allocations: 90.91 MB / 99.34 MB, free: 2.188 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 221.5 MB / 343.2 MB, free: 1.555 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009079/0.0009081, allocations: 99.25 kB / 415.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.301e-05/2.303e-05, allocations: 4 kB / 494.6 MB, free: 52.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1378, allocations: 72.3 MB / 0.5537 GB, free: 12.14 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4906/0.6284, allocations: 111.5 MB / 0.6625 GB, free: 14.6 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/0.6288, allocations: 108.4 kB / 0.6626 GB, free: 14.54 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05691/0.6857, allocations: 21.95 MB / 0.6841 GB, free: 12.51 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.6857, allocations: 0 / 0.6841 GB, free: 12.51 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.488e-05/0.6858, allocations: 12 kB / 0.6841 GB, free: 12.5 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001461/0.6872, allocations: 0.7613 MB / 0.6848 GB, free: 11.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.6873, allocations: 12.03 kB / 0.6848 GB, free: 11.72 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000211/0.6875, allocations: 71.16 kB / 0.6849 GB, free: 11.65 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007111/0.6882, allocations: 436.4 kB / 0.6853 GB, free: 11.26 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.6883, allocations: 20 kB / 0.6853 GB, free: 11.24 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.866e-05/0.6883, allocations: 31.91 kB / 0.6854 GB, free: 11.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005658/0.6889, allocations: 301.3 kB / 0.6856 GB, free: 11.03 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000613/0.6895, allocations: 329.7 kB / 0.686 GB, free: 10.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.6896, allocations: 0 / 0.686 GB, free: 10.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/0.6896, allocations: 3.938 kB / 0.686 GB, free: 10.79 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.6896, allocations: 12 kB / 0.686 GB, free: 10.78 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002103/0.6917, allocations: 1.435 MB / 0.6874 GB, free: 9.652 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004054/0.6922, allocations: 299 kB / 0.6877 GB, free: 9.461 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003535/0.6925, allocations: 279.8 kB / 0.6879 GB, free: 9.289 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.6926, allocations: 8 kB / 0.6879 GB, free: 9.281 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.6926, allocations: 37.88 kB / 0.688 GB, free: 9.238 MB / 490.7 MB Notification: Performance of pre-optimization done (n=42): time 1.883e-06/0.6926, allocations: 3.938 kB / 0.688 GB, free: 9.234 MB / 490.7 MB Notification: Performance of matching and sorting (n=42): time 0.0005348/0.6931, allocations: 321.3 kB / 0.6883 GB, free: 8.992 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.6932, allocations: 55.41 kB / 0.6883 GB, free: 8.926 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004773/0.6937, allocations: 370 kB / 0.6887 GB, free: 8.645 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.6937, allocations: 29.7 kB / 0.6887 GB, free: 8.609 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/0.6939, allocations: 274.9 kB / 0.689 GB, free: 8.414 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.694, allocations: 146.6 kB / 0.6891 GB, free: 8.285 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.335e-05/0.6941, allocations: 0 / 0.6891 GB, free: 8.285 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.6942, allocations: 358.7 kB / 0.6895 GB, free: 7.945 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.6944, allocations: 97 kB / 0.6895 GB, free: 7.891 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.6946, allocations: 102.7 kB / 0.6896 GB, free: 7.836 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.6947, allocations: 112.4 kB / 0.6898 GB, free: 7.777 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.6947, allocations: 0 / 0.6898 GB, free: 7.777 MB / 490.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004823/0.6952, allocations: 333.8 kB / 0.6901 GB, free: 7.531 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.6953, allocations: 5.562 kB / 0.6901 GB, free: 7.527 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.6953, allocations: 4 kB / 0.6901 GB, free: 7.523 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.6953, allocations: 4 kB / 0.6901 GB, free: 7.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005468/0.6958, allocations: 131.3 kB / 0.6902 GB, free: 7.395 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.6959, allocations: 4 kB / 0.6902 GB, free: 7.391 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003072/0.6962, allocations: 51.59 kB / 0.6903 GB, free: 7.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.6962, allocations: 11.88 kB / 0.6903 GB, free: 7.332 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001122/0.6963, allocations: 104.9 kB / 0.6904 GB, free: 7.223 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004644/0.6968, allocations: 309.7 kB / 0.6907 GB, free: 6.992 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.993e-05/0.6969, allocations: 43.44 kB / 0.6907 GB, free: 6.949 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.697, allocations: 56.98 kB / 0.6908 GB, free: 6.918 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.697, allocations: 4 kB / 0.6908 GB, free: 6.914 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.6971, allocations: 4 kB / 0.6908 GB, free: 6.91 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.6971, allocations: 3.984 kB / 0.6908 GB, free: 6.906 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006626/0.6977, allocations: 0.4946 MB / 0.6913 GB, free: 6.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.6977, allocations: 0 / 0.6913 GB, free: 6.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005162/0.6983, allocations: 123.4 kB / 0.6914 GB, free: 6.383 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.899e-06/0.6983, allocations: 4 kB / 0.6914 GB, free: 6.379 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.6983, allocations: 3.984 kB / 0.6914 GB, free: 6.375 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.6983, allocations: 3.938 kB / 0.6914 GB, free: 6.371 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.6983, allocations: 3.953 kB / 0.6914 GB, free: 6.367 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007274/0.6991, allocations: 0.5793 MB / 0.692 GB, free: 5.934 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/0.6992, allocations: 128.3 kB / 0.6921 GB, free: 5.793 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.67e-05/0.6993, allocations: 3.062 kB / 0.6921 GB, free: 5.793 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/0.6996, allocations: 19.97 kB / 0.6921 GB, free: 5.773 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.757e-05/0.6996, allocations: 31.3 kB / 0.6921 GB, free: 5.746 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.6997, allocations: 8 kB / 0.6921 GB, free: 5.738 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003428/0.7, allocations: 295.5 kB / 0.6924 GB, free: 5.512 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.7, allocations: 4 kB / 0.6924 GB, free: 5.508 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004997/0.7005, allocations: 139.5 kB / 0.6926 GB, free: 5.371 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00134/0.7019, allocations: 1.272 MB / 0.6938 GB, free: 4.082 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004376/0.7023, allocations: 271.7 kB / 0.6941 GB, free: 3.816 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.7023, allocations: 0 / 0.6941 GB, free: 3.816 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002089/0.7026, allocations: 155.9 kB / 0.6942 GB, free: 3.664 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004895/0.703, allocations: 81.95 kB / 0.6943 GB, free: 3.586 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.7051, allocations: 0.9911 MB / 0.6953 GB, free: 2.547 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005382/0.7056, allocations: 0.8821 MB / 0.6961 GB, free: 1.641 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001927/0.7059, allocations: 43.39 kB / 0.6962 GB, free: 1.598 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002718/0.7061, allocations: 199.4 kB / 0.6963 GB, free: 1.402 MB / 490.7 MB Notification: Performance of SimCode: time 5.71e-07/0.7061, allocations: 0 / 0.6963 GB, free: 1.402 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03215/0.7383, allocations: 9.332 MB / 0.7055 GB, free: 8.168 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002747/0.7386, allocations: 201.7 kB / 0.7057 GB, free: 7.887 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.06/2.798, allocations: 0 / 0.7057 GB, free: 7.887 MB / 0.4948 GB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)