Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_9_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_9_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.305/1.305, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.202/2.202, allocations: 390.2 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 63.91 kB / 0.8127 GB, free: 14.32 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5309/0.5321, allocations: 140.4 MB / 0.9498 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.00197/0.5341, allocations: 1.425 MB / 0.9512 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002981/0.5371, allocations: 2.85 MB / 0.954 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.858e-05/0.5372, allocations: 4.969 kB / 0.954 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.374e-05/0.5372, allocations: 0 / 0.954 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.82e-05/0.5372, allocations: 17.91 kB / 0.954 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002708/0.54, allocations: 1.547 MB / 0.9555 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.719e-05/0.54, allocations: 43.45 kB / 0.9555 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.301e-05/0.5401, allocations: 0 / 0.9555 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.879e-05/0.5401, allocations: 11.03 kB / 0.9555 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.073e-05/0.5401, allocations: 23.17 kB / 0.9556 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.416e-06/0.5401, allocations: 3.844 kB / 0.9556 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00151/0.5416, allocations: 1.416 MB / 0.9569 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.061e-05/0.5417, allocations: 13.28 kB / 0.957 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.356e-05/0.5417, allocations: 20.12 kB / 0.957 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.5427, allocations: 1.063 MB / 0.958 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.5428, allocations: 3.938 kB / 0.958 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5428, allocations: 1.188 kB / 0.958 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.5428, allocations: 0 / 0.958 GB, free: 3.312 MB / 0.7169 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.0004352/0.5432, allocations: 0.5152 MB / 0.9585 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.5433, allocations: 9.5 kB / 0.9585 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.336e-05/0.5433, allocations: 107.2 kB / 0.9586 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.698e-05/0.5433, allocations: 86.39 kB / 0.9587 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.753e-05/0.5434, allocations: 252.9 kB / 0.959 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.5434, allocations: 155.7 kB / 0.9591 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.5435, allocations: 151.7 kB / 0.9593 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.836e-05/0.5435, allocations: 109.9 kB / 0.9594 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.5435, allocations: 75.28 kB / 0.9594 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.5436, allocations: 159.6 kB / 0.9596 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.91e-05/0.5436, allocations: 150.6 kB / 0.9597 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.98e-05/0.5436, allocations: 151.7 kB / 0.9599 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001675/0.5438, allocations: 465.6 kB / 0.9603 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.998e-05/0.5438, allocations: 166.3 kB / 0.9605 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.49e-05/0.5438, allocations: 80.14 kB / 0.9605 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.5439, allocations: 83.16 kB / 0.9606 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.5439, allocations: 114.7 kB / 0.9607 GB, free: 448 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.5439, allocations: 0.875 kB / 0.9607 GB, free: 448 kB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.111e-05/0.544, allocations: 32.52 kB / 0.9608 GB, free: 412 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/0.544, allocations: 130.7 kB / 0.9609 GB, free: 268 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.605e-05/0.5441, allocations: 126.6 kB / 0.961 GB, free: 152 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.282e-06/0.5441, allocations: 25.7 kB / 0.961 GB, free: 120 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.893e-05/0.5441, allocations: 90.61 kB / 0.9611 GB, free: 28 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.5441, allocations: 0 / 0.9611 GB, free: 28 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.679e-05/0.5442, allocations: 22.36 kB / 0.9611 GB, free: 4 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.5443, allocations: 317.1 kB / 0.9615 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.099e-05/0.5443, allocations: 11.12 kB / 0.9615 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.759e-05/0.5443, allocations: 10.58 kB / 0.9615 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.602e-05/0.5444, allocations: 18.31 kB / 0.9615 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.5444, allocations: 0 / 0.9615 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001144/0.5445, allocations: 50.8 kB / 0.9615 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.5445, allocations: 7.719 kB / 0.9615 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.5445, allocations: 2.438 kB / 0.9615 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.5446, allocations: 4.062 kB / 0.9616 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.935e-06/0.5446, allocations: 5.109 kB / 0.9616 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.5446, allocations: 0 / 0.9616 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.96e-05/0.5446, allocations: 0.6875 kB / 0.9616 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.5446, allocations: 1.031 kB / 0.9616 GB, free: 15.61 MB / 0.7325 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 7.972e-05/0.5447, allocations: 183.3 kB / 0.9617 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.198e-05/0.5448, allocations: 116 kB / 0.9618 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.421e-05/0.5448, allocations: 113.8 kB / 0.962 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.437e-05/0.5449, allocations: 189.3 kB / 0.9621 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.263e-05/0.5449, allocations: 181.4 kB / 0.9623 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.137e-05/0.545, allocations: 181.4 kB / 0.9625 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.5452, allocations: 415.5 kB / 0.9629 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.693e-05/0.5452, allocations: 102.1 kB / 0.963 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.547e-05/0.5453, allocations: 118 kB / 0.9631 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.691e-05/0.5453, allocations: 177.5 kB / 0.9633 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.178e-05/0.5454, allocations: 177.3 kB / 0.9634 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.963e-05/0.5454, allocations: 181.3 kB / 0.9636 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.048e-05/0.5455, allocations: 177.4 kB / 0.9638 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.5456, allocations: 316.1 kB / 0.9641 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.43e-05/0.5457, allocations: 188.6 kB / 0.9642 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.209e-05/0.5457, allocations: 181.6 kB / 0.9644 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.194e-05/0.5458, allocations: 105 kB / 0.9645 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.113e-05/0.5459, allocations: 185.4 kB / 0.9647 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.752e-05/0.5459, allocations: 105.8 kB / 0.9648 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.982e-05/0.546, allocations: 96.77 kB / 0.9649 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.546, allocations: 0 / 0.9649 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006538/0.5466, allocations: 277.5 kB / 0.9652 GB, free: 11.93 MB / 0.7325 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.001098/0.5477, allocations: 1.167 MB / 0.9663 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.597e-05/0.5478, allocations: 40.91 kB / 0.9663 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5478, allocations: 1.344 kB / 0.9663 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.5478, allocations: 0 / 0.9663 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.5482, allocations: 471.5 kB / 0.9668 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.5494, allocations: 1.573 MB / 0.9683 GB, free: 8.988 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001846/0.5496, allocations: 0.6802 MB / 0.969 GB, free: 8.289 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.086e-05/0.5496, allocations: 4.031 kB / 0.969 GB, free: 8.285 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.395e-05/0.5496, allocations: 21.89 kB / 0.969 GB, free: 8.266 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.5496, allocations: 0 / 0.969 GB, free: 8.266 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.942/2.492, allocations: 6.857 MB / 0.9757 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/13.13, allocations: 19.05 kB / 0.9757 GB, free: 4.762 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)