Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",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.001245/0.001245, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001268/0.001268, allocations: 193.5 kB / 16.14 MB, free: 6.711 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.244/1.244, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.206/2.206, allocations: 390.2 MB / 0.6643 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 64.09 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6971/0.6986, allocations: 140.4 MB / 0.9491 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004383/0.703, allocations: 3.077 MB / 0.9521 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002366/0.7054, allocations: 2.108 MB / 0.9541 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001734/0.7056, allocations: 9.031 kB / 0.9542 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.7069, allocations: 473.5 kB / 0.9546 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002242/0.7071, allocations: 142 kB / 0.9547 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001045/0.7072, allocations: 45.05 kB / 0.9548 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004676/0.7077, allocations: 471.6 kB / 0.9552 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002565/0.708, allocations: 134.4 kB / 0.9554 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.7081, allocations: 143.5 kB / 0.9555 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001939/0.7084, allocations: 175.4 kB / 0.9557 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.974e-05/0.7084, allocations: 27.14 kB / 0.9557 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.891e-05/0.7085, allocations: 28.19 kB / 0.9557 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.7086, allocations: 86.8 kB / 0.9558 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001754/0.7088, allocations: 208.6 kB / 0.956 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003865/0.7092, allocations: 0.5298 MB / 0.9565 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.7092, allocations: 0 / 0.9565 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.042e-06/0.7092, allocations: 0 / 0.9565 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.7092, allocations: 0 / 0.9565 GB, free: 3.41 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009631/0.7102, allocations: 0.7011 MB / 0.9572 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.7102, allocations: 13.38 kB / 0.9572 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.153e-05/0.7103, allocations: 61.91 kB / 0.9573 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.046e-05/0.7104, allocations: 46.22 kB / 0.9573 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004006/0.7108, allocations: 371.9 kB / 0.9577 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.7108, allocations: 13.06 kB / 0.9577 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.662e-05/0.7108, allocations: 22.12 kB / 0.9577 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004025/0.7112, allocations: 207.2 kB / 0.9579 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.7113, allocations: 0 / 0.9579 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.7113, allocations: 5.375 kB / 0.9579 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.7113, allocations: 9.484 kB / 0.9579 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003825/0.7117, allocations: 167.6 kB / 0.9581 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.7128, allocations: 0.8675 MB / 0.9589 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003573/0.7132, allocations: 160.1 kB / 0.9591 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002448/0.7135, allocations: 109.4 kB / 0.9592 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.7135, allocations: 1.094 kB / 0.9592 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.7135, allocations: 41 kB / 0.9592 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.352e-06/0.7135, allocations: 0 / 0.9592 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.0006565/0.7142, allocations: 258 kB / 0.9595 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.7142, allocations: 54.16 kB / 0.9595 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004767/0.7147, allocations: 420 kB / 0.9599 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.7147, allocations: 25.7 kB / 0.9599 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.7149, allocations: 209.6 kB / 0.9601 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.441e-05/0.7149, allocations: 62.42 kB / 0.9602 GB, free: 476 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.648e-05/0.715, allocations: 35.89 kB / 0.9602 GB, free: 444 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.133e-05/0.7151, allocations: 347.8 kB / 0.9606 GB, free: 96 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.7152, allocations: 64.92 kB / 0.9606 GB, free: 60 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.7154, allocations: 54.31 kB / 0.9607 GB, free: 36 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003346/0.7157, allocations: 137.4 kB / 0.9608 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.7157, allocations: 0 / 0.9608 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000403/0.7161, allocations: 204.7 kB / 0.961 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.7161, allocations: 8.062 kB / 0.961 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.7162, allocations: 5.219 kB / 0.961 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.7162, allocations: 1 kB / 0.961 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.7164, allocations: 53.22 kB / 0.9611 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.7165, allocations: 1.219 kB / 0.9611 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.7166, allocations: 24.98 kB / 0.9611 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.7167, allocations: 3.594 kB / 0.9611 GB, free: 15.81 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001752/0.7168, allocations: 170 kB / 0.9613 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.191e-05/0.7169, allocations: 31.5 kB / 0.9613 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.422e-05/0.717, allocations: 43.28 kB / 0.9613 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.717, allocations: 2.125 kB / 0.9613 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.717, allocations: 5.078 kB / 0.9613 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.717, allocations: 3.984 kB / 0.9613 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004373/0.7175, allocations: 386 kB / 0.9617 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.7175, allocations: 0 / 0.9617 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002647/0.7178, allocations: 54.5 kB / 0.9618 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.7178, allocations: 3.984 kB / 0.9618 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.7178, allocations: 9.688 kB / 0.9618 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.7178, allocations: 1.219 kB / 0.9618 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.7178, allocations: 0 / 0.9618 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006065/0.7184, allocations: 377.4 kB / 0.9621 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.581e-05/0.7185, allocations: 123.2 kB / 0.9623 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.986e-05/0.7186, allocations: 9.219 kB / 0.9623 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.7188, allocations: 10.39 kB / 0.9623 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.884e-05/0.7188, allocations: 13.11 kB / 0.9623 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.7188, allocations: 4.125 kB / 0.9623 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003266/0.7192, allocations: 305.7 kB / 0.9626 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7192, allocations: 0 / 0.9626 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003021/0.7195, allocations: 71.12 kB / 0.9627 GB, free: 14.64 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.0008976/0.7204, allocations: 0.9201 MB / 0.9636 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003629/0.7208, allocations: 149.6 kB / 0.9637 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.7208, allocations: 0 / 0.9637 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.7209, allocations: 76.59 kB / 0.9638 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007083/0.7217, allocations: 88.11 kB / 0.9639 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005345/0.727, allocations: 3.643 MB / 0.9674 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/0.7274, allocations: 0.7973 MB / 0.9682 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001561/0.7276, allocations: 34.41 kB / 0.9682 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/0.7278, allocations: 120.1 kB / 0.9683 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of SimCode: time 6.61e-07/0.7278, allocations: 3.938 kB / 0.9683 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02262/0.7504, allocations: 7.492 MB / 0.9757 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002155/0.7507, allocations: 275.6 kB / 0.9759 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.909/2.66, allocations: 2.578 kB / 0.9759 GB, free: 6.352 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)