Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource",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.00124/0.00124, 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.001163/0.001163, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.267/1.267, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.102/2.102, allocations: 390.2 MB / 0.6644 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002493/0.002493, allocations: 63.91 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6535/0.656, allocations: 140.4 MB / 0.9493 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource): time 0.002314/0.6584, allocations: 1.356 MB / 0.9506 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00215/0.6606, allocations: 1.347 MB / 0.9519 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.499e-05/0.6606, allocations: 0 / 0.9519 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.374e-05/0.6607, allocations: 0 / 0.9519 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.6608, allocations: 11.02 kB / 0.9519 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000867/0.6617, allocations: 323.5 kB / 0.9522 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.6618, allocations: 51.92 kB / 0.9523 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.565e-05/0.6619, allocations: 2.125 kB / 0.9523 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.969e-05/0.6619, allocations: 15.61 kB / 0.9523 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.875e-05/0.662, allocations: 24.84 kB / 0.9523 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.662, allocations: 2.5 kB / 0.9523 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007382/0.6627, allocations: 0.5401 MB / 0.9528 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.487e-05/0.6628, allocations: 15.2 kB / 0.9529 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.621e-05/0.6628, allocations: 17.77 kB / 0.9529 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004294/0.6633, allocations: 358.2 kB / 0.9532 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.6633, allocations: 0 / 0.9532 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6633, allocations: 0 / 0.9532 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.6633, allocations: 0 / 0.9532 GB, free: 6.332 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004508/0.6638, allocations: 411.6 kB / 0.9536 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.6638, allocations: 12.84 kB / 0.9536 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.001e-05/0.6638, allocations: 36.75 kB / 0.9537 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003379/0.6642, allocations: 30.31 kB / 0.9537 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.6643, allocations: 188 kB / 0.9539 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.6643, allocations: 1.719 kB / 0.9539 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.6643, allocations: 1.406 kB / 0.9539 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.6645, allocations: 57.17 kB / 0.9539 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.026e-06/0.6645, allocations: 0 / 0.9539 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.6645, allocations: 4 kB / 0.9539 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.6645, allocations: 5.094 kB / 0.9539 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002076/0.6647, allocations: 62.77 kB / 0.954 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001644/0.6649, allocations: 170.5 kB / 0.9542 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.665, allocations: 63.3 kB / 0.9542 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.117e-05/0.6651, allocations: 21.89 kB / 0.9542 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005068/0.6656, allocations: 205.6 kB / 0.9544 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.6656, allocations: 39.64 kB / 0.9545 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.133e-06/0.6656, allocations: 0 / 0.9545 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0002658/0.6659, allocations: 97.27 kB / 0.9546 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.6659, allocations: 56.41 kB / 0.9546 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.05e-05/0.666, allocations: 117.5 kB / 0.9547 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.666, allocations: 30.77 kB / 0.9548 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.157e-05/0.6661, allocations: 85.2 kB / 0.9548 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.052e-05/0.6661, allocations: 14.84 kB / 0.9549 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.422e-05/0.6661, allocations: 24.95 kB / 0.9549 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.01e-05/0.6662, allocations: 316.1 kB / 0.9552 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.536e-05/0.6662, allocations: 18.73 kB / 0.9552 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.707e-05/0.6663, allocations: 14.89 kB / 0.9552 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.671e-05/0.6664, allocations: 51.03 kB / 0.9553 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.6664, allocations: 384 / 0.9553 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001398/0.6665, allocations: 87.95 kB / 0.9553 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.6666, allocations: 8.047 kB / 0.9554 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.6666, allocations: 1.344 kB / 0.9554 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.6666, allocations: 0 / 0.9554 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.6667, allocations: 14.16 kB / 0.9554 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.6667, allocations: 1.562 kB / 0.9554 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.296e-05/0.6668, allocations: 0 / 0.9554 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.6668, allocations: 6.844 kB / 0.9554 GB, free: 4.297 MB / 0.7169 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 (6): * Single equations (assignments): 6 * 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 6.81e-05/0.6669, allocations: 118.3 kB / 0.9555 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.595e-05/0.6669, allocations: 10.41 kB / 0.9555 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004977/0.6674, allocations: 287.4 kB / 0.9558 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.6674, allocations: 1.062 kB / 0.9558 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.6674, allocations: 3.984 kB / 0.9558 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.6674, allocations: 3.938 kB / 0.9558 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.6675, allocations: 173.2 kB / 0.9559 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.6675, allocations: 0 / 0.9559 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.669e-05/0.6676, allocations: 16.03 kB / 0.956 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.6676, allocations: 4 kB / 0.956 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.6677, allocations: 10.42 kB / 0.956 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.6677, allocations: 80 / 0.956 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.6677, allocations: 9.328 kB / 0.956 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.6678, allocations: 110.6 kB / 0.9561 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.133e-05/0.6679, allocations: 90.2 kB / 0.9562 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.6679, allocations: 1.625 kB / 0.9562 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.602e-05/0.6679, allocations: 0 / 0.9562 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.484e-05/0.668, allocations: 12.05 kB / 0.9562 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.668, allocations: 11.12 kB / 0.9562 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.044e-05/0.668, allocations: 92.19 kB / 0.9563 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.668, allocations: 0 / 0.9563 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003741/0.6684, allocations: 110.4 kB / 0.9564 GB, free: 3.449 MB / 0.7169 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 (7): * Single equations (assignments): 7 * 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.0006996/0.6691, allocations: 0.7802 MB / 0.9572 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001601/0.6693, allocations: 53.41 kB / 0.9572 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.6693, allocations: 0 / 0.9572 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.46e-05/0.6694, allocations: 32.34 kB / 0.9572 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.6696, allocations: 15.72 kB / 0.9573 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.6707, allocations: 1.381 MB / 0.9586 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.6708, allocations: 0.6909 MB / 0.9593 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0003474/0.6712, allocations: 262.9 kB / 0.9595 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.858e-05/0.6713, allocations: 25.73 kB / 0.9596 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of SimCode: time 4.01e-07/0.6713, allocations: 0 / 0.9596 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01465/0.6859, allocations: 3.903 MB / 0.9634 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002508/0.6862, allocations: 286.7 kB / 0.9636 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.917/2.603, allocations: 1.891 kB / 0.9636 GB, free: 14.36 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe 2>&1)