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.008234/0.008234, allocations: 99.52 kB / 15.73 MB, free: 6.062 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.002169/0.002169, allocations: 195.7 kB / 16.67 MB, free: 5.973 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 4.152 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.443/2.443, allocations: 437.1 MB / 0.7106 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 72.11 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2621, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002391/0.2645, allocations: 1.44 MB / 1.168 GB, free: 5.836 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004201/0.2688, allocations: 2.895 MB / 1.171 GB, free: 2.922 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.223e-05/0.2688, allocations: 0 / 1.171 GB, free: 2.922 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.522e-05/0.2689, allocations: 7.922 kB / 1.171 GB, free: 2.914 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.661e-05/0.2689, allocations: 15.86 kB / 1.171 GB, free: 2.898 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003589/0.2725, allocations: 1.608 MB / 1.172 GB, free: 1.312 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.673e-05/0.2726, allocations: 47.67 kB / 1.172 GB, free: 1.266 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.231e-05/0.2727, allocations: 4 kB / 1.172 GB, free: 1.262 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.398e-05/0.2727, allocations: 15.92 kB / 1.172 GB, free: 1.246 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.926e-05/0.2727, allocations: 19.86 kB / 1.172 GB, free: 1.227 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.2727, allocations: 4 kB / 1.172 GB, free: 1.223 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002196/0.2749, allocations: 1.529 MB / 1.174 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.999e-06/0.275, allocations: 0 / 1.174 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.294e-05/0.275, allocations: 23.84 kB / 1.174 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001443/0.2765, allocations: 1.118 MB / 1.175 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2765, allocations: 3.938 kB / 1.175 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2765, allocations: 4 kB / 1.175 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.2765, allocations: 0 / 1.175 GB, free: 14.54 MB / 0.9356 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.0006124/0.2771, allocations: 0.5235 MB / 1.175 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.2771, allocations: 8.031 kB / 1.175 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.111e-05/0.2772, allocations: 110 kB / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.437e-05/0.2773, allocations: 84.17 kB / 1.176 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.2775, allocations: 255.5 kB / 1.176 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.178e-05/0.2775, allocations: 158.9 kB / 1.176 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.467e-05/0.2776, allocations: 154.9 kB / 1.176 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.387e-05/0.2777, allocations: 108.9 kB / 1.176 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.263e-05/0.2777, allocations: 75.28 kB / 1.176 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.366e-05/0.2778, allocations: 150.6 kB / 1.176 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.689e-05/0.2779, allocations: 150.6 kB / 1.177 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.778e-05/0.2779, allocations: 154.6 kB / 1.177 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003198/0.2783, allocations: 461.9 kB / 1.177 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.405e-05/0.2784, allocations: 173.1 kB / 1.177 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.579e-05/0.2784, allocations: 84.14 kB / 1.177 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.413e-05/0.2784, allocations: 83.22 kB / 1.177 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.706e-05/0.2785, allocations: 105.8 kB / 1.178 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.2785, allocations: 0 / 1.178 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 7.266e-05/0.2786, allocations: 37.64 kB / 1.178 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.997e-05/0.2787, allocations: 130.6 kB / 1.178 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.2788, allocations: 132 kB / 1.178 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.2788, allocations: 29.7 kB / 1.178 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.224e-05/0.2789, allocations: 96.09 kB / 1.178 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-06/0.2789, allocations: 0 / 1.178 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.2789, allocations: 17.75 kB / 1.178 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.2791, allocations: 326.8 kB / 1.178 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.259e-05/0.2791, allocations: 4 kB / 1.178 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.518e-05/0.2791, allocations: 4 kB / 1.178 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.793e-05/0.2792, allocations: 20.84 kB / 1.178 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2792, allocations: 4.031 kB / 1.178 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000121/0.2793, allocations: 49.64 kB / 1.178 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.2793, allocations: 4 kB / 1.178 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.2794, allocations: 7.938 kB / 1.178 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.2794, allocations: 0 / 1.178 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-07/0.2794, allocations: 0 / 1.178 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.2794, allocations: 0 / 1.178 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.095e-05/0.2794, allocations: 3.953 kB / 1.178 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.2794, allocations: 7.984 kB / 1.178 GB, free: 10.65 MB / 0.9356 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.0001087/0.2796, allocations: 189.2 kB / 1.179 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-05/0.2796, allocations: 112.9 kB / 1.179 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.716e-05/0.2797, allocations: 108.8 kB / 1.179 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.308e-05/0.2798, allocations: 184.2 kB / 1.179 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.124e-05/0.2799, allocations: 184.2 kB / 1.179 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.803e-05/0.2799, allocations: 180.2 kB / 1.179 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002695/0.2802, allocations: 417.2 kB / 1.18 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.293e-05/0.2803, allocations: 104.9 kB / 1.18 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.24e-05/0.2803, allocations: 105 kB / 1.18 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.266e-05/0.2804, allocations: 188.2 kB / 1.18 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.982e-05/0.2805, allocations: 180.2 kB / 1.18 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.359e-05/0.2806, allocations: 176.3 kB / 1.18 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.607e-05/0.2806, allocations: 184.2 kB / 1.181 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.2808, allocations: 311.8 kB / 1.181 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.278e-05/0.2809, allocations: 186 kB / 1.181 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.952e-05/0.281, allocations: 184.3 kB / 1.181 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.385e-05/0.2811, allocations: 112.9 kB / 1.181 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.097e-05/0.2812, allocations: 180.2 kB / 1.181 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-05/0.2812, allocations: 101 kB / 1.182 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.456e-05/0.2813, allocations: 109.2 kB / 1.182 GB, free: 7 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2813, allocations: 3.938 kB / 1.182 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006683/0.282, allocations: 287 kB / 1.182 GB, free: 6.715 MB / 0.9356 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.001348/0.2833, allocations: 1.184 MB / 1.183 GB, free: 5.504 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.383e-05/0.2834, allocations: 41.7 kB / 1.183 GB, free: 5.457 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2834, allocations: 0 / 1.183 GB, free: 5.457 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.647e-06/0.2835, allocations: 8.234 kB / 1.183 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/0.2839, allocations: 463.7 kB / 1.184 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.2853, allocations: 1.595 MB / 1.185 GB, free: 3.32 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.2856, allocations: 0.6884 MB / 1.186 GB, free: 2.605 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.21e-05/0.2856, allocations: 4 kB / 1.186 GB, free: 2.602 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.324e-05/0.2857, allocations: 15.42 kB / 1.186 GB, free: 2.586 MB / 0.9356 GB Notification: Performance of SimCode: time 2e-07/0.2857, allocations: 0 / 1.186 GB, free: 2.586 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6551/0.9408, allocations: 7.075 MB / 1.193 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/13.31, allocations: 4.422 kB / 1.193 GB, free: 11.71 MB / 0.9512 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=400 --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)