Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 193.4 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.685/2.685, allocations: 472.6 MB / 0.7448 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 69.52 kB / 0.9116 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2566, allocations: 159.9 MB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002465/0.2591, allocations: 1.495 MB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003879/0.263, allocations: 2.848 MB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.191e-05/0.2631, allocations: 0 / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.933e-05/0.2631, allocations: 0 / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.976e-05/0.2632, allocations: 15.84 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00344/0.2666, allocations: 1.45 MB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.18e-05/0.2667, allocations: 35.75 kB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.62e-05/0.2667, allocations: 15.91 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.449e-05/0.2668, allocations: 15.94 kB / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.278e-05/0.2668, allocations: 15.88 kB / 1.074 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.536e-06/0.2668, allocations: 0 / 1.074 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001839/0.2687, allocations: 1.423 MB / 1.075 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.303e-05/0.2687, allocations: 4 kB / 1.075 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.508e-05/0.2687, allocations: 19.88 kB / 1.075 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001353/0.2701, allocations: 1.064 MB / 1.076 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.2701, allocations: 7.984 kB / 1.076 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2701, allocations: 0 / 1.076 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.2701, allocations: 0 / 1.076 GB, free: 2.297 MB / 0.8262 GB 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.0005873/0.2707, allocations: 0.5125 MB / 1.076 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.2707, allocations: 8.031 kB / 1.076 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.012e-05/0.2708, allocations: 80.22 kB / 1.077 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.2709, allocations: 255.5 kB / 1.077 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.363e-05/0.271, allocations: 158.9 kB / 1.077 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.699e-05/0.271, allocations: 150.9 kB / 1.077 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.622e-05/0.2711, allocations: 113.1 kB / 1.077 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/0.2711, allocations: 75.28 kB / 1.077 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.666e-05/0.2712, allocations: 150.6 kB / 1.077 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-05/0.2712, allocations: 158.5 kB / 1.078 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.275e-05/0.2713, allocations: 150.6 kB / 1.078 GB, free: 424 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002741/0.2716, allocations: 473.7 kB / 1.078 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.249e-05/0.2717, allocations: 165.1 kB / 1.078 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.78e-05/0.2717, allocations: 84.14 kB / 1.078 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.99e-05/0.2717, allocations: 75.28 kB / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.146e-05/0.2718, allocations: 121.8 kB / 1.079 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.2718, allocations: 0 / 1.079 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 6.659e-05/0.2719, allocations: 29.64 kB / 1.079 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.2719, allocations: 126.7 kB / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.272, allocations: 139.3 kB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.2721, allocations: 25.7 kB / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.889e-05/0.2721, allocations: 92.12 kB / 1.079 GB, free: 15 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.2721, allocations: 0 / 1.079 GB, free: 15 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-05/0.2722, allocations: 17.72 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.959e-05/0.2723, allocations: 318.8 kB / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.255e-05/0.2723, allocations: 4 kB / 1.079 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.636e-05/0.2723, allocations: 8 kB / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.22e-05/0.2724, allocations: 16.92 kB / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2724, allocations: 0 / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001108/0.2725, allocations: 53.56 kB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.2725, allocations: 8 kB / 1.079 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.2725, allocations: 0 / 1.079 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.2725, allocations: 0 / 1.079 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.82e-07/0.2725, allocations: 0 / 1.079 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.2725, allocations: 4 kB / 1.079 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.166e-05/0.2726, allocations: 7.844 kB / 1.079 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.2726, allocations: 0 / 1.079 GB, free: 14.55 MB / 0.8419 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 (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 8.859e-05/0.2727, allocations: 189.2 kB / 1.08 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.101e-05/0.2727, allocations: 104.9 kB / 1.08 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.212e-05/0.2728, allocations: 124.6 kB / 1.08 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.938e-05/0.2729, allocations: 176.3 kB / 1.08 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.666e-05/0.2729, allocations: 180.2 kB / 1.08 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.825e-05/0.273, allocations: 184.4 kB / 1.08 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.2732, allocations: 417.2 kB / 1.081 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.264e-05/0.2732, allocations: 108.9 kB / 1.081 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.592e-05/0.2733, allocations: 105 kB / 1.081 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.936e-05/0.2734, allocations: 180.2 kB / 1.081 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.072e-05/0.2734, allocations: 180.2 kB / 1.081 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.754e-05/0.2735, allocations: 188.2 kB / 1.081 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.786e-05/0.2735, allocations: 184.2 kB / 1.082 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.2737, allocations: 311.7 kB / 1.082 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.7e-05/0.2737, allocations: 193.9 kB / 1.082 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.875e-05/0.2738, allocations: 188.3 kB / 1.082 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.262e-05/0.2739, allocations: 104.9 kB / 1.082 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.751e-05/0.274, allocations: 176.3 kB / 1.083 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.913e-05/0.274, allocations: 104.9 kB / 1.083 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.619e-05/0.2741, allocations: 104.8 kB / 1.083 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2741, allocations: 0 / 1.083 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000673/0.2748, allocations: 267.8 kB / 1.083 GB, free: 10.63 MB / 0.8419 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.001007/0.2758, allocations: 0.5253 MB / 1.084 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 9.218e-05/0.2759, allocations: 37.69 kB / 1.084 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2759, allocations: 0 / 1.084 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.204e-06/0.2759, allocations: 0 / 1.084 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.2763, allocations: 468.2 kB / 1.084 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002705/0.2765, allocations: 240 kB / 1.084 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.2768, allocations: 0.6885 MB / 1.085 GB, free: 8.613 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.333e-05/0.2768, allocations: 0 / 1.085 GB, free: 8.613 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.06e-05/0.2768, allocations: 7.438 kB / 1.085 GB, free: 8.605 MB / 0.8419 GB Notification: Performance of SimCode: time 3.41e-07/0.2768, allocations: 4 kB / 1.085 GB, free: 8.602 MB / 0.8419 GB Notification: Performance of Templates: time 0.008668/0.2855, allocations: 5.468 MB / 1.09 GB, free: 3.184 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)