Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0006655/0.0006655, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009194/0.001585, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007007/0.0007007, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009233/0.001624, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.8676/0.8676, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0748/0.9423, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.791/1.791, allocations: 390 MB / 0.6193 GB, free: 11.63 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4547/2.246, allocations: 127.1 MB / 0.7435 GB, free: 4.5 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0.9844 kB / 0.7448 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.916e-05/2.089e-05, allocations: 4.422 kB / 0.7448 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005272/0.005293, allocations: 4.234 MB / 0.749 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.004323/0.009617, allocations: 2.478 MB / 0.7514 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003728/0.009989, allocations: 8 kB / 0.7514 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001536/0.01153, allocations: 0.536 MB / 0.7519 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0005395/0.01206, allocations: 249.1 kB / 0.7522 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000247/0.01231, allocations: 147.8 kB / 0.7523 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0009425/0.01325, allocations: 0.8367 MB / 0.7531 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000378/0.01363, allocations: 229 kB / 0.7533 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008545/0.01449, allocations: 0.5408 MB / 0.7539 GB, free: 9.938 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004143/0.0149, allocations: 251.8 kB / 0.7541 GB, free: 9.691 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.015, allocations: 76 kB / 0.7542 GB, free: 9.617 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.01512, allocations: 75.56 kB / 0.7543 GB, free: 9.547 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.01527, allocations: 139.5 kB / 0.7544 GB, free: 9.41 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0002726/0.01554, allocations: 227.6 kB / 0.7546 GB, free: 9.188 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0006119/0.01615, allocations: 490.2 kB / 0.7551 GB, free: 8.707 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.447e-05/0.01616, allocations: 0 / 0.7551 GB, free: 8.707 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.784e-06/0.01617, allocations: 0 / 0.7551 GB, free: 8.707 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.463e-05/0.01619, allocations: 0 / 0.7551 GB, free: 8.707 MB / 0.7292 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.001394/0.01758, allocations: 0.9973 MB / 0.7561 GB, free: 7.684 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.01762, allocations: 13.17 kB / 0.7561 GB, free: 7.672 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.01777, allocations: 88.88 kB / 0.7562 GB, free: 7.586 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004605/0.01823, allocations: 284.2 kB / 0.7564 GB, free: 7.285 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.829e-05/0.01826, allocations: 38.16 kB / 0.7565 GB, free: 7.246 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.875e-05/0.01833, allocations: 52.33 kB / 0.7565 GB, free: 7.195 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004305/0.01876, allocations: 292.6 kB / 0.7568 GB, free: 6.902 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.01878, allocations: 192 / 0.7568 GB, free: 6.902 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.161e-05/0.01881, allocations: 18.12 kB / 0.7568 GB, free: 6.887 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/0.01883, allocations: 15.94 kB / 0.7568 GB, free: 6.871 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000244/0.01907, allocations: 138.8 kB / 0.757 GB, free: 6.734 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001453/0.02053, allocations: 0.8564 MB / 0.7578 GB, free: 5.863 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002755/0.0208, allocations: 165 kB / 0.7579 GB, free: 5.691 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/0.02102, allocations: 154.1 kB / 0.7581 GB, free: 5.539 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.02105, allocations: 15.92 kB / 0.7581 GB, free: 5.523 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.02108, allocations: 40.84 kB / 0.7581 GB, free: 5.477 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=42): time 1.853e-06/0.02108, allocations: 0 / 0.7581 GB, free: 5.477 MB / 0.7292 GB Notification: Performance of matching and sorting (n=42): time 0.000392/0.02147, allocations: 217.2 kB / 0.7584 GB, free: 5.258 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.0215, allocations: 55.41 kB / 0.7584 GB, free: 5.191 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003197/0.02182, allocations: 344.1 kB / 0.7587 GB, free: 4.844 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.02185, allocations: 37.7 kB / 0.7588 GB, free: 4.801 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.02197, allocations: 234.3 kB / 0.759 GB, free: 4.57 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.02209, allocations: 150.7 kB / 0.7591 GB, free: 4.422 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.569e-05/0.02217, allocations: 62.05 kB / 0.7592 GB, free: 4.352 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.0223, allocations: 359.2 kB / 0.7595 GB, free: 3.992 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.31e-05/0.02237, allocations: 41.45 kB / 0.7596 GB, free: 3.953 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.169e-05/0.02244, allocations: 45.23 kB / 0.7596 GB, free: 3.91 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.02263, allocations: 131.2 kB / 0.7597 GB, free: 3.781 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.02264, allocations: 0 / 0.7597 GB, free: 3.781 MB / 0.7292 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002701/0.02291, allocations: 185.3 kB / 0.7599 GB, free: 3.594 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.02292, allocations: 5.469 kB / 0.7599 GB, free: 3.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.02293, allocations: 0 / 0.7599 GB, free: 3.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.02294, allocations: 4 kB / 0.7599 GB, free: 3.586 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006341/0.02358, allocations: 211.3 kB / 0.7601 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.02358, allocations: 0 / 0.7601 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.02373, allocations: 35.77 kB / 0.7602 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.02375, allocations: 4.938 kB / 0.7602 GB, free: 3.348 MB / 0.7292 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.0001274/0.02387, allocations: 133.6 kB / 0.7603 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.708e-05/0.02394, allocations: 43.91 kB / 0.7603 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.268e-05/0.02402, allocations: 56.8 kB / 0.7604 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.02403, allocations: 5.125 kB / 0.7604 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.02404, allocations: 0 / 0.7604 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.02404, allocations: 0 / 0.7604 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004124/0.02445, allocations: 302.3 kB / 0.7607 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.02446, allocations: 0 / 0.7607 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005921/0.02505, allocations: 204.8 kB / 0.7609 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.321e-05/0.02512, allocations: 56.97 kB / 0.7609 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.02513, allocations: 4 kB / 0.7609 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/0.02515, allocations: 4 kB / 0.7609 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.02516, allocations: 4 kB / 0.761 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.02516, allocations: 1.562 kB / 0.761 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000457/0.02562, allocations: 368 kB / 0.7613 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.366e-05/0.02566, allocations: 4 kB / 0.7613 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.02582, allocations: 15.98 kB / 0.7613 GB, free: 2.141 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.177e-05/0.02587, allocations: 21.5 kB / 0.7613 GB, free: 2.121 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.02589, allocations: 15.98 kB / 0.7614 GB, free: 2.105 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001775/0.02607, allocations: 152.7 kB / 0.7615 GB, free: 1.957 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.02607, allocations: 0 / 0.7615 GB, free: 1.957 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003973/0.02647, allocations: 152.2 kB / 0.7616 GB, free: 1.809 MB / 0.7292 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.0001439/0.02661, allocations: 101.9 kB / 0.7617 GB, free: 1.703 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002567/0.02687, allocations: 156.6 kB / 0.7619 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.09e-05/0.02689, allocations: 16.7 kB / 0.7619 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.02705, allocations: 120.8 kB / 0.762 GB, free: 1.41 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.0281, allocations: 1.329 MB / 0.7633 GB, free: 15.82 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009681/0.03778, allocations: 1.006 MB / 0.7643 GB, free: 14.78 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.0379, allocations: 138.6 kB / 0.7644 GB, free: 14.63 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 0.0002771/0.03818, allocations: 47.23 kB / 0.7645 GB, free: 14.59 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003338/0.03852, allocations: 165.3 kB / 0.7646 GB, free: 14.43 MB / 0.7449 GB Notification: Performance of SimCode: time 1.242e-06/0.03852, allocations: 0.6562 kB / 0.7646 GB, free: 14.43 MB / 0.7449 GB Notification: Performance of Templates: time 0.01347/0.05198, allocations: 7.222 MB / 0.7717 GB, free: 7.555 MB / 0.7449 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.561191382817924]