Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_latest_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_latest_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007431/0.007431, allocations: 102.1 kB / 15.73 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001886/0.001886, allocations: 193.3 kB / 16.67 MB, free: 6.379 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.596/2.596, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 60.12 kB / 1.054 GB, free: 7.594 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3032, allocations: 157.4 MB / 1.207 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002839/0.3061, allocations: 1.446 MB / 1.209 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004354/0.3105, allocations: 2.891 MB / 1.212 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.1e-05/0.3106, allocations: 0 / 1.212 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.772e-05/0.3106, allocations: 3.938 kB / 1.212 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.422e-05/0.3107, allocations: 19.8 kB / 1.212 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00414/0.3149, allocations: 1.577 MB / 1.213 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.904e-05/0.315, allocations: 39.75 kB / 1.213 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.367e-05/0.315, allocations: 7.984 kB / 1.213 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.042e-05/0.3151, allocations: 15.94 kB / 1.213 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.89e-05/0.3151, allocations: 15.88 kB / 1.213 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.3151, allocations: 0 / 1.213 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002301/0.3174, allocations: 1.537 MB / 1.215 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.802e-05/0.3174, allocations: 11.94 kB / 1.215 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.272e-05/0.3175, allocations: 15.88 kB / 1.215 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001722/0.3192, allocations: 1.115 MB / 1.216 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3192, allocations: 7.938 kB / 1.216 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3192, allocations: 0 / 1.216 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.3193, allocations: 0 / 1.216 GB, free: 1.363 MB / 0.9669 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.0006937/0.32, allocations: 0.5184 MB / 1.216 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.32, allocations: 8.625 kB / 1.216 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.842e-05/0.3201, allocations: 106 kB / 1.216 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.991e-05/0.3201, allocations: 88.11 kB / 1.217 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.3203, allocations: 247.5 kB / 1.217 GB, free: 316 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.937e-05/0.3203, allocations: 154.9 kB / 1.217 GB, free: 160 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.823e-05/0.3204, allocations: 154.9 kB / 1.217 GB, free: 4 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.877e-05/0.3205, allocations: 104.9 kB / 1.217 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/0.3205, allocations: 79.28 kB / 1.217 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.73e-05/0.3206, allocations: 154.6 kB / 1.217 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.563e-05/0.3206, allocations: 158.5 kB / 1.218 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.475e-05/0.3207, allocations: 154.6 kB / 1.218 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002767/0.3209, allocations: 461.9 kB / 1.218 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.474e-05/0.321, allocations: 165.1 kB / 1.218 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.004e-05/0.3211, allocations: 88.12 kB / 1.218 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.3211, allocations: 79.22 kB / 1.218 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.242e-05/0.3211, allocations: 117.8 kB / 1.219 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.3211, allocations: 0 / 1.219 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.78e-05/0.3212, allocations: 29.61 kB / 1.219 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.3213, allocations: 126.7 kB / 1.219 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.3214, allocations: 138.9 kB / 1.219 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.3215, allocations: 25.7 kB / 1.219 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.571e-05/0.3215, allocations: 92.12 kB / 1.219 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-06/0.3215, allocations: 0 / 1.219 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.3215, allocations: 17.72 kB / 1.219 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.3217, allocations: 314.8 kB / 1.219 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.914e-05/0.3217, allocations: 8 kB / 1.219 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.756e-05/0.3217, allocations: 4 kB / 1.219 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.032e-05/0.3218, allocations: 24.73 kB / 1.219 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.3218, allocations: 4.031 kB / 1.219 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001193/0.3219, allocations: 49.55 kB / 1.219 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.3219, allocations: 8 kB / 1.219 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.173e-05/0.3219, allocations: 7.969 kB / 1.219 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.322, allocations: 4 kB / 1.219 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.91e-07/0.322, allocations: 0 / 1.219 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.322, allocations: 0 / 1.219 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.254e-05/0.322, allocations: 0 / 1.219 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.322, allocations: 0 / 1.219 GB, free: 13.49 MB / 0.9825 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.892e-05/0.3221, allocations: 189.2 kB / 1.22 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.577e-05/0.3222, allocations: 120.7 kB / 1.22 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.84e-05/0.3222, allocations: 112.8 kB / 1.22 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.634e-05/0.3223, allocations: 180.2 kB / 1.22 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-05/0.3223, allocations: 180.3 kB / 1.22 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.106e-05/0.3224, allocations: 180.2 kB / 1.22 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.3226, allocations: 429.1 kB / 1.221 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.987e-05/0.3226, allocations: 101 kB / 1.221 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.308e-05/0.3227, allocations: 104.9 kB / 1.221 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.112e-05/0.3227, allocations: 176.3 kB / 1.221 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.414e-05/0.3228, allocations: 184.3 kB / 1.221 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.558e-05/0.3229, allocations: 192.2 kB / 1.221 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.208e-05/0.3229, allocations: 180.2 kB / 1.222 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.323, allocations: 307.6 kB / 1.222 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.468e-05/0.3231, allocations: 186.1 kB / 1.222 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.43e-05/0.3232, allocations: 188.2 kB / 1.222 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.792e-05/0.3233, allocations: 101 kB / 1.222 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.934e-05/0.3233, allocations: 184.2 kB / 1.223 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.157e-05/0.3234, allocations: 101 kB / 1.223 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.74e-05/0.3234, allocations: 104.7 kB / 1.223 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3234, allocations: 0 / 1.223 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007547/0.3242, allocations: 283.8 kB / 1.223 GB, free: 9.566 MB / 0.9825 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.001414/0.3256, allocations: 1.183 MB / 1.224 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001047/0.3257, allocations: 49.7 kB / 1.224 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3257, allocations: 0 / 1.224 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.547e-06/0.3258, allocations: 3.984 kB / 1.224 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.3261, allocations: 462.3 kB / 1.225 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.3275, allocations: 1.59 MB / 1.226 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.3278, allocations: 0.6885 MB / 1.227 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.669e-05/0.3278, allocations: 0 / 1.227 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.317e-05/0.3278, allocations: 15.44 kB / 1.227 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.3278, allocations: 4 kB / 1.227 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02507/0.3529, allocations: 7.125 MB / 1.234 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.764/8.117, allocations: 11.62 kB / 1.234 GB, free: 14.52 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)