Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.0009939/0.0009939, allocations: 73.97 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001092/0.001092, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.9108/0.9108, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.001641/0.001641, allocations: 245.4 kB / 261.3 MB, free: 12.66 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.6953/0.6953, allocations: 138.4 MB / 456.3 MB, free: 1.426 MB / 362.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: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 3.938 kB / 0.5565 GB, free: 144 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.638e-05/1.759e-05, allocations: 2.312 kB / 0.5565 GB, free: 140 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001915/0.001933, allocations: 1.477 MB / 0.5579 GB, free: 14.64 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003331/0.005264, allocations: 2.786 MB / 0.5606 GB, free: 11.84 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.146e-05/0.005315, allocations: 0 / 0.5606 GB, free: 11.84 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.103e-05/0.005336, allocations: 3.938 kB / 0.5606 GB, free: 11.84 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.685e-05/0.005393, allocations: 19.78 kB / 0.5607 GB, free: 11.82 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003065/0.008459, allocations: 1.64 MB / 0.5623 GB, free: 10.18 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.496e-05/0.008543, allocations: 51.67 kB / 0.5623 GB, free: 10.13 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.338e-05/0.008577, allocations: 7.938 kB / 0.5623 GB, free: 10.12 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.056e-05/0.008607, allocations: 11.98 kB / 0.5623 GB, free: 10.11 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.064e-05/0.008628, allocations: 19.92 kB / 0.5624 GB, free: 10.09 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.358e-06/0.008637, allocations: 4 kB / 0.5624 GB, free: 10.09 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001738/0.01038, allocations: 1.489 MB / 0.5638 GB, free: 8.594 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.377e-05/0.01039, allocations: 0 / 0.5638 GB, free: 8.594 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.535e-05/0.01041, allocations: 15.92 kB / 0.5638 GB, free: 8.578 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001719/0.01213, allocations: 1.293 MB / 0.5651 GB, free: 7.281 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.01214, allocations: 4 kB / 0.5651 GB, free: 7.277 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.01214, allocations: 0 / 0.5651 GB, free: 7.277 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.01214, allocations: 3.938 kB / 0.5651 GB, free: 7.273 MB / 490.7 MB 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.0004278/0.01257, allocations: 0.5567 MB / 0.5656 GB, free: 6.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.0126, allocations: 12.03 kB / 0.5657 GB, free: 6.668 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.247e-05/0.01265, allocations: 120.1 kB / 0.5658 GB, free: 6.551 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.567e-05/0.01275, allocations: 247.6 kB / 0.566 GB, free: 6.281 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.047e-05/0.0128, allocations: 238.8 kB / 0.5662 GB, free: 6.047 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.836e-05/0.01284, allocations: 238.8 kB / 0.5665 GB, free: 5.812 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.477e-05/0.0129, allocations: 149.4 kB / 0.5666 GB, free: 5.66 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/0.01292, allocations: 127.4 kB / 0.5667 GB, free: 5.535 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.896e-05/0.01298, allocations: 246.5 kB / 0.567 GB, free: 5.293 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.485e-05/0.01303, allocations: 238.4 kB / 0.5672 GB, free: 5.059 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.078e-05/0.01308, allocations: 238.4 kB / 0.5674 GB, free: 4.824 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001916/0.01327, allocations: 0.5647 MB / 0.568 GB, free: 4.234 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.142e-05/0.01335, allocations: 265.4 kB / 0.5682 GB, free: 3.961 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.823e-05/0.01338, allocations: 134.9 kB / 0.5683 GB, free: 3.824 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.01341, allocations: 119.2 kB / 0.5685 GB, free: 3.707 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.01344, allocations: 156.6 kB / 0.5686 GB, free: 3.543 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.01344, allocations: 0 / 0.5686 GB, free: 3.543 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 4.627e-05/0.01349, allocations: 29.7 kB / 0.5686 GB, free: 3.508 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/0.01355, allocations: 174.6 kB / 0.5688 GB, free: 3.324 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.802e-05/0.01364, allocations: 204.5 kB / 0.569 GB, free: 3.109 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.01365, allocations: 25.7 kB / 0.569 GB, free: 3.078 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.4e-05/0.0137, allocations: 146.8 kB / 0.5692 GB, free: 2.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.543e-06/0.0137, allocations: 0 / 0.5692 GB, free: 2.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.409e-05/0.01372, allocations: 23.38 kB / 0.5692 GB, free: 2.898 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.01383, allocations: 0.4923 MB / 0.5697 GB, free: 2.395 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.487e-05/0.01384, allocations: 3.984 kB / 0.5697 GB, free: 2.391 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.316e-06/0.01385, allocations: 4 kB / 0.5697 GB, free: 2.387 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.004e-05/0.01388, allocations: 15.75 kB / 0.5697 GB, free: 2.367 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.01388, allocations: 4.031 kB / 0.5697 GB, free: 2.363 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.947e-05/0.01396, allocations: 45.66 kB / 0.5697 GB, free: 2.312 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.01397, allocations: 4 kB / 0.5697 GB, free: 2.309 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/0.01399, allocations: 7.984 kB / 0.5697 GB, free: 2.301 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.402e-06/0.014, allocations: 0 / 0.5697 GB, free: 2.301 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.623e-06/0.014, allocations: 3.938 kB / 0.5698 GB, free: 2.297 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.014, allocations: 7.922 kB / 0.5698 GB, free: 2.289 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.571e-05/0.01402, allocations: 7.938 kB / 0.5698 GB, free: 2.281 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.01402, allocations: 0 / 0.5698 GB, free: 2.281 MB / 490.7 MB 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 7.418e-05/0.0141, allocations: 275.8 kB / 0.57 GB, free: 2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.631e-05/0.01414, allocations: 160.9 kB / 0.5702 GB, free: 1.836 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.802e-05/0.01418, allocations: 160.6 kB / 0.5703 GB, free: 1.676 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.504e-05/0.01423, allocations: 268 kB / 0.5706 GB, free: 1.406 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.257e-05/0.01429, allocations: 264.1 kB / 0.5708 GB, free: 1.141 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.373e-05/0.01434, allocations: 279.9 kB / 0.5711 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.01449, allocations: 484.5 kB / 0.5716 GB, free: 360 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.982e-05/0.01452, allocations: 152.8 kB / 0.5717 GB, free: 200 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.863e-05/0.01455, allocations: 144.9 kB / 0.5719 GB, free: 48 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-05/0.01461, allocations: 264.2 kB / 0.5721 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003263/0.01494, allocations: 276 kB / 0.5724 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.646e-05/0.01498, allocations: 268.1 kB / 0.5726 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.077e-05/0.01504, allocations: 276 kB / 0.5729 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.01514, allocations: 451.9 kB / 0.5733 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.94e-05/0.01518, allocations: 152.8 kB / 0.5735 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.506e-05/0.01524, allocations: 268.1 kB / 0.5737 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.389e-05/0.01529, allocations: 148.8 kB / 0.5739 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.917e-05/0.01535, allocations: 272.1 kB / 0.5741 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-05/0.01538, allocations: 144.9 kB / 0.5743 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.329e-05/0.01542, allocations: 147.1 kB / 0.5744 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01542, allocations: 0 / 0.5744 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004816/0.01591, allocations: 294.9 kB / 0.5747 GB, free: 13.05 MB / 0.4948 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.0007322/0.01664, allocations: 0.6376 MB / 0.5753 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.89e-05/0.01672, allocations: 45.39 kB / 0.5754 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.01672, allocations: 0 / 0.5754 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.01672, allocations: 0 / 0.5754 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.01702, allocations: 0.7179 MB / 0.5761 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002182/0.01724, allocations: 280.3 kB / 0.5763 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.802e-05/0.01727, allocations: 59.34 kB / 0.5764 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.759e-06/0.01728, allocations: 0 / 0.5764 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.478e-05/0.01732, allocations: 74.2 kB / 0.5764 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of SimCode: time 5.41e-07/0.01732, allocations: 0 / 0.5764 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of Templates: time 0.008213/0.02554, allocations: 7.368 MB / 0.5836 GB, free: 3.852 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5663298331201077]