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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.001507/0.001507, 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.001213/0.001213, allocations: 193.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.267/1.267, 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 10.1.1-maint.10.0.x/package.mo): time 2.471/2.471, allocations: 437.1 MB / 0.7104 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 63.91 kB / 0.8694 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5562/0.5576, allocations: 151.6 MB / 1.017 GB, free: 2.438 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002126/0.5597, allocations: 1.438 MB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003564/0.5633, allocations: 2.907 MB / 1.022 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.486e-05/0.5634, allocations: 0 / 1.022 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.707e-05/0.5634, allocations: 3.938 kB / 1.022 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.099e-05/0.5634, allocations: 19.84 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003128/0.5666, allocations: 1.591 MB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.914e-05/0.5666, allocations: 39.75 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.414e-05/0.5667, allocations: 3.984 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.322e-05/0.5667, allocations: 15.92 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.544e-05/0.5667, allocations: 23.86 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.5668, allocations: 4 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001717/0.5685, allocations: 1.459 MB / 1.025 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.131e-05/0.5685, allocations: 4 kB / 1.025 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.856e-05/0.5685, allocations: 27.84 kB / 1.025 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001155/0.5697, allocations: 1.111 MB / 1.026 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5697, allocations: 4 kB / 1.026 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5697, allocations: 0 / 1.026 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.5697, allocations: 0 / 1.026 GB, free: 9.773 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.0004758/0.5702, allocations: 0.5164 MB / 1.026 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.5702, allocations: 8.031 kB / 1.026 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.016e-05/0.5703, allocations: 110 kB / 1.027 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.667e-05/0.5704, allocations: 84.12 kB / 1.027 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.5705, allocations: 255.5 kB / 1.027 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.999e-05/0.5705, allocations: 150.9 kB / 1.027 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.184e-05/0.5706, allocations: 154.9 kB / 1.027 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.83e-05/0.5706, allocations: 108.9 kB / 1.027 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.5707, allocations: 75.28 kB / 1.027 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.761e-05/0.5707, allocations: 150.6 kB / 1.027 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.884e-05/0.5707, allocations: 158.5 kB / 1.028 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.858e-05/0.5708, allocations: 154.5 kB / 1.028 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002259/0.571, allocations: 465.9 kB / 1.028 GB, free: 7.266 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.789e-05/0.5711, allocations: 165.1 kB / 1.028 GB, free: 7.094 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.439e-05/0.5711, allocations: 80.14 kB / 1.028 GB, free: 7.012 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.5711, allocations: 79.22 kB / 1.029 GB, free: 6.934 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.5712, allocations: 109.8 kB / 1.029 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 2.444e-06/0.5712, allocations: 0 / 1.029 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.507e-05/0.5712, allocations: 45.53 kB / 1.029 GB, free: 6.766 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.5713, allocations: 126.7 kB / 1.029 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.5714, allocations: 136.1 kB / 1.029 GB, free: 6.488 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.869e-06/0.5714, allocations: 25.7 kB / 1.029 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.781e-05/0.5715, allocations: 88.14 kB / 1.029 GB, free: 6.367 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-06/0.5715, allocations: 4 kB / 1.029 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.048e-05/0.5715, allocations: 25.7 kB / 1.029 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.571e-05/0.5716, allocations: 310.8 kB / 1.029 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.158e-05/0.5716, allocations: 8 kB / 1.029 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.437e-05/0.5716, allocations: 4 kB / 1.029 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.566e-05/0.5717, allocations: 20.78 kB / 1.029 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.5717, allocations: 0 / 1.029 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001033/0.5718, allocations: 53.61 kB / 1.029 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.5718, allocations: 4 kB / 1.029 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/0.5718, allocations: 12.06 kB / 1.029 GB, free: 5.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.828e-06/0.5718, allocations: 3.938 kB / 1.029 GB, free: 5.906 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-07/0.5718, allocations: 0 / 1.029 GB, free: 5.906 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.5719, allocations: 4 kB / 1.029 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.189e-05/0.5719, allocations: 7.844 kB / 1.029 GB, free: 5.895 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.5719, allocations: 3.984 kB / 1.029 GB, free: 5.891 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 7.313e-05/0.572, allocations: 185.1 kB / 1.03 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.848e-05/0.572, allocations: 108.9 kB / 1.03 GB, free: 5.586 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.683e-05/0.5721, allocations: 116.9 kB / 1.03 GB, free: 5.465 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.752e-05/0.5721, allocations: 180.3 kB / 1.03 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.768e-05/0.5722, allocations: 188.2 kB / 1.03 GB, free: 5.09 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.402e-05/0.5722, allocations: 180.3 kB / 1.03 GB, free: 4.906 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.5724, allocations: 417.1 kB / 1.031 GB, free: 4.441 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.65e-05/0.5725, allocations: 109 kB / 1.031 GB, free: 4.328 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.737e-05/0.5725, allocations: 105 kB / 1.031 GB, free: 4.219 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.561e-05/0.5725, allocations: 180.2 kB / 1.031 GB, free: 4.035 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.371e-05/0.5726, allocations: 176.3 kB / 1.031 GB, free: 3.855 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-05/0.5726, allocations: 184.2 kB / 1.031 GB, free: 3.668 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-05/0.5727, allocations: 180.3 kB / 1.032 GB, free: 3.484 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.709e-05/0.5728, allocations: 315.6 kB / 1.032 GB, free: 3.152 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.72e-05/0.5728, allocations: 186 kB / 1.032 GB, free: 2.945 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.475e-05/0.5729, allocations: 184.2 kB / 1.032 GB, free: 2.758 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.62e-05/0.573, allocations: 101 kB / 1.032 GB, free: 2.652 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.232e-05/0.573, allocations: 188.2 kB / 1.033 GB, free: 2.461 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.633e-05/0.5731, allocations: 105 kB / 1.033 GB, free: 2.352 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.758e-05/0.5731, allocations: 97.3 kB / 1.033 GB, free: 2.258 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5731, allocations: 0 / 1.033 GB, free: 2.258 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005893/0.5737, allocations: 283.8 kB / 1.033 GB, free: 1.98 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.001066/0.5748, allocations: 1.191 MB / 1.034 GB, free: 0.7617 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.346e-05/0.5749, allocations: 37.7 kB / 1.034 GB, free: 0.7188 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.5749, allocations: 0 / 1.034 GB, free: 0.7188 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.5749, allocations: 4 kB / 1.034 GB, free: 0.7148 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.5752, allocations: 464.4 kB / 1.035 GB, free: 264 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.5764, allocations: 1.58 MB / 1.036 GB, free: 14.6 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001771/0.5766, allocations: 0.6923 MB / 1.037 GB, free: 13.88 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.122e-05/0.5766, allocations: 0 / 1.037 GB, free: 13.88 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.022e-05/0.5766, allocations: 15.44 kB / 1.037 GB, free: 13.86 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.5766, allocations: 0 / 1.037 GB, free: 13.86 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.223/2.8, allocations: 7.073 MB / 1.044 GB, free: 6.98 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.191/11.99, allocations: 4.812 kB / 1.044 GB, free: 6.977 MB / 0.795 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)