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.Functions.Validation.InternalResistancesTwoUTube.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.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.931/2.931, allocations: 287.3 MB / 302.3 MB, free: 8.246 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.001518/0.001518, allocations: 178.6 kB / 370.8 MB, free: 10.85 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.096/2.096, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00116/0.00116, allocations: 99.62 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006357/0.0006357, allocations: 12.78 kB / 0.8658 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.206, allocations: 115.3 MB / 0.9783 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.016/1.222, allocations: 159.2 MB / 1.134 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003854/1.223, allocations: 126.2 kB / 1.134 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06934/1.292, allocations: 15.05 MB / 1.149 GB, free: 23.16 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.144e-06/1.292, allocations: 3.844 kB / 1.149 GB, free: 23.16 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.064e-06/1.292, allocations: 0 / 1.149 GB, free: 23.16 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.001088/1.293, allocations: 0.578 MB / 1.149 GB, free: 22.61 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/1.293, allocations: 7.719 kB / 1.149 GB, free: 22.61 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.662e-05/1.293, allocations: 105.8 kB / 1.149 GB, free: 22.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.592e-05/1.293, allocations: 90.98 kB / 1.149 GB, free: 22.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/1.294, allocations: 253.9 kB / 1.15 GB, free: 22.14 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.202e-05/1.294, allocations: 150.6 kB / 1.15 GB, free: 21.99 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-05/1.294, allocations: 150.6 kB / 1.15 GB, free: 21.84 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.422e-05/1.294, allocations: 101 kB / 1.15 GB, free: 21.73 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.564e-05/1.294, allocations: 75.28 kB / 1.15 GB, free: 21.66 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.972e-05/1.294, allocations: 158.4 kB / 1.15 GB, free: 21.51 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.827e-05/1.294, allocations: 154.5 kB / 1.15 GB, free: 21.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.528e-05/1.294, allocations: 154.5 kB / 1.151 GB, free: 21.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003209/1.294, allocations: 469 kB / 1.151 GB, free: 20.71 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.477e-05/1.294, allocations: 173.1 kB / 1.151 GB, free: 20.54 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.627e-05/1.295, allocations: 75.28 kB / 1.151 GB, free: 20.46 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.772e-05/1.295, allocations: 109.7 kB / 1.151 GB, free: 20.35 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.923e-06/1.295, allocations: 3.938 kB / 1.151 GB, free: 20.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 8.505e-05/1.295, allocations: 33.55 kB / 1.151 GB, free: 20.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.763e-05/1.295, allocations: 126.7 kB / 1.151 GB, free: 20.17 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/1.295, allocations: 126.9 kB / 1.152 GB, free: 20.06 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/1.295, allocations: 25.7 kB / 1.152 GB, free: 20.03 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.173e-05/1.295, allocations: 99.44 kB / 1.152 GB, free: 19.94 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.454e-06/1.295, allocations: 0 / 1.152 GB, free: 19.94 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/1.295, allocations: 0 / 1.152 GB, free: 19.94 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001363/1.295, allocations: 322.5 kB / 1.152 GB, free: 19.62 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.934e-05/1.295, allocations: 0 / 1.152 GB, free: 19.62 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.243e-05/1.295, allocations: 7.5 kB / 1.152 GB, free: 19.62 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.618e-05/1.295, allocations: 15.39 kB / 1.152 GB, free: 19.62 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/1.295, allocations: 0 / 1.152 GB, free: 19.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001498/1.295, allocations: 48.58 kB / 1.152 GB, free: 19.58 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/1.296, allocations: 3.844 kB / 1.152 GB, free: 19.58 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.276e-05/1.296, allocations: 3.875 kB / 1.152 GB, free: 19.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/1.296, allocations: 0 / 1.152 GB, free: 19.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.306e-06/1.296, allocations: 3.984 kB / 1.152 GB, free: 19.58 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/1.296, allocations: 0 / 1.152 GB, free: 19.58 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.473e-05/1.296, allocations: 3.906 kB / 1.152 GB, free: 19.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/1.296, allocations: 3.969 kB / 1.152 GB, free: 19.57 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.000115/1.296, allocations: 196.9 kB / 1.152 GB, free: 19.38 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.391e-05/1.296, allocations: 104.9 kB / 1.152 GB, free: 19.27 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.135e-05/1.296, allocations: 108.9 kB / 1.152 GB, free: 19.16 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.162e-05/1.296, allocations: 184.1 kB / 1.153 GB, free: 18.97 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.555e-05/1.296, allocations: 184.1 kB / 1.153 GB, free: 18.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.055e-05/1.296, allocations: 184.2 kB / 1.153 GB, free: 18.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/1.296, allocations: 412.6 kB / 1.153 GB, free: 18.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-05/1.297, allocations: 104.9 kB / 1.154 GB, free: 18.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.679e-05/1.297, allocations: 108.2 kB / 1.154 GB, free: 17.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.864e-05/1.297, allocations: 184.2 kB / 1.154 GB, free: 17.75 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.429e-05/1.297, allocations: 184.2 kB / 1.154 GB, free: 17.56 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.653e-05/1.297, allocations: 180.3 kB / 1.154 GB, free: 17.38 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.522e-05/1.297, allocations: 184 kB / 1.154 GB, free: 17.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/1.297, allocations: 317 kB / 1.155 GB, free: 16.87 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/1.297, allocations: 182 kB / 1.155 GB, free: 16.67 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.813e-05/1.297, allocations: 184.1 kB / 1.155 GB, free: 16.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/1.297, allocations: 108.8 kB / 1.155 GB, free: 16.38 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.447e-05/1.298, allocations: 180.2 kB / 1.155 GB, free: 16.19 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.827e-05/1.298, allocations: 108.8 kB / 1.155 GB, free: 16.08 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.795e-05/1.298, allocations: 94.27 kB / 1.155 GB, free: 16 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.51e-07/1.298, allocations: 0 / 1.155 GB, free: 16 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001234/1.299, allocations: 337.4 kB / 1.156 GB, free: 15.89 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.002039/1.301, allocations: 1.209 MB / 1.157 GB, free: 14.91 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001402/1.301, allocations: 37.27 kB / 1.157 GB, free: 14.88 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.301, allocations: 0 / 1.157 GB, free: 14.88 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.957e-06/1.301, allocations: 12 kB / 1.157 GB, free: 14.87 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004209/1.302, allocations: 0.5276 MB / 1.157 GB, free: 14.35 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/1.303, allocations: 0.6088 MB / 1.158 GB, free: 13.79 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/1.303, allocations: 0.6883 MB / 1.159 GB, free: 13.09 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.051e-05/1.303, allocations: 0 / 1.159 GB, free: 13.09 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.231e-05/1.303, allocations: 15.09 kB / 1.159 GB, free: 13.08 MB / 0.698 GB Notification: Performance of SimCode: time 1.052e-06/1.303, allocations: 0 / 1.159 GB, free: 13.08 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03332/1.337, allocations: 6.54 MB / 1.165 GB, free: 7.855 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004211/1.337, allocations: 311.2 kB / 1.165 GB, free: 7.492 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.755/4.092, allocations: 0 / 1.165 GB, free: 7.492 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)