Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.00144/0.00144, 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.001374/0.001374, allocations: 193.1 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.304/1.304, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.515/2.515, allocations: 469.8 MB / 0.7424 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00171/0.00171, allocations: 71.84 kB / 0.9087 GB, free: 34.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.239, allocations: 159.1 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002399/0.2414, allocations: 1.445 MB / 1.066 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003944/0.2454, allocations: 2.889 MB / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.655e-05/0.2454, allocations: 0 / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.978e-05/0.2455, allocations: 7.938 kB / 1.068 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.256e-05/0.2455, allocations: 19.84 kB / 1.068 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003364/0.2489, allocations: 1.6 MB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.428e-05/0.249, allocations: 39.75 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.397e-05/0.249, allocations: 3.984 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.052e-05/0.249, allocations: 11.94 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.188e-05/0.2491, allocations: 19.88 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.985e-06/0.2491, allocations: 4 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001919/0.251, allocations: 1.463 MB / 1.071 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.441e-05/0.2511, allocations: 4 kB / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.034e-05/0.2511, allocations: 23.8 kB / 1.071 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001434/0.2525, allocations: 1.111 MB / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.2525, allocations: 0 / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2525, allocations: 0 / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.2526, allocations: 0 / 1.073 GB, free: 5.531 MB / 0.8262 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.0005942/0.2531, allocations: 0.5185 MB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.2532, allocations: 12.03 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.397e-05/0.2533, allocations: 106 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.547e-05/0.2533, allocations: 84.12 kB / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.2535, allocations: 251.5 kB / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.651e-05/0.2536, allocations: 150.9 kB / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.557e-05/0.2536, allocations: 158.9 kB / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.365e-05/0.2537, allocations: 108.9 kB / 1.074 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.725e-05/0.2537, allocations: 79.28 kB / 1.074 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.438e-05/0.2538, allocations: 150.6 kB / 1.074 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.727e-05/0.2539, allocations: 150.6 kB / 1.074 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.833e-05/0.2539, allocations: 154.6 kB / 1.074 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003008/0.2542, allocations: 469.8 kB / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.467e-05/0.2543, allocations: 169.1 kB / 1.075 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.188e-05/0.2544, allocations: 84.14 kB / 1.075 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.197e-05/0.2544, allocations: 79.22 kB / 1.075 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.151e-05/0.2545, allocations: 113.8 kB / 1.075 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.2545, allocations: 4 kB / 1.075 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.285e-05/0.2545, allocations: 33.62 kB / 1.075 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.178e-05/0.2546, allocations: 130.7 kB / 1.075 GB, free: 2.375 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.2547, allocations: 134.8 kB / 1.076 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.2548, allocations: 25.7 kB / 1.076 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.914e-05/0.2548, allocations: 88.14 kB / 1.076 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-06/0.2548, allocations: 0 / 1.076 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-05/0.2549, allocations: 21.7 kB / 1.076 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.255, allocations: 314.8 kB / 1.076 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.131e-05/0.255, allocations: 8 kB / 1.076 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.611e-05/0.255, allocations: 11.92 kB / 1.076 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.816e-05/0.2551, allocations: 16.86 kB / 1.076 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.2551, allocations: 3.938 kB / 1.076 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001139/0.2552, allocations: 53.55 kB / 1.076 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.2552, allocations: 8 kB / 1.076 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/0.2552, allocations: 8 kB / 1.076 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.2553, allocations: 0 / 1.076 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.475e-06/0.2553, allocations: 8.047 kB / 1.076 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.2553, allocations: 3.984 kB / 1.076 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.879e-05/0.2553, allocations: 0 / 1.076 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.2553, allocations: 0 / 1.076 GB, free: 1.641 MB / 0.8262 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.0001063/0.2554, allocations: 186.4 kB / 1.076 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.319e-05/0.2555, allocations: 116.8 kB / 1.076 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.269e-05/0.2556, allocations: 108.8 kB / 1.077 GB, free: 1.215 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.166e-05/0.2556, allocations: 184.2 kB / 1.077 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.357e-05/0.2557, allocations: 180.3 kB / 1.077 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-05/0.2558, allocations: 180.2 kB / 1.077 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002656/0.2561, allocations: 417.2 kB / 1.077 GB, free: 200 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.788e-05/0.2561, allocations: 104.9 kB / 1.078 GB, free: 88 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.33e-05/0.2562, allocations: 109 kB / 1.078 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.438e-05/0.2563, allocations: 176.3 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.609e-05/0.2563, allocations: 184.2 kB / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.471e-05/0.2564, allocations: 180.3 kB / 1.078 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.503e-05/0.2565, allocations: 180.2 kB / 1.078 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001532/0.2566, allocations: 315.7 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.536e-05/0.2567, allocations: 190 kB / 1.079 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.919e-05/0.2568, allocations: 176.3 kB / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.786e-05/0.2569, allocations: 108.9 kB / 1.079 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.459e-05/0.257, allocations: 180.3 kB / 1.079 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.541e-05/0.257, allocations: 108.9 kB / 1.079 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.243e-05/0.2571, allocations: 100.8 kB / 1.079 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2571, allocations: 0 / 1.079 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006708/0.2578, allocations: 279.8 kB / 1.08 GB, free: 13.73 MB / 0.8419 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.001262/0.2591, allocations: 1.184 MB / 1.081 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.552e-05/0.2592, allocations: 41.7 kB / 1.081 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2592, allocations: 0 / 1.081 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.2592, allocations: 3.938 kB / 1.081 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.2596, allocations: 468.4 kB / 1.081 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.261, allocations: 1.599 MB / 1.083 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.2613, allocations: 0.6846 MB / 1.084 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.013e-05/0.2613, allocations: 0 / 1.084 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.018e-05/0.2613, allocations: 15.44 kB / 1.084 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of SimCode: time 2.91e-07/0.2613, allocations: 0 / 1.084 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.476/3.738, allocations: 7.08 MB / 1.091 GB, free: 2.719 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.55/17.29, allocations: 5.938 kB / 1.091 GB, free: 2.711 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)