Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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 8.0.0/package.mo): time 2.661/2.661, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.001591/0.001591, allocations: 184.8 kB / 360.6 MB, free: 7.277 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.217/2.217, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001113/0.001113, allocations: 97.75 kB / 0.7321 GB, free: 44.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.916e-05/3.926e-05, allocations: 4 kB / 0.8509 GB, free: 3.305 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8863/0.8864, allocations: 115.2 MB / 0.9634 GB, free: 78.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2862/1.173, allocations: 145.7 MB / 1.106 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004841/1.173, allocations: 115.8 kB / 1.106 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.09114/1.264, allocations: 17.75 MB / 1.123 GB, free: 9.008 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.174e-06/1.264, allocations: 4 kB / 1.123 GB, free: 9.004 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.272e-05/1.265, allocations: 8 kB / 1.123 GB, free: 8.996 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001401/1.266, allocations: 0.5836 MB / 1.124 GB, free: 8.367 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/1.266, allocations: 8.031 kB / 1.124 GB, free: 8.359 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000191/1.266, allocations: 55.72 kB / 1.124 GB, free: 8.305 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008547/1.267, allocations: 355.6 kB / 1.124 GB, free: 7.914 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/1.267, allocations: 8 kB / 1.124 GB, free: 7.906 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.997e-05/1.267, allocations: 12 kB / 1.124 GB, free: 7.895 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004627/1.268, allocations: 124.8 kB / 1.124 GB, free: 7.773 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004933/1.268, allocations: 150.5 kB / 1.124 GB, free: 7.621 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/1.268, allocations: 224 / 1.124 GB, free: 7.621 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.278e-05/1.268, allocations: 1.375 kB / 1.124 GB, free: 7.621 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/1.268, allocations: 11.89 kB / 1.124 GB, free: 7.609 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002169/1.271, allocations: 0.8152 MB / 1.125 GB, free: 6.734 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003697/1.271, allocations: 139.7 kB / 1.125 GB, free: 6.59 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002305/1.271, allocations: 88.86 kB / 1.125 GB, free: 6.5 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/1.271, allocations: 0 / 1.125 GB, free: 6.5 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/1.271, allocations: 38.5 kB / 1.126 GB, free: 6.453 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 2.304e-06/1.271, allocations: 8 kB / 1.126 GB, free: 6.445 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0005574/1.272, allocations: 157.4 kB / 1.126 GB, free: 6.285 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/1.272, allocations: 55.41 kB / 1.126 GB, free: 6.219 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007653/1.273, allocations: 330.4 kB / 1.126 GB, free: 5.887 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.834e-05/1.273, allocations: 25.7 kB / 1.126 GB, free: 5.855 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/1.273, allocations: 200.2 kB / 1.126 GB, free: 5.656 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/1.273, allocations: 63.09 kB / 1.126 GB, free: 5.594 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.118e-05/1.273, allocations: 0 / 1.126 GB, free: 5.594 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001953/1.273, allocations: 348.5 kB / 1.127 GB, free: 5.246 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/1.274, allocations: 40 kB / 1.127 GB, free: 5.207 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/1.274, allocations: 41.72 kB / 1.127 GB, free: 5.168 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/1.274, allocations: 47.94 kB / 1.127 GB, free: 5.121 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.274, allocations: 0 / 1.127 GB, free: 5.121 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004805/1.274, allocations: 167.8 kB / 1.127 GB, free: 4.953 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/1.274, allocations: 8 kB / 1.127 GB, free: 4.945 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/1.274, allocations: 0 / 1.127 GB, free: 4.945 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/1.275, allocations: 3.984 kB / 1.127 GB, free: 4.941 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005169/1.275, allocations: 55.97 kB / 1.127 GB, free: 4.887 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.475e-06/1.275, allocations: 0 / 1.127 GB, free: 4.887 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003589/1.275, allocations: 23.83 kB / 1.127 GB, free: 4.863 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/1.275, allocations: 10.94 kB / 1.127 GB, free: 4.855 MB / 0.7292 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 (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.0001292/1.276, allocations: 112.7 kB / 1.127 GB, free: 4.738 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000471/1.276, allocations: 159.4 kB / 1.127 GB, free: 4.578 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/1.276, allocations: 35.53 kB / 1.127 GB, free: 4.543 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001439/1.276, allocations: 39.25 kB / 1.127 GB, free: 4.504 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/1.276, allocations: 0 / 1.127 GB, free: 4.504 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/1.276, allocations: 2.625 kB / 1.127 GB, free: 4.504 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/1.276, allocations: 3.938 kB / 1.127 GB, free: 4.5 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006812/1.277, allocations: 337.8 kB / 1.128 GB, free: 4.133 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/1.277, allocations: 0 / 1.128 GB, free: 4.133 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005593/1.278, allocations: 59.89 kB / 1.128 GB, free: 4.074 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/1.278, allocations: 0 / 1.128 GB, free: 4.074 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.978e-05/1.278, allocations: 8 kB / 1.128 GB, free: 4.066 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/1.278, allocations: 0 / 1.128 GB, free: 4.066 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/1.278, allocations: 2.422 kB / 1.128 GB, free: 4.066 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007274/1.279, allocations: 319 kB / 1.128 GB, free: 3.738 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002055/1.279, allocations: 116.7 kB / 1.128 GB, free: 3.605 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.299e-05/1.279, allocations: 0 / 1.128 GB, free: 3.605 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003531/1.279, allocations: 16.05 kB / 1.128 GB, free: 3.59 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.679e-05/1.279, allocations: 15.98 kB / 1.128 GB, free: 3.574 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/1.279, allocations: 0 / 1.128 GB, free: 3.574 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005216/1.28, allocations: 264.5 kB / 1.128 GB, free: 3.32 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.51e-07/1.28, allocations: 0 / 1.128 GB, free: 3.32 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000639/1.281, allocations: 83.77 kB / 1.129 GB, free: 3.238 MB / 0.7292 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 () * 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.001583/1.282, allocations: 1.008 MB / 1.13 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003904/1.283, allocations: 107.9 kB / 1.13 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/1.283, allocations: 0 / 1.13 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001646/1.283, allocations: 63.94 kB / 1.13 GB, free: 2.047 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008216/1.284, allocations: 69.39 kB / 1.13 GB, free: 1.98 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/1.286, allocations: 0.5841 MB / 1.13 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000586/1.287, allocations: 0.8029 MB / 1.131 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002542/1.287, allocations: 31.22 kB / 1.131 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002789/1.287, allocations: 121.5 kB / 1.131 GB, free: 400 kB / 0.7292 GB Notification: Performance of SimCode: time 1.102e-06/1.287, allocations: 5.406 kB / 1.131 GB, free: 396 kB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05329/1.34, allocations: 6.816 MB / 1.138 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003593/1.341, allocations: 214.6 kB / 1.138 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.748/4.089, allocations: 3.281 kB / 1.138 GB, free: 9.473 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)