Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_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.001508/0.001508, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001905/0.001905, allocations: 193.8 kB / 16.25 MB, free: 6.621 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.408/1.408, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.954/2.954, allocations: 461.9 MB / 0.7343 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 63.5 kB / 0.8987 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3134, allocations: 157.4 MB / 1.052 GB, free: 8.609 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004708/0.3181, allocations: 4.196 MB / 1.057 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003014/0.3212, allocations: 2.379 MB / 1.059 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004851/0.3217, allocations: 12 kB / 1.059 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001745/0.3234, allocations: 0.4901 MB / 1.059 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0007038/0.3241, allocations: 222.4 kB / 1.06 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.3245, allocations: 119.9 kB / 1.06 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001006/0.3255, allocations: 0.8021 MB / 1.06 GB, free: 360 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004166/0.3259, allocations: 334.5 kB / 1.061 GB, free: 28 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003202/0.3263, allocations: 283 kB / 1.061 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003095/0.3266, allocations: 342.5 kB / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.733e-05/0.3267, allocations: 76 kB / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.165e-05/0.3268, allocations: 72 kB / 1.062 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001441/0.3269, allocations: 171.4 kB / 1.062 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000277/0.3272, allocations: 382.3 kB / 1.062 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007057/0.3279, allocations: 0.9887 MB / 1.063 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3279, allocations: 0 / 1.063 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.22e-07/0.3279, allocations: 0 / 1.063 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.3279, allocations: 0 / 1.063 GB, free: 13.73 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.00126/0.3292, allocations: 0.9477 MB / 1.064 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.3293, allocations: 8.625 kB / 1.064 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.12e-05/0.3293, allocations: 90.7 kB / 1.064 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.252e-05/0.3294, allocations: 72.09 kB / 1.064 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005091/0.33, allocations: 465.6 kB / 1.065 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/0.33, allocations: 37.38 kB / 1.065 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.673e-05/0.3301, allocations: 48.38 kB / 1.065 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007142/0.3308, allocations: 442.5 kB / 1.065 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.3308, allocations: 3.906 kB / 1.065 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.701e-05/0.3309, allocations: 20 kB / 1.065 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.3309, allocations: 12 kB / 1.065 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006218/0.3315, allocations: 367.8 kB / 1.065 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001796/0.3333, allocations: 1.516 MB / 1.067 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004647/0.3338, allocations: 348.2 kB / 1.067 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004233/0.3342, allocations: 324.7 kB / 1.068 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.267e-05/0.3343, allocations: 7.938 kB / 1.068 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.3343, allocations: 42.5 kB / 1.068 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=42): time 1.382e-06/0.3343, allocations: 0 / 1.068 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of matching and sorting (n=42): time 0.0008493/0.3352, allocations: 497 kB / 1.068 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.3352, allocations: 55.41 kB / 1.068 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004928/0.3357, allocations: 485.9 kB / 1.069 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.3357, allocations: 33.7 kB / 1.069 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.3359, allocations: 284.3 kB / 1.069 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.336, allocations: 141.9 kB / 1.069 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.681e-05/0.3361, allocations: 58.08 kB / 1.069 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.3363, allocations: 358.8 kB / 1.069 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002243/0.3365, allocations: 128.7 kB / 1.07 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.3367, allocations: 121.5 kB / 1.07 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004623/0.3372, allocations: 305.9 kB / 1.07 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3372, allocations: 3.938 kB / 1.07 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005812/0.3378, allocations: 400.1 kB / 1.07 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.3378, allocations: 8 kB / 1.07 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3378, allocations: 0 / 1.07 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.3378, allocations: 0 / 1.07 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004674/0.3383, allocations: 127.9 kB / 1.07 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.3383, allocations: 4 kB / 1.07 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002429/0.3386, allocations: 47.56 kB / 1.071 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.3386, allocations: 12 kB / 1.071 GB, free: 5.766 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 (46): * Single equations (assignments): 46 * 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.0001905/0.3388, allocations: 201.7 kB / 1.071 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.812e-05/0.3389, allocations: 55.36 kB / 1.071 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.669e-05/0.339, allocations: 57.11 kB / 1.071 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.339, allocations: 4 kB / 1.071 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.339, allocations: 0 / 1.071 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.339, allocations: 3.984 kB / 1.071 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005995/0.3396, allocations: 0.5751 MB / 1.071 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.3396, allocations: 3.938 kB / 1.071 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004807/0.3401, allocations: 123.9 kB / 1.072 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.3401, allocations: 8 kB / 1.072 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.576e-05/0.3402, allocations: 4 kB / 1.072 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.3402, allocations: 4 kB / 1.072 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.3402, allocations: 0 / 1.072 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008866/0.3411, allocations: 0.6403 MB / 1.072 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.3412, allocations: 144.4 kB / 1.072 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.339e-05/0.3413, allocations: 12 kB / 1.072 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.3415, allocations: 23.89 kB / 1.072 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.813e-05/0.3416, allocations: 27.91 kB / 1.072 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.3416, allocations: 8 kB / 1.072 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003479/0.3419, allocations: 355.1 kB / 1.073 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3419, allocations: 0 / 1.073 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003789/0.3423, allocations: 139.7 kB / 1.073 GB, free: 3.305 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.001136/0.3435, allocations: 1.207 MB / 1.074 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000647/0.3441, allocations: 343.5 kB / 1.074 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3441, allocations: 4 kB / 1.074 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002565/0.3444, allocations: 179.9 kB / 1.075 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006747/0.3451, allocations: 122 kB / 1.075 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006644/0.3517, allocations: 5.223 MB / 1.08 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.3522, allocations: 0.8665 MB / 1.081 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002088/0.3524, allocations: 52.38 kB / 1.081 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002348/0.3526, allocations: 187.4 kB / 1.081 GB, free: 11 MB / 0.8419 GB Notification: Performance of SimCode: time 7.11e-07/0.3526, allocations: 7.938 kB / 1.081 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.737/2.09, allocations: 11.09 MB / 1.092 GB, free: 240 kB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003601/2.09, allocations: 279.5 kB / 1.092 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.19/4.28, allocations: 0 / 1.092 GB, free: 15.85 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)