Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.InternalResistancesOneUTube,fileNamePrefix="Buildings_latest_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_latest_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.001716/0.001717, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002134/0.002134, allocations: 194 kB / 16.25 MB, free: 6.633 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.382/1.382, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.834/2.834, allocations: 461.9 MB / 0.7344 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001537, allocations: 63.25 kB / 0.8988 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.305, allocations: 157.4 MB / 1.052 GB, free: 8.605 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.005175/0.3102, allocations: 3.101 MB / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003329/0.3136, allocations: 2.114 MB / 1.058 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000392/0.314, allocations: 4 kB / 1.058 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001824/0.3159, allocations: 478.1 kB / 1.058 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004914/0.3164, allocations: 131.1 kB / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.3166, allocations: 55.97 kB / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000694/0.3173, allocations: 445.9 kB / 1.059 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002918/0.3176, allocations: 151.2 kB / 1.059 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003239/0.3179, allocations: 159.3 kB / 1.059 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002883/0.3182, allocations: 187.1 kB / 1.059 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.225e-05/0.3183, allocations: 36 kB / 1.059 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.363e-05/0.3184, allocations: 32 kB / 1.059 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.3185, allocations: 95.67 kB / 1.059 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002499/0.3188, allocations: 222.9 kB / 1.059 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000537/0.3193, allocations: 0.541 MB / 1.06 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3193, allocations: 0 / 1.06 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3194, allocations: 4 kB / 1.06 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.863e-05/0.3194, allocations: 0 / 1.06 GB, free: 0.8438 MB / 0.8106 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.001333/0.3207, allocations: 0.7006 MB / 1.061 GB, free: 96 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.3208, allocations: 8.625 kB / 1.061 GB, free: 88 kB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.988e-05/0.3209, allocations: 54.73 kB / 1.061 GB, free: 24 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/0.321, allocations: 48.55 kB / 1.061 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005342/0.3215, allocations: 370.1 kB / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.3216, allocations: 16.81 kB / 1.061 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.993e-05/0.3216, allocations: 16.38 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004443/0.3221, allocations: 211.3 kB / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.3221, allocations: 3.938 kB / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.74e-05/0.3221, allocations: 15.98 kB / 1.061 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.3222, allocations: 4 kB / 1.061 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003922/0.3226, allocations: 165.6 kB / 1.062 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/0.3239, allocations: 0.8701 MB / 1.062 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003066/0.3242, allocations: 150.5 kB / 1.063 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002267/0.3245, allocations: 116.8 kB / 1.063 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.3245, allocations: 4 kB / 1.063 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.3245, allocations: 34.56 kB / 1.063 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 3.336e-06/0.3245, allocations: 3.984 kB / 1.063 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.0006286/0.3252, allocations: 254.7 kB / 1.063 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.3252, allocations: 55.41 kB / 1.063 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004803/0.3257, allocations: 417.7 kB / 1.063 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.3258, allocations: 29.7 kB / 1.063 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.3259, allocations: 212.2 kB / 1.064 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.595e-05/0.326, allocations: 63.03 kB / 1.064 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.426e-05/0.3261, allocations: 33.72 kB / 1.064 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.3262, allocations: 346.8 kB / 1.064 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.3264, allocations: 55.97 kB / 1.064 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.3265, allocations: 57.52 kB / 1.064 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002965/0.3268, allocations: 138.4 kB / 1.064 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3269, allocations: 0 / 1.064 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004085/0.3273, allocations: 207 kB / 1.064 GB, free: 12 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.3273, allocations: 9.719 kB / 1.064 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.3273, allocations: 3.938 kB / 1.064 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.3273, allocations: 0 / 1.064 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002668/0.3276, allocations: 55.95 kB / 1.065 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.832e-06/0.3276, allocations: 8 kB / 1.065 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.3278, allocations: 15.89 kB / 1.065 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.3279, allocations: 8 kB / 1.065 GB, free: 11.9 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 (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.0001868/0.328, allocations: 167.2 kB / 1.065 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.765e-05/0.3281, allocations: 35.53 kB / 1.065 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.7e-05/0.3282, allocations: 47.52 kB / 1.065 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.3282, allocations: 8 kB / 1.065 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3282, allocations: 0 / 1.065 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.3283, allocations: 0 / 1.065 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004177/0.3287, allocations: 369.4 kB / 1.065 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3287, allocations: 0 / 1.065 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002734/0.329, allocations: 55.89 kB / 1.065 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.88e-06/0.329, allocations: 4 kB / 1.065 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.329, allocations: 7.938 kB / 1.065 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.329, allocations: 0 / 1.065 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.329, allocations: 3.938 kB / 1.065 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006226/0.3297, allocations: 378.9 kB / 1.066 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.3298, allocations: 120.6 kB / 1.066 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.471e-05/0.3299, allocations: 7.938 kB / 1.066 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.33, allocations: 15.98 kB / 1.066 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.045e-05/0.3301, allocations: 12.05 kB / 1.066 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.3301, allocations: 8 kB / 1.066 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003369/0.3305, allocations: 303.2 kB / 1.066 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.413e-06/0.3305, allocations: 0 / 1.066 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000345/0.3308, allocations: 75.78 kB / 1.066 GB, free: 10.21 MB / 0.8262 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.0009559/0.3318, allocations: 0.9164 MB / 1.067 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003916/0.3322, allocations: 157.6 kB / 1.067 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3322, allocations: 0 / 1.067 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001663/0.3324, allocations: 79.81 kB / 1.067 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006737/0.3331, allocations: 95.2 kB / 1.067 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005109/0.3382, allocations: 3.637 MB / 1.071 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003818/0.3386, allocations: 0.7951 MB / 1.072 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001591/0.3388, allocations: 30.97 kB / 1.072 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/0.3389, allocations: 119.4 kB / 1.072 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of SimCode: time 5.01e-07/0.3389, allocations: 4 kB / 1.072 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0244/0.3633, allocations: 7.698 MB / 1.079 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002903/0.3637, allocations: 279.7 kB / 1.08 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.977/3.34, allocations: 0 / 1.08 GB, free: 12.49 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)