Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.8643/0.8643, allocations: 143.3 MB / 158.3 MB, free: 5.773 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 177 kB / 191.5 MB, free: 5.766 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 223.2 MB / 447.7 MB, free: 6.555 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 96.27 kB / 0.5187 GB, free: 2.91 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002004/0.002004, allocations: 266.3 kB / 0.6005 GB, free: 48.99 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004172/0.0004174, allocations: 12 kB / 0.693 GB, free: 2.18 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.376, allocations: 82.77 MB / 0.7738 GB, free: 26.2 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1533/0.5294, allocations: 117.2 MB / 0.8882 GB, free: 4.867 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003374/0.5298, allocations: 111.9 kB / 0.8884 GB, free: 4.758 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.0486/0.5784, allocations: 18.22 MB / 0.9061 GB, free: 2.453 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5784, allocations: 0 / 0.9061 GB, free: 2.453 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.345e-05/0.5785, allocations: 8 kB / 0.9062 GB, free: 2.445 MB / 0.5573 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.0009571/0.5794, allocations: 0.6502 MB / 0.9068 GB, free: 1.746 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.5795, allocations: 8.031 kB / 0.9068 GB, free: 1.738 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.577e-05/0.5796, allocations: 58.53 kB / 0.9069 GB, free: 1.672 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.804e-05/0.5796, allocations: 43.78 kB / 0.9069 GB, free: 1.629 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004721/0.5801, allocations: 365.1 kB / 0.9072 GB, free: 1.234 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.5801, allocations: 20.44 kB / 0.9073 GB, free: 1.215 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.205e-05/0.5802, allocations: 24 kB / 0.9073 GB, free: 1.191 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004039/0.5806, allocations: 198.7 kB / 0.9075 GB, free: 0.9961 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.5806, allocations: 0 / 0.9075 GB, free: 0.9961 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.299e-05/0.5806, allocations: 12 kB / 0.9075 GB, free: 0.9844 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.5807, allocations: 4 kB / 0.9075 GB, free: 0.9805 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003876/0.5811, allocations: 177.6 kB / 0.9077 GB, free: 0.8047 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3686/0.9496, allocations: 0.8693 MB / 0.9085 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004479/0.9501, allocations: 160.8 kB / 0.9087 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.9502, allocations: 3.469 kB / 0.9087 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.9502, allocations: 34.66 kB / 0.9087 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=18): time 3.296e-06/0.9502, allocations: 0 / 0.9087 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of matching and sorting (n=18): time 0.0007497/0.951, allocations: 273.5 kB / 0.909 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.951, allocations: 57.88 kB / 0.909 GB, free: 124.3 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005605/0.9516, allocations: 373.9 kB / 0.9094 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.9516, allocations: 26.52 kB / 0.9094 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.9518, allocations: 208 kB / 0.9096 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.546e-05/0.9518, allocations: 62.36 kB / 0.9097 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.815e-06/0.9518, allocations: 7.125 kB / 0.9097 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.737e-05/0.9519, allocations: 346.4 kB / 0.91 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001657/0.9521, allocations: 59.41 kB / 0.91 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.9523, allocations: 62.3 kB / 0.9101 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.9524, allocations: 71.31 kB / 0.9102 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.9524, allocations: 0 / 0.9102 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004152/0.9529, allocations: 224 kB / 0.9104 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.9529, allocations: 5.281 kB / 0.9104 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.9529, allocations: 0.6875 kB / 0.9104 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.9529, allocations: 1.375 kB / 0.9104 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002981/0.9532, allocations: 55.11 kB / 0.9105 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.9532, allocations: 4.297 kB / 0.9105 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/0.9534, allocations: 25.97 kB / 0.9105 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.9535, allocations: 7.297 kB / 0.9105 GB, free: 123.7 MB / 0.5573 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.0001656/0.9536, allocations: 175.3 kB / 0.9107 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.067e-05/0.9537, allocations: 38.14 kB / 0.9107 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.143e-05/0.9538, allocations: 38 kB / 0.9107 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.9538, allocations: 1.562 kB / 0.9107 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.9538, allocations: 2.078 kB / 0.9107 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.9538, allocations: 0.5625 kB / 0.9107 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004531/0.9543, allocations: 374.9 kB / 0.9111 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.9543, allocations: 4.188 kB / 0.9111 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002886/0.9546, allocations: 61.83 kB / 0.9112 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.9546, allocations: 1.359 kB / 0.9112 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.9546, allocations: 5.188 kB / 0.9112 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.9546, allocations: 5.391 kB / 0.9112 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.9546, allocations: 0 / 0.9112 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006211/0.9553, allocations: 401 kB / 0.9115 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.145e-05/0.9554, allocations: 123.1 kB / 0.9117 GB, free: 123.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.339e-05/0.9554, allocations: 1.344 kB / 0.9117 GB, free: 123.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.9556, allocations: 13.03 kB / 0.9117 GB, free: 123.1 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/0.9557, allocations: 12.02 kB / 0.9117 GB, free: 123.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.9557, allocations: 7.688 kB / 0.9117 GB, free: 123.1 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003485/0.956, allocations: 304.3 kB / 0.912 GB, free: 123 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.4e-07/0.956, allocations: 1 kB / 0.912 GB, free: 123 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003943/0.9564, allocations: 82.81 kB / 0.9121 GB, free: 123 MB / 0.5573 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.001123/0.9576, allocations: 1.078 MB / 0.9131 GB, free: 122.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003738/0.958, allocations: 163.1 kB / 0.9133 GB, free: 122.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.958, allocations: 0 / 0.9133 GB, free: 122.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001846/0.9582, allocations: 86.09 kB / 0.9134 GB, free: 122.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004872/0.9587, allocations: 85.89 kB / 0.9134 GB, free: 122.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003783/0.9625, allocations: 2.18 MB / 0.9156 GB, free: 121.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000335/0.9628, allocations: 0.8042 MB / 0.9164 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001867/0.963, allocations: 31.39 kB / 0.9164 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/0.9632, allocations: 119.5 kB / 0.9165 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of SimCode: time 7.51e-07/0.9632, allocations: 0 / 0.9165 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02582/0.989, allocations: 9.223 MB / 0.9255 GB, free: 120.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001605/0.9892, allocations: 262.7 kB / 0.9258 GB, free: 119.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.266/3.255, allocations: 1.859 kB / 0.9258 GB, free: 119.9 MB / 0.5573 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)