Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.0007195/0.0007195, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007412/0.0007412, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8214/0.8214, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.001358/0.001358, allocations: 241.2 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.645/0.645, allocations: 138.4 MB / 454.3 MB, free: 29.95 MB / 410.7 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.InternalResistancesTwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.6463 GB, free: 1.82 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.506e-06/9.708e-06, allocations: 2.281 kB / 0.6463 GB, free: 1.816 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.2129/0.2129, allocations: 3.791 MB / 0.65 GB, free: 55.1 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001882/0.2148, allocations: 2.223 MB / 0.6522 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001766/0.215, allocations: 10.47 kB / 0.6522 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0008872/0.2159, allocations: 0.4985 MB / 0.6527 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002394/0.2161, allocations: 262.5 kB / 0.653 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001326/0.2162, allocations: 138.8 kB / 0.6531 GB, free: 53.64 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0004575/0.2167, allocations: 0.8448 MB / 0.6539 GB, free: 53.17 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002366/0.2169, allocations: 213.8 kB / 0.6541 GB, free: 53.07 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000356/0.2173, allocations: 469.6 kB / 0.6546 GB, free: 52.86 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002158/0.2175, allocations: 241.6 kB / 0.6548 GB, free: 52.78 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 5.799e-05/0.2175, allocations: 72.78 kB / 0.6549 GB, free: 52.78 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 7.04e-05/0.2176, allocations: 75.28 kB / 0.6549 GB, free: 52.78 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 9.392e-05/0.2177, allocations: 174.4 kB / 0.6551 GB, free: 52.66 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001563/0.2179, allocations: 268.2 kB / 0.6554 GB, free: 52.54 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.000584/0.2185, allocations: 0.9924 MB / 0.6563 GB, free: 52.21 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2185, allocations: 1.688 kB / 0.6563 GB, free: 52.21 MB / 0.5573 GB Notification: Performance of FrontEnd: time 9.02e-07/0.2185, allocations: 0 / 0.6563 GB, free: 52.21 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.2185, allocations: 0 / 0.6563 GB, free: 52.21 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.0008103/0.2193, allocations: 0.8954 MB / 0.6572 GB, free: 51.59 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.2193, allocations: 11.3 kB / 0.6572 GB, free: 51.59 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.967e-05/0.2194, allocations: 92.2 kB / 0.6573 GB, free: 51.52 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.475e-05/0.2194, allocations: 77.03 kB / 0.6574 GB, free: 51.48 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004017/0.2198, allocations: 397.9 kB / 0.6578 GB, free: 51.18 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.2199, allocations: 40.06 kB / 0.6578 GB, free: 51.16 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.499e-05/0.2199, allocations: 49.47 kB / 0.6578 GB, free: 51.15 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004479/0.2204, allocations: 425.5 kB / 0.6583 GB, free: 50.96 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.2204, allocations: 6.094 kB / 0.6583 GB, free: 50.96 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/0.2204, allocations: 24.94 kB / 0.6583 GB, free: 50.94 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.2204, allocations: 12.09 kB / 0.6583 GB, free: 50.94 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004219/0.2208, allocations: 363.3 kB / 0.6586 GB, free: 50.82 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.222, allocations: 1.245 MB / 0.6599 GB, free: 50.11 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003219/0.2223, allocations: 326.9 kB / 0.6602 GB, free: 49.96 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002852/0.2226, allocations: 286.2 kB / 0.6604 GB, free: 49.86 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.2226, allocations: 5.219 kB / 0.6604 GB, free: 49.86 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.404e-05/0.2226, allocations: 36.94 kB / 0.6605 GB, free: 49.81 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=42): time 1.553e-06/0.2226, allocations: 4 kB / 0.6605 GB, free: 49.81 MB / 0.5573 GB Notification: Performance of matching and sorting (n=42): time 0.0005598/0.2232, allocations: 0.4925 MB / 0.661 GB, free: 49.59 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.16e-05/0.2232, allocations: 57.38 kB / 0.661 GB, free: 49.53 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003408/0.2236, allocations: 485.8 kB / 0.6615 GB, free: 49.3 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.2236, allocations: 32.72 kB / 0.6615 GB, free: 49.26 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 9.243e-05/0.2237, allocations: 274.5 kB / 0.6618 GB, free: 49.04 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 6.208e-05/0.2237, allocations: 159.9 kB / 0.6619 GB, free: 48.91 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.737e-05/0.2238, allocations: 60.38 kB / 0.662 GB, free: 48.87 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.49e-05/0.2238, allocations: 365.2 kB / 0.6623 GB, free: 48.54 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.224, allocations: 118.2 kB / 0.6624 GB, free: 48.49 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.2241, allocations: 130.5 kB / 0.6626 GB, free: 48.45 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000295/0.2244, allocations: 301.2 kB / 0.6629 GB, free: 48.3 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.2244, allocations: 0 / 0.6629 GB, free: 48.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003595/0.2248, allocations: 393.9 kB / 0.6632 GB, free: 48.12 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.2248, allocations: 8.594 kB / 0.6632 GB, free: 48.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.2248, allocations: 3.938 kB / 0.6632 GB, free: 48.12 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.2248, allocations: 2 kB / 0.6633 GB, free: 48.12 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002706/0.2251, allocations: 128.7 kB / 0.6634 GB, free: 48.11 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.2251, allocations: 2.922 kB / 0.6634 GB, free: 48.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.2252, allocations: 41.69 kB / 0.6634 GB, free: 48.08 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.2252, allocations: 11.81 kB / 0.6634 GB, free: 48.07 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 (46): * Single equations (assignments): 46 * 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.0001165/0.2253, allocations: 194.2 kB / 0.6636 GB, free: 47.91 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.204e-05/0.2253, allocations: 56.17 kB / 0.6637 GB, free: 47.88 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.61e-05/0.2254, allocations: 69.7 kB / 0.6637 GB, free: 47.84 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.2254, allocations: 3.281 kB / 0.6637 GB, free: 47.84 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2254, allocations: 3.938 kB / 0.6637 GB, free: 47.83 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2254, allocations: 4.547 kB / 0.6637 GB, free: 47.83 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000348/0.2258, allocations: 481.8 kB / 0.6642 GB, free: 47.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2258, allocations: 0 / 0.6642 GB, free: 47.54 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000274/0.226, allocations: 127.6 kB / 0.6643 GB, free: 47.52 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.226, allocations: 3.156 kB / 0.6643 GB, free: 47.52 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.2261, allocations: 17.5 kB / 0.6643 GB, free: 47.51 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2261, allocations: 1.938 kB / 0.6643 GB, free: 47.51 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2261, allocations: 0 / 0.6643 GB, free: 47.51 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005661/0.2266, allocations: 0.6525 MB / 0.665 GB, free: 47.15 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.633e-05/0.2267, allocations: 65.06 kB / 0.665 GB, free: 47.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/0.2267, allocations: 11 kB / 0.6651 GB, free: 47.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.2268, allocations: 10.56 kB / 0.6651 GB, free: 47.09 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-05/0.2269, allocations: 30.3 kB / 0.6651 GB, free: 47.09 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.2269, allocations: 11.69 kB / 0.6651 GB, free: 47.08 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002327/0.2271, allocations: 350 kB / 0.6654 GB, free: 46.92 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9e-08/0.2271, allocations: 0 / 0.6654 GB, free: 46.92 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000237/0.2273, allocations: 143.9 kB / 0.6656 GB, free: 46.89 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.000652/0.228, allocations: 1.198 MB / 0.6667 GB, free: 46 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003401/0.2283, allocations: 312 kB / 0.667 GB, free: 45.89 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.2283, allocations: 0 / 0.667 GB, free: 45.89 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001611/0.2285, allocations: 165.8 kB / 0.6672 GB, free: 45.84 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.2289, allocations: 125.8 kB / 0.6673 GB, free: 45.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004107/0.233, allocations: 4.82 MB / 0.672 GB, free: 43.14 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.2331, allocations: 268.5 kB / 0.6723 GB, free: 43.04 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001252/0.2333, allocations: 61.38 kB / 0.6723 GB, free: 43.03 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.2334, allocations: 186.8 kB / 0.6725 GB, free: 42.9 MB / 0.5573 GB Notification: Performance of SimCode: time 5.61e-07/0.2334, allocations: 0 / 0.6725 GB, free: 42.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02339/0.2568, allocations: 12.8 MB / 0.685 GB, free: 40.94 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.949/7.206, allocations: 5.25 kB / 0.685 GB, free: 40.93 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.579296361654997] Failed to read output from testmodel.py, exit status != 0: 7.290806928649545 7.301552071 7.081362432 Calling exit ...