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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001386/0.001385, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001413/0.001412, allocations: 194 kB / 16.14 MB, free: 6.652 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.326/1.326, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.586/2.586, allocations: 461.8 MB / 0.7342 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 67.73 kB / 0.8985 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.3003, allocations: 157.4 MB / 1.052 GB, free: 8.164 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005151/0.3054, allocations: 4.198 MB / 1.056 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003121/0.3086, allocations: 2.375 MB / 1.059 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002715/0.3089, allocations: 8 kB / 1.059 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001395/0.3103, allocations: 0.5057 MB / 1.059 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004037/0.3107, allocations: 210.5 kB / 1.059 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000202/0.3109, allocations: 119.9 kB / 1.059 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0007438/0.3117, allocations: 0.8099 MB / 1.06 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003884/0.3121, allocations: 276.1 kB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002938/0.3124, allocations: 262.8 kB / 1.061 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000318/0.3127, allocations: 322.6 kB / 1.061 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.643e-05/0.3128, allocations: 44 kB / 1.061 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.626e-05/0.3129, allocations: 48 kB / 1.061 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.313, allocations: 143.5 kB / 1.061 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002994/0.3133, allocations: 358.2 kB / 1.062 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007357/0.3141, allocations: 0.9654 MB / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3141, allocations: 0 / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of FrontEnd: time 6.51e-07/0.3141, allocations: 0 / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.718e-06/0.3141, allocations: 0 / 1.063 GB, free: 13.5 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.001365/0.3155, allocations: 0.9502 MB / 1.064 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.3155, allocations: 11.97 kB / 1.064 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.747e-05/0.3156, allocations: 90.7 kB / 1.064 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.3157, allocations: 76.09 kB / 1.064 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005393/0.3163, allocations: 457.6 kB / 1.064 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.079e-05/0.3163, allocations: 37.38 kB / 1.064 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.52e-05/0.3164, allocations: 48.38 kB / 1.064 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007198/0.3171, allocations: 430.5 kB / 1.065 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.3172, allocations: 7.906 kB / 1.065 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.638e-05/0.3172, allocations: 16 kB / 1.065 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.3172, allocations: 12 kB / 1.065 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006761/0.3179, allocations: 371.8 kB / 1.065 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001949/0.3199, allocations: 1.524 MB / 1.066 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005069/0.3204, allocations: 343.7 kB / 1.067 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004681/0.3208, allocations: 316.7 kB / 1.067 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.3209, allocations: 15.92 kB / 1.067 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.3209, allocations: 34.56 kB / 1.067 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=42): time 1.533e-06/0.3209, allocations: 0 / 1.067 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of matching and sorting (n=42): time 0.0009265/0.3219, allocations: 0.4892 MB / 1.068 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.3219, allocations: 63.39 kB / 1.068 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005321/0.3224, allocations: 485.9 kB / 1.068 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.794e-05/0.3225, allocations: 37.7 kB / 1.068 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.3227, allocations: 276.3 kB / 1.068 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.3228, allocations: 149.8 kB / 1.069 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.864e-05/0.3229, allocations: 54.08 kB / 1.069 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.323, allocations: 366.8 kB / 1.069 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002499/0.3233, allocations: 124.7 kB / 1.069 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/0.3235, allocations: 125.2 kB / 1.069 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005044/0.324, allocations: 302 kB / 1.07 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3241, allocations: 3.938 kB / 1.07 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006132/0.3247, allocations: 396.4 kB / 1.07 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.3247, allocations: 4 kB / 1.07 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3247, allocations: 0 / 1.07 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.3247, allocations: 4 kB / 1.07 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004777/0.3252, allocations: 123.9 kB / 1.07 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/0.3252, allocations: 0 / 1.07 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002487/0.3255, allocations: 55.58 kB / 1.07 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.3255, allocations: 11.98 kB / 1.07 GB, free: 5.531 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.0002085/0.3257, allocations: 193.7 kB / 1.07 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.695e-05/0.3258, allocations: 55.38 kB / 1.07 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.3259, allocations: 61.09 kB / 1.07 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.3259, allocations: 4 kB / 1.07 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.3259, allocations: 0 / 1.07 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.326, allocations: 7.984 kB / 1.07 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006301/0.3266, allocations: 0.5712 MB / 1.071 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.3266, allocations: 3.938 kB / 1.071 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004938/0.3271, allocations: 131.8 kB / 1.071 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.3271, allocations: 4 kB / 1.071 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/0.3271, allocations: 4 kB / 1.071 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3271, allocations: 4 kB / 1.071 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3271, allocations: 0 / 1.071 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009393/0.3281, allocations: 0.6442 MB / 1.072 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.3282, allocations: 144.4 kB / 1.072 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.908e-05/0.3283, allocations: 8 kB / 1.072 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.3285, allocations: 19.89 kB / 1.072 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.096e-05/0.3286, allocations: 27.97 kB / 1.072 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.3286, allocations: 16 kB / 1.072 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003786/0.329, allocations: 351.1 kB / 1.072 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.329, allocations: 0 / 1.072 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003774/0.3294, allocations: 139.7 kB / 1.072 GB, free: 3.07 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.001279/0.3307, allocations: 1.217 MB / 1.074 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005583/0.3312, allocations: 319.4 kB / 1.074 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.3313, allocations: 0 / 1.074 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002714/0.3315, allocations: 183.9 kB / 1.074 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007248/0.3323, allocations: 133.3 kB / 1.074 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006668/0.3389, allocations: 5.201 MB / 1.079 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004408/0.3394, allocations: 0.8707 MB / 1.08 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002101/0.3396, allocations: 56.39 kB / 1.08 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002499/0.3399, allocations: 192.8 kB / 1.08 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of SimCode: time 2.264e-06/0.3399, allocations: 0 / 1.08 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02256/0.3625, allocations: 10.79 MB / 1.091 GB, free: 308 kB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000243/0.3627, allocations: 279 kB / 1.091 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.937/2.3, allocations: 1.547 kB / 1.091 GB, free: 15.92 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)