Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001681/0.001681, allocations: 108 kB / 15.61 MB, free: 152 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.001864/0.001864, allocations: 197 kB / 16.53 MB, free: 6.664 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.359/1.359, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.247/2.247, allocations: 390.3 MB / 0.6647 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 67.89 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.525/0.5262, allocations: 140.4 MB / 0.9498 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001954/0.5282, allocations: 1.439 MB / 0.9512 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002962/0.5312, allocations: 2.878 MB / 0.954 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.843e-05/0.5312, allocations: 0 / 0.954 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.422e-05/0.5313, allocations: 4.938 kB / 0.954 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.831e-05/0.5313, allocations: 21.69 kB / 0.954 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002673/0.534, allocations: 1.586 MB / 0.9556 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.811e-05/0.5341, allocations: 43.27 kB / 0.9556 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.502e-05/0.5341, allocations: 10.78 kB / 0.9556 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.909e-05/0.5341, allocations: 14.95 kB / 0.9556 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.041e-05/0.5341, allocations: 17.16 kB / 0.9556 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.955e-06/0.5342, allocations: 0 / 0.9556 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001501/0.5357, allocations: 1.469 MB / 0.9571 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.987e-06/0.5357, allocations: 1.375 kB / 0.9571 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.442e-05/0.5357, allocations: 20.12 kB / 0.9571 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.5368, allocations: 1.094 MB / 0.9582 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.5368, allocations: 0.6875 kB / 0.9582 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5368, allocations: 3.938 kB / 0.9582 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.5368, allocations: 0 / 0.9582 GB, free: 3.207 MB / 0.7169 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.0004228/0.5372, allocations: 0.5134 MB / 0.9587 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.5373, allocations: 13.59 kB / 0.9587 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.227e-05/0.5373, allocations: 110.8 kB / 0.9588 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.555e-05/0.5373, allocations: 82.31 kB / 0.9589 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.828e-05/0.5374, allocations: 253.8 kB / 0.9591 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.5374, allocations: 152 kB / 0.9593 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.5375, allocations: 159.9 kB / 0.9594 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.752e-05/0.5375, allocations: 108.9 kB / 0.9595 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.5375, allocations: 80.41 kB / 0.9596 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/0.5376, allocations: 154.6 kB / 0.9597 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.5376, allocations: 151.7 kB / 0.9599 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.013e-05/0.5376, allocations: 154.5 kB / 0.96 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000161/0.5378, allocations: 461.9 kB / 0.9605 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.701e-05/0.5378, allocations: 170.3 kB / 0.9606 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.426e-05/0.5378, allocations: 80.14 kB / 0.9607 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.5378, allocations: 80.28 kB / 0.9608 GB, free: 460 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.5379, allocations: 110.9 kB / 0.9609 GB, free: 340 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.5379, allocations: 0 / 0.9609 GB, free: 340 kB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.114e-05/0.5379, allocations: 35.77 kB / 0.9609 GB, free: 300 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.538, allocations: 131.9 kB / 0.9611 GB, free: 156 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.409e-05/0.5381, allocations: 131.3 kB / 0.9612 GB, free: 36 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.239e-06/0.5381, allocations: 25.7 kB / 0.9612 GB, free: 4 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.224e-05/0.5381, allocations: 91.3 kB / 0.9613 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.5382, allocations: 0 / 0.9613 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.95e-05/0.5382, allocations: 14.59 kB / 0.9613 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.386e-05/0.5383, allocations: 325.5 kB / 0.9616 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.037e-05/0.5383, allocations: 2.094 kB / 0.9616 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.581e-05/0.5383, allocations: 8.531 kB / 0.9616 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.649e-05/0.5384, allocations: 18.17 kB / 0.9616 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.5384, allocations: 0 / 0.9616 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001105/0.5385, allocations: 56.38 kB / 0.9617 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.5385, allocations: 6.969 kB / 0.9617 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/0.5385, allocations: 3.25 kB / 0.9617 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.5386, allocations: 0 / 0.9617 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-07/0.5386, allocations: 1.062 kB / 0.9617 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.5386, allocations: 4.062 kB / 0.9617 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.136e-05/0.5386, allocations: 5.062 kB / 0.9617 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.5386, allocations: 1.094 kB / 0.9617 GB, free: 15.5 MB / 0.7325 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.904e-05/0.5387, allocations: 187.4 kB / 0.9619 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.522e-05/0.5387, allocations: 115 kB / 0.962 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.452e-05/0.5388, allocations: 114.9 kB / 0.9621 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.395e-05/0.5389, allocations: 189.3 kB / 0.9623 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.871e-05/0.5389, allocations: 185.3 kB / 0.9625 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-05/0.539, allocations: 181.4 kB / 0.9626 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.5392, allocations: 419.8 kB / 0.963 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.73e-05/0.5392, allocations: 102.1 kB / 0.9631 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.358e-05/0.5392, allocations: 106 kB / 0.9632 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.201e-05/0.5393, allocations: 185.6 kB / 0.9634 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.817e-05/0.5394, allocations: 177.6 kB / 0.9636 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.175e-05/0.5394, allocations: 184.1 kB / 0.9638 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.837e-05/0.5395, allocations: 181.6 kB / 0.9639 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.5396, allocations: 320.8 kB / 0.9642 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.366e-05/0.5397, allocations: 184.4 kB / 0.9644 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.21e-05/0.5397, allocations: 181.5 kB / 0.9646 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.148e-05/0.5398, allocations: 106.3 kB / 0.9647 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.435e-05/0.5399, allocations: 180.2 kB / 0.9649 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/0.5399, allocations: 106 kB / 0.965 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.488e-05/0.54, allocations: 101.3 kB / 0.9651 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.54, allocations: 0 / 0.9651 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007117/0.5407, allocations: 278.4 kB / 0.9653 GB, free: 11.82 MB / 0.7325 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.001352/0.542, allocations: 1.176 MB / 0.9665 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001093/0.5422, allocations: 38.98 kB / 0.9665 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5422, allocations: 0 / 0.9665 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.5422, allocations: 0 / 0.9665 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.5426, allocations: 466 kB / 0.967 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.5438, allocations: 1.591 MB / 0.9685 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001901/0.544, allocations: 0.6894 MB / 0.9692 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.061e-05/0.544, allocations: 4.031 kB / 0.9692 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.12e-05/0.544, allocations: 13.97 kB / 0.9692 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.544, allocations: 0 / 0.9692 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.093/1.637, allocations: 7.07 MB / 0.9761 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/14.23, allocations: 13.17 kB / 0.9761 GB, free: 4.531 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)