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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 211.8 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.364/1.364, allocations: 230.6 MB / 256 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002608/0.002608, allocations: 295.8 kB / 312.7 MB, free: 2.668 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.173/1.173, allocations: 180.6 MB / 0.5369 GB, free: 14.5 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002915/0.002915, allocations: 106.3 kB / 0.7396 GB, free: 28.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1518, allocations: 95.39 MB / 0.8327 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004399/0.1562, allocations: 2.839 MB / 0.8355 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003347/0.1595, allocations: 1.958 MB / 0.8374 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003203/0.1598, allocations: 8 kB / 0.8374 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001584/0.1614, allocations: 454.6 kB / 0.8378 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004192/0.1618, allocations: 150.8 kB / 0.838 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001725/0.162, allocations: 59.94 kB / 0.838 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000617/0.1626, allocations: 451 kB / 0.8385 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002387/0.1629, allocations: 99.84 kB / 0.8386 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003413/0.1632, allocations: 171.3 kB / 0.8387 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002922/0.1635, allocations: 167.1 kB / 0.8389 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.906e-05/0.1636, allocations: 32 kB / 0.8389 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.95e-05/0.1636, allocations: 36 kB / 0.8389 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.1638, allocations: 95.67 kB / 0.839 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001939/0.1639, allocations: 167.2 kB / 0.8392 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006008/0.1645, allocations: 0.5602 MB / 0.8397 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1646, allocations: 0 / 0.8397 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1646, allocations: 0 / 0.8397 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.1646, allocations: 0 / 0.8397 GB, free: 1.078 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001089/0.1657, allocations: 0.6368 MB / 0.8404 GB, free: 416 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.1657, allocations: 9.938 kB / 0.8404 GB, free: 408 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.153e-05/0.1658, allocations: 58.73 kB / 0.8404 GB, free: 340 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.945e-05/0.1658, allocations: 44.66 kB / 0.8405 GB, free: 296 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005789/0.1664, allocations: 324.8 kB / 0.8408 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.1664, allocations: 16.81 kB / 0.8408 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.42e-05/0.1665, allocations: 24.38 kB / 0.8408 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004077/0.1669, allocations: 215.3 kB / 0.841 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.1669, allocations: 0 / 0.841 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.1669, allocations: 4 kB / 0.841 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.1669, allocations: 8 kB / 0.841 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003863/0.1673, allocations: 161.7 kB / 0.8412 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.1685, allocations: 0.6862 MB / 0.8419 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003141/0.1688, allocations: 148.4 kB / 0.842 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/0.169, allocations: 102.5 kB / 0.8421 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.169, allocations: 0 / 0.8421 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.1691, allocations: 34.56 kB / 0.8421 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=18): time 1.173e-06/0.1691, allocations: 0 / 0.8421 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18): time 0.0005992/0.1697, allocations: 265.3 kB / 0.8424 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.1697, allocations: 51.41 kB / 0.8424 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004887/0.1702, allocations: 421.7 kB / 0.8428 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.1702, allocations: 25.7 kB / 0.8429 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.1704, allocations: 204.5 kB / 0.8431 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.605e-05/0.1705, allocations: 75.34 kB / 0.8431 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.859e-05/0.1705, allocations: 29.72 kB / 0.8432 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.1707, allocations: 346.8 kB / 0.8435 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.1708, allocations: 63.97 kB / 0.8435 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.171, allocations: 57.98 kB / 0.8436 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000297/0.1713, allocations: 132.8 kB / 0.8437 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1713, allocations: 0 / 0.8437 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003986/0.1717, allocations: 211.9 kB / 0.8439 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1717, allocations: 9.719 kB / 0.8439 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1717, allocations: 7.938 kB / 0.8439 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.1717, allocations: 0 / 0.8439 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002577/0.1719, allocations: 51.95 kB / 0.844 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.172, allocations: 4 kB / 0.844 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.1721, allocations: 15.89 kB / 0.844 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.1721, allocations: 4 kB / 0.844 GB, free: 12.5 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001625/0.1723, allocations: 165.8 kB / 0.8442 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.35e-05/0.1723, allocations: 43.77 kB / 0.8442 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.542e-05/0.1724, allocations: 47.41 kB / 0.8443 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.1724, allocations: 7.984 kB / 0.8443 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.1724, allocations: 3.984 kB / 0.8443 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1724, allocations: 0 / 0.8443 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003852/0.1728, allocations: 308.5 kB / 0.8446 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1728, allocations: 0 / 0.8446 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002575/0.1731, allocations: 55.91 kB / 0.8446 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1731, allocations: 0 / 0.8446 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.1731, allocations: 7.938 kB / 0.8446 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.1731, allocations: 0 / 0.8446 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1731, allocations: 0 / 0.8446 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006161/0.1737, allocations: 379.1 kB / 0.845 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.614e-05/0.1738, allocations: 47.72 kB / 0.845 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.27e-05/0.1738, allocations: 3.938 kB / 0.845 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.174, allocations: 8 kB / 0.8451 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.174, allocations: 11.97 kB / 0.8451 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.174, allocations: 8 kB / 0.8451 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003398/0.1744, allocations: 303.1 kB / 0.8454 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1744, allocations: 4.062 kB / 0.8454 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003024/0.1747, allocations: 75.84 kB / 0.8454 GB, free: 10.98 MB / 0.5919 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 (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.0009157/0.1756, allocations: 0.9213 MB / 0.8463 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003567/0.176, allocations: 139.8 kB / 0.8465 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.176, allocations: 0 / 0.8465 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001685/0.1761, allocations: 83.89 kB / 0.8465 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005123/0.1766, allocations: 80.55 kB / 0.8466 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004604/0.1812, allocations: 3.494 MB / 0.85 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001912/0.1814, allocations: 194.5 kB / 0.8502 GB, free: 5.953 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00013/0.1816, allocations: 34.91 kB / 0.8503 GB, free: 5.918 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000171/0.1817, allocations: 119.4 kB / 0.8504 GB, free: 5.801 MB / 0.5919 GB Notification: Performance of SimCode: time 4e-07/0.1817, allocations: 0 / 0.8504 GB, free: 5.801 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03764/0.2194, allocations: 8.991 MB / 0.8591 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.07, allocations: 13.16 kB / 0.8592 GB, free: 13.11 MB / 0.6075 GB " [Timeout remaining time 649] (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/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.959136928897351] Failed to read output from testmodel.py, exit status != 0: 11.17312965914607 11.188595412 11.021002806 Calling exit ...