Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.823/1.823, allocations: 288.2 MB / 303.2 MB, free: 8.215 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001139/0.001138, allocations: 177.1 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.819/1.819, allocations: 205.4 MB / 0.6305 GB, free: 9.984 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 98.8 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004045/0.0004045, allocations: 12.62 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2553, allocations: 115.3 MB / 0.9795 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001545/0.2569, allocations: 1.12 MB / 0.9806 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003415/0.2603, allocations: 2.619 MB / 0.9832 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.681e-05/0.2603, allocations: 0 / 0.9832 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.094e-05/0.2604, allocations: 7.922 kB / 0.9832 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.653e-05/0.2605, allocations: 15.97 kB / 0.9832 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002994/0.2635, allocations: 1.269 MB / 0.9844 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.955e-05/0.2635, allocations: 31.89 kB / 0.9845 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.011e-05/0.2636, allocations: 4.281 kB / 0.9845 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.441e-05/0.2636, allocations: 15.98 kB / 0.9845 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.714e-05/0.2636, allocations: 19.86 kB / 0.9845 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.868e-06/0.2637, allocations: 4 kB / 0.9845 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/0.265, allocations: 1.174 MB / 0.9857 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.855e-06/0.265, allocations: 0 / 0.9857 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.723e-05/0.2651, allocations: 33.7 kB / 0.9857 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007891/0.2659, allocations: 0.7174 MB / 0.9864 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.2659, allocations: 0 / 0.9864 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.664e-06/0.2659, allocations: 3.938 kB / 0.9864 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.2659, allocations: 0 / 0.9864 GB, free: 20.51 MB / 0.6198 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.0004619/0.2664, allocations: 0.5028 MB / 0.9869 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.2664, allocations: 16.02 kB / 0.9869 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.385e-05/0.2665, allocations: 105.8 kB / 0.987 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.9e-05/0.2665, allocations: 87.14 kB / 0.9871 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.2666, allocations: 244.2 kB / 0.9873 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.87e-05/0.2667, allocations: 154.6 kB / 0.9875 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/0.2667, allocations: 150.6 kB / 0.9876 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.861e-05/0.2668, allocations: 117 kB / 0.9877 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.2668, allocations: 75.28 kB / 0.9878 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.541e-05/0.2668, allocations: 150.6 kB / 0.9879 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.202e-05/0.2668, allocations: 154.5 kB / 0.9881 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.702e-05/0.2669, allocations: 154.5 kB / 0.9882 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001966/0.2671, allocations: 473.8 kB / 0.9887 GB, free: 18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.985e-05/0.2671, allocations: 169.1 kB / 0.9888 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.2672, allocations: 75.28 kB / 0.9889 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.2672, allocations: 113.8 kB / 0.989 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.2672, allocations: 7.938 kB / 0.989 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.864e-05/0.2673, allocations: 29.7 kB / 0.9891 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.2673, allocations: 126.7 kB / 0.9892 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.2674, allocations: 131.3 kB / 0.9893 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.623e-06/0.2674, allocations: 25.7 kB / 0.9893 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.292e-05/0.2675, allocations: 92.14 kB / 0.9894 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-06/0.2675, allocations: 0 / 0.9894 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.364e-06/0.2675, allocations: 0 / 0.9894 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.028e-05/0.2675, allocations: 326.8 kB / 0.9897 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.798e-05/0.2676, allocations: 4 kB / 0.9897 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.191e-05/0.2676, allocations: 4 kB / 0.9897 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.382e-05/0.2676, allocations: 4 kB / 0.9897 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2676, allocations: 3.938 kB / 0.9898 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001109/0.2677, allocations: 45.69 kB / 0.9898 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.2677, allocations: 8 kB / 0.9898 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.2678, allocations: 0 / 0.9898 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.2678, allocations: 4 kB / 0.9898 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.403e-06/0.2678, allocations: 0 / 0.9898 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.2678, allocations: 0 / 0.9898 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.09e-05/0.2678, allocations: 11.91 kB / 0.9898 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.2678, allocations: 0 / 0.9898 GB, free: 16.77 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.86e-05/0.2679, allocations: 197.1 kB / 0.99 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/0.268, allocations: 104.9 kB / 0.9901 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.554e-05/0.268, allocations: 108.9 kB / 0.9902 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-05/0.268, allocations: 176.3 kB / 0.9904 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.983e-05/0.2681, allocations: 184.2 kB / 0.9906 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-05/0.2681, allocations: 188.2 kB / 0.9907 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.2682, allocations: 417.1 kB / 0.9911 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-05/0.2683, allocations: 105 kB / 0.9912 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.551e-05/0.2683, allocations: 101 kB / 0.9913 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.933e-05/0.2683, allocations: 184.2 kB / 0.9915 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.079e-05/0.2684, allocations: 184.2 kB / 0.9917 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-05/0.2684, allocations: 188.2 kB / 0.9919 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-05/0.2684, allocations: 176.3 kB / 0.992 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.726e-05/0.2685, allocations: 315.6 kB / 0.9923 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.097e-05/0.2686, allocations: 190 kB / 0.9925 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.2686, allocations: 184.4 kB / 0.9927 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.808e-05/0.2687, allocations: 104.9 kB / 0.9928 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/0.2687, allocations: 176.3 kB / 0.993 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.2687, allocations: 117 kB / 0.9931 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.01e-05/0.2688, allocations: 100.2 kB / 0.9932 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2688, allocations: 4 kB / 0.9932 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005734/0.2694, allocations: 267.8 kB / 0.9934 GB, free: 12.86 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001091/0.2705, allocations: 1.154 MB / 0.9945 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.974e-05/0.2706, allocations: 49.58 kB / 0.9946 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2706, allocations: 0 / 0.9946 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.395e-06/0.2706, allocations: 0 / 0.9946 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.2709, allocations: 0.5224 MB / 0.9951 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005989/0.2715, allocations: 0.556 MB / 0.9956 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.2716, allocations: 0.6848 MB / 0.9963 GB, free: 9.793 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.529e-05/0.2717, allocations: 8 kB / 0.9963 GB, free: 9.785 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.637e-05/0.2717, allocations: 15.44 kB / 0.9963 GB, free: 9.77 MB / 0.6198 GB Notification: Performance of SimCode: time 3.9e-07/0.2717, allocations: 0 / 0.9963 GB, free: 9.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02048/0.2922, allocations: 6.72 MB / 1.003 GB, free: 3.277 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002/0.2924, allocations: 321.4 kB / 1.003 GB, free: 2.922 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.983/2.275, allocations: 0 / 1.003 GB, free: 2.922 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)