Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001457/0.001457, 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.00159/0.00159, allocations: 192.8 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.269/1.269, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.421/2.421, allocations: 437.1 MB / 0.7104 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 63.91 kB / 0.8694 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5448/0.5462, allocations: 151.6 MB / 1.017 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002503/0.5487, allocations: 1.432 MB / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003844/0.5526, allocations: 2.864 MB / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.092e-05/0.5526, allocations: 0 / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.843e-05/0.5527, allocations: 7.922 kB / 1.022 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.273e-05/0.5527, allocations: 11.88 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003558/0.5563, allocations: 1.571 MB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.39e-05/0.5564, allocations: 39.75 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.829e-05/0.5564, allocations: 7.969 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.182e-05/0.5564, allocations: 11.94 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.644e-05/0.5565, allocations: 15.88 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.5565, allocations: 4 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001911/0.5584, allocations: 1.423 MB / 1.025 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.5584, allocations: 7.938 kB / 1.025 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.187e-05/0.5585, allocations: 19.88 kB / 1.025 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.5599, allocations: 1.08 MB / 1.026 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.5599, allocations: 4 kB / 1.026 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5599, allocations: 0 / 1.026 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.5599, allocations: 0 / 1.026 GB, free: 9.949 MB / 0.7794 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.0005921/0.5605, allocations: 0.5107 MB / 1.026 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.5606, allocations: 12.03 kB / 1.026 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.105e-05/0.5606, allocations: 110 kB / 1.026 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.841e-05/0.5607, allocations: 80.12 kB / 1.026 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.5608, allocations: 251.5 kB / 1.027 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.729e-05/0.5609, allocations: 162.9 kB / 1.027 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.919e-05/0.5609, allocations: 154.9 kB / 1.027 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.467e-05/0.561, allocations: 104.9 kB / 1.027 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.561, allocations: 75.28 kB / 1.027 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.156e-05/0.5611, allocations: 150.6 kB / 1.027 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-05/0.5611, allocations: 154.6 kB / 1.027 GB, free: 8.102 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.56e-05/0.5612, allocations: 158.6 kB / 1.028 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002698/0.5614, allocations: 453.9 kB / 1.028 GB, free: 7.453 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.523e-05/0.5615, allocations: 181 kB / 1.028 GB, free: 7.266 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.081e-05/0.5615, allocations: 84.14 kB / 1.028 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.5616, allocations: 79.22 kB / 1.028 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.5616, allocations: 105.8 kB / 1.028 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.5616, allocations: 0 / 1.028 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.108e-05/0.5617, allocations: 37.55 kB / 1.029 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.5618, allocations: 126.7 kB / 1.029 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.5619, allocations: 135.5 kB / 1.029 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.5619, allocations: 25.7 kB / 1.029 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.568e-05/0.562, allocations: 92.12 kB / 1.029 GB, free: 6.543 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.305e-06/0.562, allocations: 0 / 1.029 GB, free: 6.543 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/0.562, allocations: 17.72 kB / 1.029 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.87e-05/0.5621, allocations: 318.8 kB / 1.029 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.408e-05/0.5622, allocations: 4 kB / 1.029 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.669e-05/0.5622, allocations: 4 kB / 1.029 GB, free: 6.191 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.115e-05/0.5622, allocations: 12.86 kB / 1.029 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.5622, allocations: 4.031 kB / 1.029 GB, free: 6.172 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000119/0.5624, allocations: 57.47 kB / 1.029 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.5624, allocations: 4 kB / 1.029 GB, free: 6.105 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.5624, allocations: 4 kB / 1.029 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.5624, allocations: 48 / 1.029 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.224e-06/0.5624, allocations: 3.984 kB / 1.029 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.5624, allocations: 0 / 1.029 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.08e-05/0.5625, allocations: 0 / 1.029 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.5625, allocations: 4 kB / 1.029 GB, free: 6.094 MB / 0.7794 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.281e-05/0.5625, allocations: 189.2 kB / 1.029 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.982e-05/0.5626, allocations: 116.8 kB / 1.03 GB, free: 5.777 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.175e-05/0.5627, allocations: 108.8 kB / 1.03 GB, free: 5.664 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.665e-05/0.5627, allocations: 184.3 kB / 1.03 GB, free: 5.477 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.438e-05/0.5628, allocations: 180.2 kB / 1.03 GB, free: 5.293 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.99e-05/0.5628, allocations: 184.3 kB / 1.03 GB, free: 5.105 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.5631, allocations: 425.1 kB / 1.031 GB, free: 4.633 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.461e-05/0.5631, allocations: 104.9 kB / 1.031 GB, free: 4.523 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.779e-05/0.5631, allocations: 101 kB / 1.031 GB, free: 4.418 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-05/0.5632, allocations: 180.2 kB / 1.031 GB, free: 4.234 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-05/0.5633, allocations: 188.2 kB / 1.031 GB, free: 4.043 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.037e-05/0.5633, allocations: 188.2 kB / 1.031 GB, free: 3.852 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.206e-05/0.5634, allocations: 180.2 kB / 1.032 GB, free: 3.668 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/0.5635, allocations: 311.6 kB / 1.032 GB, free: 3.34 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.183e-05/0.5636, allocations: 186.1 kB / 1.032 GB, free: 3.133 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.443e-05/0.5636, allocations: 180.3 kB / 1.032 GB, free: 2.949 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.72e-05/0.5637, allocations: 108.9 kB / 1.032 GB, free: 2.836 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.784e-05/0.5638, allocations: 176.3 kB / 1.032 GB, free: 2.656 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-05/0.5638, allocations: 104.9 kB / 1.033 GB, free: 2.547 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.604e-05/0.5639, allocations: 104 kB / 1.033 GB, free: 2.445 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5639, allocations: 0 / 1.033 GB, free: 2.445 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0007006/0.5646, allocations: 275.8 kB / 1.033 GB, free: 2.176 MB / 0.7794 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.00126/0.5659, allocations: 1.17 MB / 1.034 GB, free: 0.9766 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.313e-05/0.5659, allocations: 37.64 kB / 1.034 GB, free: 0.9336 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.566, allocations: 4 kB / 1.034 GB, free: 0.9297 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.993e-06/0.566, allocations: 4.062 kB / 1.034 GB, free: 0.9258 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.5663, allocations: 461 kB / 1.035 GB, free: 484 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.5676, allocations: 1.561 MB / 1.036 GB, free: 14.83 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.5678, allocations: 0.6846 MB / 1.037 GB, free: 14.12 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.3e-05/0.5679, allocations: 3.938 kB / 1.037 GB, free: 14.12 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.827e-05/0.5679, allocations: 15.44 kB / 1.037 GB, free: 14.1 MB / 0.795 GB Notification: Performance of SimCode: time 3.51e-07/0.5679, allocations: 0 / 1.037 GB, free: 14.1 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.505/1.073, allocations: 6.884 MB / 1.043 GB, free: 7.414 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/13.02, allocations: 12.38 kB / 1.043 GB, free: 7.402 MB / 0.795 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)