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.001288/0.001288, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009152/0.0009152, allocations: 169 kB / 23.27 MB, free: 1.223 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.8829/0.8829, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.001689/0.001689, allocations: 249.2 kB / 260.5 MB, free: 12.68 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.7028/0.7028, allocations: 138.4 MB / 455.5 MB, free: 30.08 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: 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.773e-06/1.773e-06, allocations: 0 / 0.5557 GB, free: 15.82 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.917e-05/2.094e-05, allocations: 5.969 kB / 0.5557 GB, free: 15.82 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002322/0.002343, allocations: 1.485 MB / 0.5571 GB, free: 14.32 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00348/0.005823, allocations: 2.78 MB / 0.5598 GB, free: 11.52 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.531e-05/0.005858, allocations: 0 / 0.5598 GB, free: 11.52 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.922e-05/0.005878, allocations: 3.938 kB / 0.5598 GB, free: 11.52 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.94e-05/0.005927, allocations: 15.8 kB / 0.5599 GB, free: 11.5 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002156/0.008083, allocations: 1.654 MB / 0.5615 GB, free: 9.855 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.343e-05/0.008146, allocations: 47.67 kB / 0.5615 GB, free: 9.809 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.051e-05/0.008177, allocations: 7.938 kB / 0.5615 GB, free: 9.801 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.742e-05/0.008214, allocations: 19.98 kB / 0.5616 GB, free: 9.781 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.898e-05/0.008233, allocations: 15.92 kB / 0.5616 GB, free: 9.766 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 8.816e-06/0.008242, allocations: 0 / 0.5616 GB, free: 9.766 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001321/0.009563, allocations: 1.489 MB / 0.563 GB, free: 8.273 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.069e-05/0.009574, allocations: 7.938 kB / 0.563 GB, free: 8.266 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.758e-05/0.009592, allocations: 8 kB / 0.563 GB, free: 8.258 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.01075, allocations: 1.298 MB / 0.5643 GB, free: 6.957 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.01075, allocations: 0 / 0.5643 GB, free: 6.957 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.01076, allocations: 0 / 0.5643 GB, free: 6.957 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.01076, allocations: 0 / 0.5643 GB, free: 6.957 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.0003572/0.01112, allocations: 0.5527 MB / 0.5648 GB, free: 6.367 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.47e-05/0.01115, allocations: 13.22 kB / 0.5649 GB, free: 6.355 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.337e-05/0.01119, allocations: 124.1 kB / 0.565 GB, free: 6.234 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.516e-05/0.01129, allocations: 254.4 kB / 0.5652 GB, free: 5.961 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.561e-05/0.01133, allocations: 242.8 kB / 0.5654 GB, free: 5.723 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.536e-05/0.01138, allocations: 242.8 kB / 0.5657 GB, free: 5.484 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.422e-05/0.01143, allocations: 149.5 kB / 0.5658 GB, free: 5.332 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.01146, allocations: 119.4 kB / 0.5659 GB, free: 5.215 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.537e-05/0.0115, allocations: 242.5 kB / 0.5662 GB, free: 4.977 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.304e-05/0.01155, allocations: 238.4 kB / 0.5664 GB, free: 4.742 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.65e-05/0.01159, allocations: 242.4 kB / 0.5666 GB, free: 4.504 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001878/0.01178, allocations: 0.5608 MB / 0.5672 GB, free: 3.918 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.669e-05/0.01185, allocations: 269.4 kB / 0.5674 GB, free: 3.641 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.692e-05/0.01187, allocations: 126.9 kB / 0.5676 GB, free: 3.512 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.0119, allocations: 119.2 kB / 0.5677 GB, free: 3.395 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.01193, allocations: 164.6 kB / 0.5678 GB, free: 3.223 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.01194, allocations: 0 / 0.5678 GB, free: 3.223 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 4.657e-05/0.01198, allocations: 33.64 kB / 0.5679 GB, free: 3.184 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.01203, allocations: 178.6 kB / 0.568 GB, free: 2.996 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.645e-05/0.01211, allocations: 185.8 kB / 0.5682 GB, free: 2.797 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.945e-06/0.01212, allocations: 25.7 kB / 0.5682 GB, free: 2.766 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.304e-05/0.01216, allocations: 150.8 kB / 0.5684 GB, free: 2.613 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.152e-06/0.01216, allocations: 0 / 0.5684 GB, free: 2.613 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-05/0.01219, allocations: 23.36 kB / 0.5684 GB, free: 2.582 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.339e-05/0.01228, allocations: 0.4923 MB / 0.5689 GB, free: 2.078 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.083e-05/0.01229, allocations: 4 kB / 0.5689 GB, free: 2.074 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.993e-06/0.0123, allocations: 4 kB / 0.5689 GB, free: 2.07 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.694e-05/0.01233, allocations: 15.69 kB / 0.5689 GB, free: 2.051 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.01233, allocations: 64 / 0.5689 GB, free: 2.051 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.263e-05/0.0124, allocations: 49.64 kB / 0.5689 GB, free: 1.996 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/0.01241, allocations: 4 kB / 0.5689 GB, free: 1.992 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/0.01243, allocations: 7.984 kB / 0.569 GB, free: 1.984 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.146e-06/0.01244, allocations: 3.938 kB / 0.569 GB, free: 1.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.106e-06/0.01244, allocations: 0 / 0.569 GB, free: 1.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.187e-06/0.01244, allocations: 7.938 kB / 0.569 GB, free: 1.973 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.377e-05/0.01246, allocations: 7.891 kB / 0.569 GB, free: 1.965 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-06/0.01246, allocations: 4.062 kB / 0.569 GB, free: 1.961 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 6.974e-05/0.01253, allocations: 275.8 kB / 0.5692 GB, free: 1.68 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.935e-05/0.01257, allocations: 156.8 kB / 0.5694 GB, free: 1.52 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.917e-05/0.01261, allocations: 156.7 kB / 0.5695 GB, free: 1.363 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.695e-05/0.01266, allocations: 264.1 kB / 0.5698 GB, free: 1.098 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-05/0.01271, allocations: 272 kB / 0.5701 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.267e-05/0.01276, allocations: 272 kB / 0.5703 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.01291, allocations: 492.4 kB / 0.5708 GB, free: 36 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000192/0.0131, allocations: 144.9 kB / 0.5709 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.793e-05/0.01313, allocations: 144.9 kB / 0.5711 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.088e-05/0.01318, allocations: 276 kB / 0.5713 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.181e-05/0.01323, allocations: 272.1 kB / 0.5716 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.329e-05/0.01329, allocations: 268 kB / 0.5718 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.236e-05/0.01334, allocations: 264.1 kB / 0.5721 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.01344, allocations: 451.9 kB / 0.5725 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.475e-05/0.01348, allocations: 156.8 kB / 0.5727 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.543e-05/0.01353, allocations: 268 kB / 0.5729 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.009e-05/0.01358, allocations: 144.9 kB / 0.5731 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.314e-05/0.01364, allocations: 268.1 kB / 0.5733 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.923e-05/0.01367, allocations: 148.8 kB / 0.5735 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.487e-05/0.01371, allocations: 149.8 kB / 0.5736 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01371, allocations: 4 kB / 0.5736 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003901/0.0141, allocations: 295 kB / 0.5739 GB, free: 12.75 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.0006618/0.01476, allocations: 0.6379 MB / 0.5745 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.014e-05/0.01483, allocations: 49.39 kB / 0.5746 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.123e-06/0.01483, allocations: 4.062 kB / 0.5746 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.615e-06/0.01484, allocations: 7.938 kB / 0.5746 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.01512, allocations: 0.7179 MB / 0.5753 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002173/0.01534, allocations: 276.1 kB / 0.5755 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.764e-05/0.01537, allocations: 59.34 kB / 0.5756 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.005e-05/0.01538, allocations: 4 kB / 0.5756 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.202e-05/0.01542, allocations: 78.14 kB / 0.5757 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of SimCode: time 5.11e-07/0.01542, allocations: 0 / 0.5757 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of Templates: time 0.007713/0.02313, allocations: 7.371 MB / 0.5829 GB, free: 3.539 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.643657650798559]