Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.424/1.424, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001274/0.001274, allocations: 180.1 kB / 326.5 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.973/1.973, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 83.8 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003544, allocations: 14.66 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.248, allocations: 106.3 MB / 0.9002 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1824/0.4305, allocations: 140.3 MB / 1.037 GB, free: 3.234 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/0.4308, allocations: 111.9 kB / 1.037 GB, free: 3.125 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.051/0.4818, allocations: 17.98 MB / 1.055 GB, free: 1.059 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.285e-06/0.4819, allocations: 0 / 1.055 GB, free: 1.059 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.94e-05/0.4819, allocations: 12 kB / 1.055 GB, free: 1.047 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001233/0.4832, allocations: 0.65 MB / 1.056 GB, free: 352 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.4832, allocations: 12.23 kB / 1.056 GB, free: 340 kB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.226e-05/0.4833, allocations: 62.89 kB / 1.056 GB, free: 268 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.4834, allocations: 47.42 kB / 1.056 GB, free: 220 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4877/0.9711, allocations: 355.2 kB / 1.056 GB, free: 146.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.773e-05/0.9712, allocations: 17.56 kB / 1.056 GB, free: 146.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.262e-05/0.9713, allocations: 19.44 kB / 1.056 GB, free: 146.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005301/0.9718, allocations: 202.3 kB / 1.056 GB, free: 146.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.9719, allocations: 0 / 1.056 GB, free: 146.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.466e-05/0.9719, allocations: 7.719 kB / 1.056 GB, free: 146.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.9719, allocations: 7.656 kB / 1.056 GB, free: 146.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004678/0.9724, allocations: 172.8 kB / 1.056 GB, free: 146.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001527/0.9739, allocations: 0.8831 MB / 1.057 GB, free: 146.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003158/0.9743, allocations: 162.4 kB / 1.057 GB, free: 146.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.9743, allocations: 2.531 kB / 1.057 GB, free: 146.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.9743, allocations: 38.2 kB / 1.057 GB, free: 146.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 2.835e-06/0.9743, allocations: 4.031 kB / 1.057 GB, free: 146.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.000631/0.975, allocations: 264.3 kB / 1.058 GB, free: 146.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.975, allocations: 54.03 kB / 1.058 GB, free: 146.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004576/0.9755, allocations: 372 kB / 1.058 GB, free: 146 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.9755, allocations: 25.7 kB / 1.058 GB, free: 145.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.9757, allocations: 213.7 kB / 1.058 GB, free: 145.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.83e-05/0.9757, allocations: 67.25 kB / 1.058 GB, free: 145.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-06/0.9757, allocations: 0 / 1.058 GB, free: 145.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.9758, allocations: 348.5 kB / 1.059 GB, free: 145.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.976, allocations: 62.72 kB / 1.059 GB, free: 145.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.9761, allocations: 66.55 kB / 1.059 GB, free: 145.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.9763, allocations: 71.09 kB / 1.059 GB, free: 145.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.9763, allocations: 0 / 1.059 GB, free: 145.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003912/0.9767, allocations: 219 kB / 1.059 GB, free: 145.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.9767, allocations: 5.375 kB / 1.059 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.9767, allocations: 0 / 1.059 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.9768, allocations: 4.469 kB / 1.059 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002861/0.9771, allocations: 55.95 kB / 1.059 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.9771, allocations: 6.125 kB / 1.059 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.9773, allocations: 25.8 kB / 1.059 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.9773, allocations: 3.844 kB / 1.059 GB, free: 145.4 MB / 0.698 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001836/0.9775, allocations: 165.4 kB / 1.059 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.427e-05/0.9776, allocations: 35.48 kB / 1.059 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.875e-05/0.9777, allocations: 40.72 kB / 1.059 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.9777, allocations: 0.875 kB / 1.059 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.9777, allocations: 2.75 kB / 1.059 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.9777, allocations: 5.906 kB / 1.059 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004063/0.9781, allocations: 373.6 kB / 1.06 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.9781, allocations: 0.5625 kB / 1.06 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002642/0.9784, allocations: 57.28 kB / 1.06 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.9784, allocations: 7.453 kB / 1.06 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.9784, allocations: 4.188 kB / 1.06 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.9784, allocations: 5.031 kB / 1.06 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.9784, allocations: 0.7656 kB / 1.06 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005818/0.979, allocations: 392.7 kB / 1.06 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.9791, allocations: 121.2 kB / 1.06 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.564e-05/0.9792, allocations: 9.625 kB / 1.06 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.9794, allocations: 17.12 kB / 1.06 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.524e-05/0.9794, allocations: 15 kB / 1.06 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.9795, allocations: 5.594 kB / 1.06 GB, free: 144.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003235/0.9798, allocations: 306.1 kB / 1.061 GB, free: 144.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9798, allocations: 2.875 kB / 1.061 GB, free: 144.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003722/0.9802, allocations: 80.14 kB / 1.061 GB, free: 144.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.001057/0.9812, allocations: 1.08 MB / 1.062 GB, free: 144.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003586/0.9816, allocations: 150.1 kB / 1.062 GB, free: 144.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.9816, allocations: 0 / 1.062 GB, free: 144.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001896/0.9818, allocations: 89.73 kB / 1.062 GB, free: 144.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005017/0.9823, allocations: 82.7 kB / 1.062 GB, free: 144.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003338/0.9857, allocations: 2.183 MB / 1.064 GB, free: 143.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003724/0.9861, allocations: 0.8024 MB / 1.065 GB, free: 142.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001775/0.9863, allocations: 34.83 kB / 1.065 GB, free: 142.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.9864, allocations: 119.8 kB / 1.065 GB, free: 142.6 MB / 0.698 GB Notification: Performance of SimCode: time 2.5e-07/0.9864, allocations: 7.094 kB / 1.065 GB, free: 142.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02824/1.015, allocations: 9.215 MB / 1.074 GB, free: 142 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001807/1.015, allocations: 259.9 kB / 1.075 GB, free: 141.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.249/3.264, allocations: 0 / 1.075 GB, free: 141.6 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)