Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 107.6 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002462/0.002462, allocations: 289.4 kB / 303 MB, free: 9.508 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.154/1.154, allocations: 180.9 MB / 0.5261 GB, free: 14.65 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00266/0.00266, allocations: 104.7 kB / 0.7248 GB, free: 40.46 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1415, allocations: 94.15 MB / 0.8168 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002484/0.144, allocations: 1.442 MB / 0.8182 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004276/0.1483, allocations: 2.882 MB / 0.821 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.307e-05/0.1483, allocations: 3.938 kB / 0.821 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.958e-05/0.1483, allocations: 3.938 kB / 0.821 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.437e-05/0.1484, allocations: 15.84 kB / 0.821 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003839/0.1522, allocations: 1.557 MB / 0.8226 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.447e-05/0.1523, allocations: 43.67 kB / 0.8226 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.424e-05/0.1524, allocations: 4.281 kB / 0.8226 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.721e-05/0.1524, allocations: 19.92 kB / 0.8226 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.424e-05/0.1524, allocations: 11.94 kB / 0.8226 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.041e-05/0.1524, allocations: 4 kB / 0.8226 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002212/0.1546, allocations: 1.525 MB / 0.8241 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.694e-05/0.1547, allocations: 11.92 kB / 0.8241 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.291e-05/0.1547, allocations: 19.86 kB / 0.8242 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001429/0.1561, allocations: 1.083 MB / 0.8252 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1561, allocations: 0 / 0.8252 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1561, allocations: 0 / 0.8252 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.1561, allocations: 0 / 0.8252 GB, free: 12.86 MB / 0.5762 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.0006365/0.1568, allocations: 0.5324 MB / 0.8257 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.1568, allocations: 12.03 kB / 0.8257 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.181e-05/0.1569, allocations: 110 kB / 0.8258 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.358e-05/0.1569, allocations: 84.11 kB / 0.8259 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.1571, allocations: 251.5 kB / 0.8262 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.548e-05/0.1572, allocations: 150.9 kB / 0.8263 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.665e-05/0.1573, allocations: 158.9 kB / 0.8265 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.032e-05/0.1574, allocations: 104.9 kB / 0.8266 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.891e-05/0.1574, allocations: 79.22 kB / 0.8266 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.626e-05/0.1575, allocations: 158.5 kB / 0.8268 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.596e-05/0.1575, allocations: 150.6 kB / 0.8269 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.851e-05/0.1576, allocations: 154.5 kB / 0.8271 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004463/0.1581, allocations: 465.9 kB / 0.8275 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.1582, allocations: 165.1 kB / 0.8277 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.048e-05/0.1582, allocations: 84.14 kB / 0.8278 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.332e-05/0.1583, allocations: 83.2 kB / 0.8278 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.623e-05/0.1583, allocations: 109.8 kB / 0.8279 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.333e-06/0.1583, allocations: 0 / 0.8279 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 0.0001041/0.1584, allocations: 37.59 kB / 0.828 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.138e-05/0.1585, allocations: 130.7 kB / 0.8281 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.1587, allocations: 132.3 kB / 0.8282 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.1587, allocations: 25.7 kB / 0.8283 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.414e-05/0.1588, allocations: 96.16 kB / 0.8284 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-06/0.1588, allocations: 4 kB / 0.8284 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-05/0.1588, allocations: 17.7 kB / 0.8284 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.159, allocations: 314.8 kB / 0.8287 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.088e-05/0.159, allocations: 4 kB / 0.8287 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.288e-05/0.1591, allocations: 4 kB / 0.8287 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.474e-05/0.1591, allocations: 20.78 kB / 0.8287 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.1591, allocations: 0 / 0.8287 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001841/0.1593, allocations: 53.59 kB / 0.8287 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.1593, allocations: 4.062 kB / 0.8288 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.225e-05/0.1593, allocations: 8 kB / 0.8288 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.1594, allocations: 3.984 kB / 0.8288 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-06/0.1594, allocations: 0 / 0.8288 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.1594, allocations: 4 kB / 0.8288 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.051e-05/0.1594, allocations: 0 / 0.8288 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.1594, allocations: 0 / 0.8288 GB, free: 8.973 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000131/0.1595, allocations: 185.1 kB / 0.8289 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.1596, allocations: 116.8 kB / 0.8291 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.209e-05/0.1597, allocations: 112.9 kB / 0.8292 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001056/0.1598, allocations: 184.2 kB / 0.8293 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.975e-05/0.1599, allocations: 184.2 kB / 0.8295 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.804e-05/0.16, allocations: 176.3 kB / 0.8297 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003757/0.1604, allocations: 413.1 kB / 0.8301 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-05/0.1604, allocations: 109 kB / 0.8302 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.36e-05/0.1605, allocations: 105 kB / 0.8303 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.572e-05/0.1606, allocations: 184.2 kB / 0.8305 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.121e-05/0.1607, allocations: 176.3 kB / 0.8306 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.616e-05/0.1608, allocations: 184.2 kB / 0.8308 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.174e-05/0.1609, allocations: 176.3 kB / 0.831 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002112/0.1611, allocations: 323.6 kB / 0.8313 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.1612, allocations: 186 kB / 0.8315 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.1613, allocations: 180.2 kB / 0.8316 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.1614, allocations: 105 kB / 0.8317 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.1616, allocations: 188.3 kB / 0.8319 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.79e-05/0.1616, allocations: 112.9 kB / 0.832 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.348e-05/0.1617, allocations: 97.3 kB / 0.8321 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1617, allocations: 0 / 0.8321 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00115/0.1629, allocations: 287 kB / 0.8324 GB, free: 5.047 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001831/0.1647, allocations: 1.155 MB / 0.8335 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001245/0.1648, allocations: 41.62 kB / 0.8335 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1648, allocations: 0 / 0.8335 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.334e-06/0.1648, allocations: 4 kB / 0.8336 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005992/0.1654, allocations: 459.8 kB / 0.834 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/0.1674, allocations: 1.594 MB / 0.8355 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/0.1678, allocations: 0.6846 MB / 0.8362 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.712e-05/0.1678, allocations: 0 / 0.8362 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.198e-05/0.1678, allocations: 15.44 kB / 0.8362 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of SimCode: time 4.3e-07/0.1678, allocations: 4.031 kB / 0.8362 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0813/0.2491, allocations: 6.926 MB / 0.843 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.215/8.464, allocations: 17.09 kB / 0.843 GB, free: 10.25 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.322588074021041] Failed to read output from testmodel.py, exit status != 0: 8.538211551029235 8.563178278 8.402714121 Calling exit ...