Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.456/1.456, allocations: 251.9 MB / 266.9 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001183/0.001183, allocations: 182.3 kB / 326.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.987/1.987, allocations: 205.4 MB / 0.5775 GB, free: 20.28 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008922/0.0008919, allocations: 86.25 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003403/0.0003404, allocations: 12.06 kB / 0.7964 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2603, allocations: 106.3 MB / 0.9002 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001409/0.2617, allocations: 1.123 MB / 0.9013 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003351/0.2651, allocations: 2.622 MB / 0.9039 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.923e-05/0.2652, allocations: 0 / 0.9039 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.229e-05/0.2652, allocations: 7.922 kB / 0.9039 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.425e-05/0.2653, allocations: 15.97 kB / 0.9039 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002892/0.2682, allocations: 1.281 MB / 0.9051 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.257e-05/0.2682, allocations: 31.89 kB / 0.9052 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.278e-05/0.2683, allocations: 7.984 kB / 0.9052 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.065e-05/0.2683, allocations: 8 kB / 0.9052 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.952e-05/0.2683, allocations: 19.86 kB / 0.9052 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.2684, allocations: 0 / 0.9052 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001386/0.2698, allocations: 1.174 MB / 0.9063 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.718e-06/0.2698, allocations: 4 kB / 0.9064 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.411e-05/0.2698, allocations: 37.69 kB / 0.9064 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000788/0.2706, allocations: 0.706 MB / 0.9071 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2706, allocations: 0 / 0.9071 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2706, allocations: 3.938 kB / 0.9071 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.2706, allocations: 0 / 0.9071 GB, free: 56.7 MB / 0.6042 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.0004417/0.2711, allocations: 0.5145 MB / 0.9076 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.2711, allocations: 8.031 kB / 0.9076 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.943e-05/0.2712, allocations: 105.8 kB / 0.9077 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.207e-05/0.2712, allocations: 83.23 kB / 0.9078 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.2713, allocations: 250.2 kB / 0.908 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/0.2714, allocations: 154.6 kB / 0.9082 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.146e-05/0.2714, allocations: 154.6 kB / 0.9083 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.493e-05/0.2715, allocations: 105 kB / 0.9084 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.2715, allocations: 79.27 kB / 0.9085 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.722e-05/0.2715, allocations: 158.5 kB / 0.9086 GB, free: 55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.295e-05/0.2715, allocations: 154.5 kB / 0.9088 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.575e-05/0.2716, allocations: 154.5 kB / 0.9089 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001888/0.2718, allocations: 465.9 kB / 0.9094 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.104e-05/0.2718, allocations: 169.1 kB / 0.9095 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.2719, allocations: 75.28 kB / 0.9096 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.2719, allocations: 117.8 kB / 0.9097 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.2719, allocations: 0 / 0.9097 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 6.588e-05/0.272, allocations: 29.61 kB / 0.9097 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.272, allocations: 126.7 kB / 0.9099 GB, free: 53.65 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.815e-05/0.2721, allocations: 128.5 kB / 0.91 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.2721, allocations: 29.7 kB / 0.91 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.249e-05/0.2722, allocations: 96.12 kB / 0.9101 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.426e-06/0.2722, allocations: 3.984 kB / 0.9101 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-06/0.2722, allocations: 0 / 0.9101 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.687e-05/0.2722, allocations: 322.8 kB / 0.9104 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.98e-05/0.2723, allocations: 0 / 0.9104 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.187e-05/0.2723, allocations: 7.938 kB / 0.9104 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.601e-05/0.2723, allocations: 7.984 kB / 0.9104 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2723, allocations: 3.938 kB / 0.9104 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001099/0.2724, allocations: 57.58 kB / 0.9105 GB, free: 52.97 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.2725, allocations: 4 kB / 0.9105 GB, free: 52.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/0.2725, allocations: 4 kB / 0.9105 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.2725, allocations: 0 / 0.9105 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.2725, allocations: 0 / 0.9105 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.2725, allocations: 0 / 0.9105 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.917e-05/0.2725, allocations: 3.984 kB / 0.9105 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.2725, allocations: 0 / 0.9105 GB, free: 52.96 MB / 0.6042 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 7.096e-05/0.2726, allocations: 193.1 kB / 0.9107 GB, free: 52.76 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.88e-05/0.2727, allocations: 116.8 kB / 0.9108 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.67e-05/0.2727, allocations: 104.9 kB / 0.9109 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.679e-05/0.2727, allocations: 180.2 kB / 0.9111 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.843e-05/0.2728, allocations: 184.2 kB / 0.9112 GB, free: 52.16 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.85e-05/0.2728, allocations: 180.3 kB / 0.9114 GB, free: 51.97 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.2729, allocations: 417.1 kB / 0.9118 GB, free: 51.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.392e-05/0.273, allocations: 105 kB / 0.9119 GB, free: 51.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.963e-05/0.273, allocations: 105 kB / 0.912 GB, free: 51.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.86e-05/0.2731, allocations: 180.2 kB / 0.9122 GB, free: 51.11 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.355e-05/0.2731, allocations: 180.3 kB / 0.9124 GB, free: 50.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-05/0.2731, allocations: 188.2 kB / 0.9125 GB, free: 50.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.622e-05/0.2732, allocations: 180.3 kB / 0.9127 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.122e-05/0.2732, allocations: 315.6 kB / 0.913 GB, free: 50.21 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.062e-05/0.2733, allocations: 182.1 kB / 0.9132 GB, free: 50.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.08e-05/0.2733, allocations: 180.2 kB / 0.9134 GB, free: 49.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.631e-05/0.2734, allocations: 105 kB / 0.9135 GB, free: 49.72 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.2734, allocations: 184.6 kB / 0.9136 GB, free: 49.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.2735, allocations: 104.9 kB / 0.9137 GB, free: 49.42 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.106e-05/0.2735, allocations: 101.6 kB / 0.9138 GB, free: 49.32 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2735, allocations: 0 / 0.9138 GB, free: 49.32 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005746/0.2741, allocations: 271.8 kB / 0.9141 GB, free: 49.06 MB / 0.6042 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.001051/0.2752, allocations: 1.172 MB / 0.9152 GB, free: 47.87 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.077e-05/0.2753, allocations: 41.64 kB / 0.9153 GB, free: 47.82 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.2753, allocations: 0 / 0.9153 GB, free: 47.82 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.2753, allocations: 0 / 0.9153 GB, free: 47.82 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.2755, allocations: 0.5303 MB / 0.9158 GB, free: 47.29 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005632/0.2761, allocations: 0.5443 MB / 0.9163 GB, free: 46.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.2762, allocations: 0.6887 MB / 0.917 GB, free: 45.98 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.142e-05/0.2763, allocations: 0 / 0.917 GB, free: 45.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.436e-05/0.2763, allocations: 19.42 kB / 0.917 GB, free: 45.96 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2763, allocations: 0 / 0.917 GB, free: 45.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01788/0.2942, allocations: 6.708 MB / 0.9236 GB, free: 39.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001764/0.2944, allocations: 318.5 kB / 0.9239 GB, free: 39.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.849/2.144, allocations: 3.188 kB / 0.9239 GB, free: 39.12 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_maint.7.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_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)