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.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 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.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_10_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_10_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.005285/0.005285, allocations: 99.77 kB / 15.73 MB, free: 6.02 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.001453/0.001453, allocations: 193.7 kB / 16.67 MB, free: 5.934 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.284/1.284, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.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.275/2.275, allocations: 437.1 MB / 0.7105 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 63.91 kB / 1.018 GB, free: 9.742 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6354/0.6372, allocations: 151.6 MB / 1.166 GB, free: 3.703 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002314/0.6395, allocations: 1.445 MB / 1.168 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004115/0.6437, allocations: 2.904 MB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.808e-05/0.6437, allocations: 0 / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 1.763e-05/0.6438, allocations: 7.938 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.069e-05/0.6438, allocations: 15.84 kB / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003434/0.6473, allocations: 1.581 MB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 7.818e-05/0.6473, allocations: 39.75 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 3.848e-05/0.6474, allocations: 11.97 kB / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 2.374e-05/0.6474, allocations: 11.94 kB / 1.172 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 2.882e-05/0.6475, allocations: 19.88 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.957e-06/0.6475, allocations: 0 / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002171/0.6496, allocations: 1.537 MB / 1.174 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.404e-05/0.6497, allocations: 3.984 kB / 1.174 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.708e-05/0.6497, allocations: 23.81 kB / 1.174 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001431/0.6511, allocations: 1.11 MB / 1.175 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.6512, allocations: 4 kB / 1.175 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6512, allocations: 0 / 1.175 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.6512, allocations: 0 / 1.175 GB, free: 10.98 MB / 0.9044 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.0005925/0.6518, allocations: 0.5285 MB / 1.175 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.6518, allocations: 16.92 kB / 1.175 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.952e-05/0.6519, allocations: 114 kB / 1.175 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.089e-05/0.652, allocations: 80.17 kB / 1.175 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.6521, allocations: 254.4 kB / 1.176 GB, free: 9.902 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.147e-05/0.6522, allocations: 150.9 kB / 1.176 GB, free: 9.754 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.85e-05/0.6523, allocations: 150.9 kB / 1.176 GB, free: 9.605 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.384e-05/0.6524, allocations: 108.9 kB / 1.176 GB, free: 9.492 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.219e-05/0.6524, allocations: 75.28 kB / 1.176 GB, free: 9.418 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.014e-05/0.6525, allocations: 154.6 kB / 1.176 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-05/0.6525, allocations: 154.6 kB / 1.176 GB, free: 9.113 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.946e-05/0.6526, allocations: 158.5 kB / 1.177 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003228/0.6529, allocations: 469.9 kB / 1.177 GB, free: 8.449 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 9.457e-05/0.653, allocations: 173.1 kB / 1.177 GB, free: 8.27 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.686e-05/0.6531, allocations: 80.14 kB / 1.177 GB, free: 8.188 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.225e-05/0.6531, allocations: 79.22 kB / 1.177 GB, free: 8.109 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.623e-05/0.6532, allocations: 109.8 kB / 1.178 GB, free: 7.992 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 2.525e-06/0.6532, allocations: 7.984 kB / 1.178 GB, free: 7.984 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 7.381e-05/0.6533, allocations: 33.66 kB / 1.178 GB, free: 7.945 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.014e-05/0.6533, allocations: 130.7 kB / 1.178 GB, free: 7.805 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.6535, allocations: 129.8 kB / 1.178 GB, free: 7.668 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.6535, allocations: 25.7 kB / 1.178 GB, free: 7.637 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.409e-05/0.6536, allocations: 100.1 kB / 1.178 GB, free: 7.535 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.6536, allocations: 0 / 1.178 GB, free: 7.535 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.6536, allocations: 17.72 kB / 1.178 GB, free: 7.512 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.6537, allocations: 322.8 kB / 1.178 GB, free: 7.188 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.131e-05/0.6538, allocations: 4 kB / 1.178 GB, free: 7.184 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.743e-05/0.6538, allocations: 8 kB / 1.178 GB, free: 7.176 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.856e-05/0.6538, allocations: 16.8 kB / 1.178 GB, free: 7.156 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.6538, allocations: 3.938 kB / 1.178 GB, free: 7.152 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001188/0.654, allocations: 49.64 kB / 1.178 GB, free: 7.098 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.654, allocations: 7.984 kB / 1.178 GB, free: 7.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/0.654, allocations: 4 kB / 1.178 GB, free: 7.086 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.654, allocations: 0 / 1.178 GB, free: 7.086 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.654, allocations: 4.062 kB / 1.178 GB, free: 7.082 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.654, allocations: 4 kB / 1.178 GB, free: 7.078 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2e-05/0.6541, allocations: 3.953 kB / 1.178 GB, free: 7.074 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.6541, allocations: 0 / 1.178 GB, free: 7.074 MB / 0.9044 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.000101/0.6542, allocations: 185.1 kB / 1.179 GB, free: 6.883 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.33e-05/0.6542, allocations: 112.8 kB / 1.179 GB, free: 6.766 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.33e-05/0.6543, allocations: 120.9 kB / 1.179 GB, free: 6.633 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.391e-05/0.6544, allocations: 180.3 kB / 1.179 GB, free: 6.449 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.789e-05/0.6545, allocations: 180.2 kB / 1.179 GB, free: 6.266 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.385e-05/0.6546, allocations: 180.3 kB / 1.179 GB, free: 6.082 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002784/0.6548, allocations: 421.1 kB / 1.18 GB, free: 5.613 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.954e-05/0.6549, allocations: 101 kB / 1.18 GB, free: 5.508 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.877e-05/0.6549, allocations: 109 kB / 1.18 GB, free: 5.395 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.096e-05/0.655, allocations: 184.2 kB / 1.18 GB, free: 5.207 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.579e-05/0.6551, allocations: 176.3 kB / 1.18 GB, free: 5.027 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.647e-05/0.6552, allocations: 180.2 kB / 1.18 GB, free: 4.844 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-05/0.6553, allocations: 184.2 kB / 1.181 GB, free: 4.656 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001542/0.6554, allocations: 311.7 kB / 1.181 GB, free: 4.328 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.251e-05/0.6555, allocations: 186 kB / 1.181 GB, free: 4.121 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.777e-05/0.6556, allocations: 184.2 kB / 1.181 GB, free: 3.934 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.947e-05/0.6557, allocations: 105 kB / 1.181 GB, free: 3.824 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.039e-05/0.6558, allocations: 188.1 kB / 1.181 GB, free: 3.633 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.433e-05/0.6558, allocations: 109 kB / 1.182 GB, free: 3.52 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.912e-05/0.6559, allocations: 101.7 kB / 1.182 GB, free: 3.422 MB / 0.9044 GB Notification: Performance of sort global known variables: time 9e-08/0.6559, allocations: 0 / 1.182 GB, free: 3.422 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000655/0.6566, allocations: 291 kB / 1.182 GB, free: 3.137 MB / 0.9044 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.001313/0.6579, allocations: 1.184 MB / 1.183 GB, free: 1.926 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 9.417e-05/0.658, allocations: 45.69 kB / 1.183 GB, free: 1.875 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.658, allocations: 0 / 1.183 GB, free: 1.875 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.658, allocations: 0 / 1.183 GB, free: 1.875 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/0.6584, allocations: 463.8 kB / 1.184 GB, free: 1.418 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.6598, allocations: 1.592 MB / 1.185 GB, free: 15.74 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.6602, allocations: 0.6846 MB / 1.186 GB, free: 15.03 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 1.166e-05/0.6602, allocations: 0 / 1.186 GB, free: 15.03 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.536e-05/0.6602, allocations: 19.44 kB / 1.186 GB, free: 15.01 MB / 0.92 GB Notification: Performance of SimCode: time 2.91e-07/0.6602, allocations: 4.031 kB / 1.186 GB, free: 15.01 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.56/3.22, allocations: 7.075 MB / 1.193 GB, free: 8.152 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.33/17.55, allocations: 26.34 kB / 1.193 GB, free: 8.129 MB / 0.92 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)