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.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 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.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_9_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_9_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.001797/0.001797, allocations: 193.2 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.273/1.273, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.209/2.209, allocations: 390.3 MB / 0.6647 GB, free: 272 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 67.89 kB / 0.8127 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5733/0.5747, allocations: 140.4 MB / 0.9498 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002268/0.577, allocations: 1.428 MB / 0.9512 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003369/0.5804, allocations: 2.881 MB / 0.954 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.324e-05/0.5804, allocations: 1.562 kB / 0.954 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.75e-05/0.5804, allocations: 3.938 kB / 0.954 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.64e-05/0.5805, allocations: 16.97 kB / 0.954 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002972/0.5835, allocations: 1.588 MB / 0.9556 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.073e-05/0.5836, allocations: 38.88 kB / 0.9556 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.528e-05/0.5836, allocations: 10.02 kB / 0.9556 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.357e-05/0.5836, allocations: 16.22 kB / 0.9556 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.675e-05/0.5837, allocations: 12.12 kB / 0.9556 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.5837, allocations: 5.344 kB / 0.9556 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001703/0.5854, allocations: 1.465 MB / 0.9571 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.161e-05/0.5854, allocations: 9.359 kB / 0.9571 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.342e-05/0.5854, allocations: 18.75 kB / 0.9571 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001184/0.5866, allocations: 1.1 MB / 0.9582 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.5866, allocations: 3.938 kB / 0.9582 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5866, allocations: 0 / 0.9582 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.898e-06/0.5867, allocations: 1.125 kB / 0.9582 GB, free: 3.184 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.0004556/0.5871, allocations: 0.5164 MB / 0.9587 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.5872, allocations: 9.875 kB / 0.9587 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.416e-05/0.5872, allocations: 106 kB / 0.9588 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.797e-05/0.5873, allocations: 87.47 kB / 0.9589 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.725e-05/0.5873, allocations: 252.5 kB / 0.9591 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.5874, allocations: 152.1 kB / 0.9593 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.5874, allocations: 152.1 kB / 0.9594 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.877e-05/0.5874, allocations: 104.9 kB / 0.9595 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.5875, allocations: 84.31 kB / 0.9596 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.5875, allocations: 154.6 kB / 0.9597 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.5875, allocations: 154.6 kB / 0.9599 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.908e-05/0.5875, allocations: 151.6 kB / 0.96 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001785/0.5877, allocations: 461.4 kB / 0.9605 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.262e-05/0.5878, allocations: 170.2 kB / 0.9606 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.468e-05/0.5878, allocations: 85.2 kB / 0.9607 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.5878, allocations: 79.22 kB / 0.9608 GB, free: 440 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.5878, allocations: 106.9 kB / 0.9609 GB, free: 324 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.5878, allocations: 0 / 0.9609 GB, free: 324 kB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.284e-05/0.5879, allocations: 36.84 kB / 0.9609 GB, free: 284 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.5879, allocations: 134.7 kB / 0.9611 GB, free: 136 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.588, allocations: 129 kB / 0.9612 GB, free: 20 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/0.5881, allocations: 27.05 kB / 0.9612 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.245e-05/0.5881, allocations: 90.08 kB / 0.9613 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.5881, allocations: 0 / 0.9613 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.202e-05/0.5882, allocations: 19.36 kB / 0.9613 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.338e-05/0.5883, allocations: 316.2 kB / 0.9616 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.277e-05/0.5883, allocations: 11.03 kB / 0.9616 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.825e-05/0.5883, allocations: 12.89 kB / 0.9616 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.715e-05/0.5884, allocations: 17.98 kB / 0.9616 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.5884, allocations: 0 / 0.9616 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001186/0.5885, allocations: 52.55 kB / 0.9617 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.5885, allocations: 5.625 kB / 0.9617 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.223e-05/0.5885, allocations: 10.19 kB / 0.9617 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.5886, allocations: 0.875 kB / 0.9617 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.5886, allocations: 0 / 0.9617 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.5886, allocations: 4.891 kB / 0.9617 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.357e-05/0.5886, allocations: 9.094 kB / 0.9617 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.5886, allocations: 1.156 kB / 0.9617 GB, free: 15.47 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 8.234e-05/0.5887, allocations: 186.9 kB / 0.9619 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.474e-05/0.5888, allocations: 115 kB / 0.962 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.203e-05/0.5888, allocations: 111.4 kB / 0.9621 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.505e-05/0.5889, allocations: 189.5 kB / 0.9623 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.843e-05/0.5889, allocations: 185.3 kB / 0.9625 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-05/0.589, allocations: 181.3 kB / 0.9627 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001946/0.5892, allocations: 419.8 kB / 0.9631 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.784e-05/0.5892, allocations: 102.1 kB / 0.9632 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.106e-05/0.5893, allocations: 108.9 kB / 0.9633 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.78e-05/0.5893, allocations: 178 kB / 0.9634 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.945e-05/0.5894, allocations: 185.4 kB / 0.9636 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.765e-05/0.5894, allocations: 177.2 kB / 0.9638 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.923e-05/0.5895, allocations: 177.1 kB / 0.9639 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.5896, allocations: 316.2 kB / 0.9642 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.305e-05/0.5897, allocations: 191.9 kB / 0.9644 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.837e-05/0.5897, allocations: 178.4 kB / 0.9646 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.532e-05/0.5898, allocations: 114 kB / 0.9647 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.367e-05/0.5899, allocations: 181.4 kB / 0.9649 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.707e-05/0.5899, allocations: 101 kB / 0.965 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.635e-05/0.59, allocations: 98.3 kB / 0.9651 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.59, allocations: 5.031 kB / 0.9651 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007002/0.5907, allocations: 278.7 kB / 0.9653 GB, free: 11.79 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.001198/0.5919, allocations: 1.18 MB / 0.9665 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.03e-05/0.592, allocations: 37.8 kB / 0.9665 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.592, allocations: 0 / 0.9665 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.592, allocations: 1.219 kB / 0.9665 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.5923, allocations: 471.7 kB / 0.967 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.5936, allocations: 1.59 MB / 0.9685 GB, free: 8.84 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/0.5938, allocations: 0.6844 MB / 0.9692 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.24e-05/0.5938, allocations: 0 / 0.9692 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.216e-05/0.5938, allocations: 20.44 kB / 0.9692 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.5939, allocations: 0 / 0.9692 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8491/1.443, allocations: 7.08 MB / 0.9761 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.75/16.19, allocations: 10.84 kB / 0.9761 GB, free: 4.5 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)