Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_maint_8_0_x_Buildings_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.712/1.712, allocations: 285.6 MB / 293.1 MB, free: 10.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00107/0.00107, allocations: 184.2 kB / 361.4 MB, free: 6.855 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.721/1.721, allocations: 205.2 MB / 0.62 GB, free: 11.62 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009471/0.0009468, allocations: 96.94 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.56e-05/2.564e-05, allocations: 4 kB / 0.8519 GB, free: 2.57 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7269/0.7269, allocations: 115.3 MB / 0.9645 GB, free: 78.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2297/0.9567, allocations: 148 MB / 1.109 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003211/0.9571, allocations: 110.1 kB / 1.109 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.06108/1.018, allocations: 21.94 MB / 1.131 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.593e-06/1.018, allocations: 0 / 1.131 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.983e-05/1.018, allocations: 8 kB / 1.131 GB, free: 1.719 MB / 0.7292 GB 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.001672/1.02, allocations: 0.7637 MB / 1.131 GB, free: 0.9102 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.96e-05/1.02, allocations: 8.031 kB / 1.131 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000299/1.02, allocations: 73.5 kB / 1.131 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/1.021, allocations: 435 kB / 1.132 GB, free: 372 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/1.021, allocations: 16 kB / 1.132 GB, free: 356 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/1.022, allocations: 28 kB / 1.132 GB, free: 328 kB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007371/1.022, allocations: 302.6 kB / 1.132 GB, free: 28 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007431/1.023, allocations: 336 kB / 1.132 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.929e-05/1.023, allocations: 8 kB / 1.132 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.37e-05/1.023, allocations: 0 / 1.132 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/1.023, allocations: 12 kB / 1.132 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002539/1.026, allocations: 1.434 MB / 1.134 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004444/1.026, allocations: 303.2 kB / 1.134 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00038/1.027, allocations: 285.9 kB / 1.134 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/1.027, allocations: 4 kB / 1.134 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/1.027, allocations: 38.56 kB / 1.135 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=42): time 2.886e-06/1.027, allocations: 0 / 1.135 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of matching and sorting (n=42): time 0.000614/1.027, allocations: 305.5 kB / 1.135 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/1.027, allocations: 63.12 kB / 1.135 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005913/1.028, allocations: 373.3 kB / 1.135 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/1.028, allocations: 25.7 kB / 1.135 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002138/1.028, allocations: 272.2 kB / 1.135 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/1.028, allocations: 141.8 kB / 1.136 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.275e-05/1.028, allocations: 0 / 1.136 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001658/1.029, allocations: 362.8 kB / 1.136 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001656/1.029, allocations: 100.8 kB / 1.136 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/1.029, allocations: 100.9 kB / 1.136 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/1.029, allocations: 120.2 kB / 1.136 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.029, allocations: 0 / 1.136 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005051/1.03, allocations: 329.1 kB / 1.137 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/1.03, allocations: 4 kB / 1.137 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/1.03, allocations: 0 / 1.137 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/1.03, allocations: 4 kB / 1.137 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005264/1.03, allocations: 128.6 kB / 1.137 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/1.03, allocations: 4 kB / 1.137 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003082/1.031, allocations: 43.66 kB / 1.137 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/1.031, allocations: 11.94 kB / 1.137 GB, free: 11.15 MB / 0.7448 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 () * 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.0001051/1.031, allocations: 113.6 kB / 1.137 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004735/1.031, allocations: 313 kB / 1.137 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.73e-05/1.031, allocations: 43.44 kB / 1.137 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/1.031, allocations: 56.89 kB / 1.137 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/1.031, allocations: 4 kB / 1.137 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/1.031, allocations: 0 / 1.137 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/1.031, allocations: 10.55 kB / 1.137 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000682/1.032, allocations: 0.5015 MB / 1.138 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/1.032, allocations: 0 / 1.138 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005245/1.033, allocations: 127.9 kB / 1.138 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/1.033, allocations: 4 kB / 1.138 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/1.033, allocations: 0 / 1.138 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/1.033, allocations: 4 kB / 1.138 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.033, allocations: 0 / 1.138 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007805/1.034, allocations: 0.5648 MB / 1.138 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001662/1.034, allocations: 134 kB / 1.139 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.474e-05/1.034, allocations: 8 kB / 1.139 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/1.034, allocations: 11.98 kB / 1.139 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.388e-05/1.034, allocations: 23.95 kB / 1.139 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.14e-05/1.034, allocations: 12 kB / 1.139 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003583/1.035, allocations: 299 kB / 1.139 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.1e-07/1.035, allocations: 4 kB / 1.139 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004909/1.035, allocations: 143.4 kB / 1.139 GB, free: 8.723 MB / 0.7448 GB 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.001393/1.036, allocations: 1.276 MB / 1.14 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004382/1.037, allocations: 271.7 kB / 1.141 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.037, allocations: 0 / 1.141 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002138/1.037, allocations: 156 kB / 1.141 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005372/1.038, allocations: 93.16 kB / 1.141 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/1.04, allocations: 0.9688 MB / 1.142 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005132/1.04, allocations: 0.8859 MB / 1.143 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002106/1.041, allocations: 43.38 kB / 1.143 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002702/1.041, allocations: 195.4 kB / 1.143 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of SimCode: time 4.71e-07/1.041, allocations: 4 kB / 1.143 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0354/1.076, allocations: 9.341 MB / 1.152 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002512/1.077, allocations: 224.8 kB / 1.152 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.308/3.385, allocations: 0 / 1.152 GB, free: 11.38 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)