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.001534/0.001534, 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.002147/0.002147, allocations: 195 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.387/1.387, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.796/2.796, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 66.61 kB / 0.8992 GB, free: 36.94 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3304, allocations: 157.4 MB / 1.053 GB, free: 8.211 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.004797/0.3353, allocations: 1.436 MB / 1.054 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.006249/0.3415, allocations: 2.903 MB / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.435e-05/0.3416, allocations: 0 / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.906e-05/0.3417, allocations: 3.938 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.205e-05/0.3418, allocations: 19.84 kB / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.005232/0.3471, allocations: 1.593 MB / 1.059 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.99e-05/0.3472, allocations: 35.75 kB / 1.059 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.323e-05/0.3473, allocations: 7.984 kB / 1.059 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.433e-05/0.3473, allocations: 15.92 kB / 1.059 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.36e-05/0.3473, allocations: 15.88 kB / 1.059 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.3474, allocations: 4 kB / 1.059 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003057/0.3504, allocations: 1.466 MB / 1.06 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.297e-05/0.3505, allocations: 3.984 kB / 1.06 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.617e-05/0.3505, allocations: 27.86 kB / 1.06 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002598/0.3532, allocations: 1.107 MB / 1.061 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3532, allocations: 0 / 1.061 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.744e-06/0.3532, allocations: 0 / 1.061 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.3532, allocations: 0 / 1.061 GB, free: 15.56 MB / 0.8262 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.001068/0.3543, allocations: 0.5197 MB / 1.062 GB, free: 15 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.305e-05/0.3543, allocations: 8.625 kB / 1.062 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.139e-05/0.3544, allocations: 106 kB / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.125e-05/0.3545, allocations: 84.12 kB / 1.062 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.3548, allocations: 263.4 kB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.89e-05/0.3548, allocations: 150.9 kB / 1.062 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.305e-05/0.3549, allocations: 150.9 kB / 1.063 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.262e-05/0.355, allocations: 104.9 kB / 1.063 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.62e-05/0.3551, allocations: 79.28 kB / 1.063 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.195e-05/0.3551, allocations: 158.6 kB / 1.063 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.871e-05/0.3552, allocations: 150.6 kB / 1.063 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.843e-05/0.3553, allocations: 158.5 kB / 1.063 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003898/0.3557, allocations: 461.9 kB / 1.064 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.269e-05/0.3558, allocations: 169.2 kB / 1.064 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.045e-05/0.3559, allocations: 84.14 kB / 1.064 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.052e-05/0.356, allocations: 79.22 kB / 1.064 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.469e-05/0.356, allocations: 109.8 kB / 1.064 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.413e-06/0.356, allocations: 0 / 1.064 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001064/0.3561, allocations: 41.53 kB / 1.064 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.341e-05/0.3562, allocations: 130.7 kB / 1.064 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.3564, allocations: 132 kB / 1.064 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.3564, allocations: 25.7 kB / 1.064 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.912e-05/0.3565, allocations: 96.05 kB / 1.065 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.3565, allocations: 0 / 1.065 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.537e-05/0.3566, allocations: 17.7 kB / 1.065 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.3567, allocations: 314.8 kB / 1.065 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.217e-05/0.3567, allocations: 8 kB / 1.065 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.401e-05/0.3568, allocations: 4 kB / 1.065 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.981e-05/0.3568, allocations: 24.88 kB / 1.065 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.3569, allocations: 0 / 1.065 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001605/0.357, allocations: 57.5 kB / 1.065 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.357, allocations: 8 kB / 1.065 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.218e-05/0.3571, allocations: 0 / 1.065 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.3571, allocations: 4 kB / 1.065 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.368e-06/0.3571, allocations: 4.062 kB / 1.065 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.3571, allocations: 3.938 kB / 1.065 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.154e-05/0.3572, allocations: 3.906 kB / 1.065 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.3572, allocations: 3.984 kB / 1.065 GB, free: 11.67 MB / 0.8262 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 0.0001197/0.3573, allocations: 189.2 kB / 1.065 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.82e-05/0.3574, allocations: 108.9 kB / 1.065 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.099e-05/0.3575, allocations: 112.8 kB / 1.065 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.225e-05/0.3575, allocations: 176.3 kB / 1.066 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.584e-05/0.3576, allocations: 188.2 kB / 1.066 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001132/0.3578, allocations: 180.3 kB / 1.066 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003019/0.3581, allocations: 421.1 kB / 1.066 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.3e-05/0.3581, allocations: 101 kB / 1.066 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.985e-05/0.3582, allocations: 105 kB / 1.066 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.505e-05/0.3583, allocations: 180.2 kB / 1.067 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.573e-05/0.3584, allocations: 184.3 kB / 1.067 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.182e-05/0.3584, allocations: 180.2 kB / 1.067 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.152e-05/0.3585, allocations: 180.2 kB / 1.067 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001789/0.3587, allocations: 319.6 kB / 1.067 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/0.3589, allocations: 186 kB / 1.068 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.527e-05/0.359, allocations: 184.2 kB / 1.068 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.3591, allocations: 105 kB / 1.068 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.2e-05/0.3592, allocations: 184.2 kB / 1.068 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.603e-05/0.3593, allocations: 104.9 kB / 1.068 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.087e-05/0.3593, allocations: 96.52 kB / 1.068 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.41e-07/0.3593, allocations: 0 / 1.068 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001085/0.3604, allocations: 283.8 kB / 1.069 GB, free: 7.762 MB / 0.8262 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.001967/0.3624, allocations: 1.175 MB / 1.07 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001331/0.3626, allocations: 45.64 kB / 1.07 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3626, allocations: 0 / 1.07 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.454e-06/0.3626, allocations: 0 / 1.07 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000533/0.3631, allocations: 466 kB / 1.07 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.3651, allocations: 1.598 MB / 1.072 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.3654, allocations: 0.6846 MB / 1.072 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.156e-05/0.3655, allocations: 4 kB / 1.072 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.325e-05/0.3655, allocations: 11.44 kB / 1.072 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.3655, allocations: 0 / 1.072 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.032/0.3975, allocations: 7.094 MB / 1.079 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.174/8.572, allocations: 12.56 kB / 1.079 GB, free: 12.73 MB / 0.8419 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)