Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.722/1.722, allocations: 289.7 MB / 302.2 MB, free: 2.105 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.001401/0.001402, allocations: 180.5 kB / 371.6 MB, free: 3.418 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.71/1.71, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 88.39 kB / 0.745 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.411e-05/4.429e-05, allocations: 4 kB / 0.8664 GB, free: 14.91 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2945, allocations: 116.3 MB / 0.9799 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.012/1.306, allocations: 160.1 MB / 1.136 GB, free: 30.84 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003669/1.307, allocations: 121.3 kB / 1.136 GB, free: 30.79 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.0486/1.355, allocations: 15.27 MB / 1.151 GB, free: 22.41 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.984e-06/1.355, allocations: 0 / 1.151 GB, free: 22.41 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.458e-06/1.355, allocations: 0 / 1.151 GB, free: 22.41 MB / 0.7448 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.00116/1.357, allocations: 0.5545 MB / 1.152 GB, free: 21.84 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/1.357, allocations: 8.031 kB / 1.152 GB, free: 21.84 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.9e-05/1.357, allocations: 107.6 kB / 1.152 GB, free: 21.72 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.332e-05/1.357, allocations: 83.72 kB / 1.152 GB, free: 21.64 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/1.357, allocations: 257.3 kB / 1.152 GB, free: 21.36 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.869e-05/1.357, allocations: 151.9 kB / 1.152 GB, free: 21.21 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.507e-05/1.357, allocations: 150.6 kB / 1.153 GB, free: 21.06 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.676e-05/1.357, allocations: 102.5 kB / 1.153 GB, free: 20.96 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/1.357, allocations: 83.22 kB / 1.153 GB, free: 20.88 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.836e-05/1.357, allocations: 154.6 kB / 1.153 GB, free: 20.72 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.974e-05/1.357, allocations: 150.6 kB / 1.153 GB, free: 20.57 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.435e-05/1.357, allocations: 152.1 kB / 1.153 GB, free: 20.43 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002456/1.357, allocations: 467.6 kB / 1.154 GB, free: 19.94 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.874e-05/1.358, allocations: 169.1 kB / 1.154 GB, free: 19.76 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.643e-05/1.358, allocations: 85.95 kB / 1.154 GB, free: 19.68 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/1.358, allocations: 75.28 kB / 1.154 GB, free: 19.6 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/1.358, allocations: 113.8 kB / 1.154 GB, free: 19.48 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.312e-06/1.358, allocations: 0 / 1.154 GB, free: 19.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 7.716e-05/1.358, allocations: 33.17 kB / 1.154 GB, free: 19.45 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/1.358, allocations: 134.7 kB / 1.154 GB, free: 19.3 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/1.358, allocations: 117.2 kB / 1.154 GB, free: 19.19 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/1.358, allocations: 29.7 kB / 1.154 GB, free: 19.15 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.756e-05/1.358, allocations: 89.91 kB / 1.155 GB, free: 19.07 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.178e-06/1.358, allocations: 3.984 kB / 1.155 GB, free: 19.07 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-06/1.358, allocations: 0 / 1.155 GB, free: 19.07 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.598e-05/1.358, allocations: 323.5 kB / 1.155 GB, free: 18.75 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.277e-05/1.358, allocations: 11.5 kB / 1.155 GB, free: 18.74 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.349e-05/1.358, allocations: 4 kB / 1.155 GB, free: 18.73 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.757e-05/1.358, allocations: 10.19 kB / 1.155 GB, free: 18.73 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/1.358, allocations: 0 / 1.155 GB, free: 18.73 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000113/1.358, allocations: 51.66 kB / 1.155 GB, free: 18.68 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/1.358, allocations: 8 kB / 1.155 GB, free: 18.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/1.358, allocations: 4 kB / 1.155 GB, free: 18.67 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/1.358, allocations: 0 / 1.155 GB, free: 18.67 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-07/1.358, allocations: 0.6562 kB / 1.155 GB, free: 18.67 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/1.358, allocations: 1.5 kB / 1.155 GB, free: 18.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.168e-05/1.358, allocations: 3.906 kB / 1.155 GB, free: 18.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/1.358, allocations: 0 / 1.155 GB, free: 18.66 MB / 0.7448 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 () * 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.666e-05/1.358, allocations: 188.2 kB / 1.155 GB, free: 18.47 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.964e-05/1.359, allocations: 106 kB / 1.155 GB, free: 18.36 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.42e-05/1.359, allocations: 113 kB / 1.155 GB, free: 18.25 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.698e-05/1.359, allocations: 184.8 kB / 1.155 GB, free: 18.07 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.599e-05/1.359, allocations: 182 kB / 1.156 GB, free: 17.88 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.673e-05/1.359, allocations: 180.3 kB / 1.156 GB, free: 17.7 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/1.359, allocations: 420.4 kB / 1.156 GB, free: 17.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.371e-05/1.359, allocations: 105 kB / 1.156 GB, free: 17.14 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.897e-05/1.359, allocations: 104.9 kB / 1.156 GB, free: 17.03 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.084e-05/1.359, allocations: 178.2 kB / 1.157 GB, free: 16.85 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.743e-05/1.359, allocations: 179 kB / 1.157 GB, free: 16.67 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.211e-05/1.359, allocations: 189.4 kB / 1.157 GB, free: 16.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.54e-05/1.359, allocations: 176.3 kB / 1.157 GB, free: 16.3 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.996e-05/1.359, allocations: 309.7 kB / 1.157 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.385e-05/1.359, allocations: 195.3 kB / 1.158 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.278e-05/1.359, allocations: 188.7 kB / 1.158 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.46e-05/1.359, allocations: 104 kB / 1.158 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/1.359, allocations: 184.2 kB / 1.158 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/1.359, allocations: 102.3 kB / 1.158 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.566e-05/1.36, allocations: 97.3 kB / 1.158 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.41e-07/1.36, allocations: 0 / 1.158 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001216/1.361, allocations: 329.4 kB / 1.159 GB, free: 14.79 MB / 0.7448 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 () * 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.001453/1.362, allocations: 1.219 MB / 1.16 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001038/1.362, allocations: 53.58 kB / 1.16 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/1.362, allocations: 0 / 1.16 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.883e-06/1.362, allocations: 4.062 kB / 1.16 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/1.363, allocations: 0.5237 MB / 1.16 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005757/1.363, allocations: 329.7 kB / 1.161 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005605/1.364, allocations: 0.6934 MB / 1.161 GB, free: 28 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.496e-05/1.364, allocations: 4 kB / 1.161 GB, free: 27.99 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.221e-05/1.364, allocations: 20.2 kB / 1.161 GB, free: 27.98 MB / 0.7605 GB Notification: Performance of SimCode: time 3.4e-07/1.364, allocations: 0 / 1.161 GB, free: 27.98 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02051/1.384, allocations: 6.599 MB / 1.168 GB, free: 22.24 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/1.385, allocations: 281.3 kB / 1.168 GB, free: 21.91 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.036/3.421, allocations: 0 / 1.168 GB, free: 21.91 MB / 0.7605 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)