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.001381/0.001381, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.321/1.321, allocations: 222.9 MB / 240.2 MB, free: 4.43 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.252/2.252, allocations: 390.2 MB / 0.6647 GB, free: 424 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 67.91 kB / 0.8127 GB, free: 14.31 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5475/0.5487, allocations: 140.4 MB / 0.9498 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource): time 0.002296/0.5511, allocations: 1.296 MB / 0.951 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001583/0.5527, allocations: 1.335 MB / 0.9523 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.421e-05/0.5527, allocations: 0 / 0.9523 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.089e-05/0.5527, allocations: 5.5 kB / 0.9523 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.5529, allocations: 13.09 kB / 0.9523 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009633/0.5539, allocations: 370.8 kB / 0.9527 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.613e-05/0.5539, allocations: 44.59 kB / 0.9527 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.824e-05/0.554, allocations: 2.562 kB / 0.9527 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.598e-05/0.554, allocations: 19.62 kB / 0.9528 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.378e-05/0.5541, allocations: 15.83 kB / 0.9528 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.5541, allocations: 2.5 kB / 0.9528 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006789/0.5548, allocations: 0.5188 MB / 0.9533 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.499e-05/0.5548, allocations: 18.2 kB / 0.9533 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.569e-05/0.5549, allocations: 22.17 kB / 0.9533 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005458/0.5554, allocations: 344.5 kB / 0.9536 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.5555, allocations: 0 / 0.9536 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5555, allocations: 1.531 kB / 0.9536 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.5555, allocations: 0 / 0.9536 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.0004707/0.5559, allocations: 418.1 kB / 0.954 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.556, allocations: 9.625 kB / 0.9541 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.606e-05/0.556, allocations: 32 kB / 0.9541 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003125/0.5563, allocations: 33.8 kB / 0.9541 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.5565, allocations: 176.8 kB / 0.9543 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.5565, allocations: 1.344 kB / 0.9543 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.5565, allocations: 2.312 kB / 0.9543 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.5566, allocations: 68.5 kB / 0.9544 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.5566, allocations: 4 kB / 0.9544 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.5566, allocations: 0 / 0.9544 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.5567, allocations: 5.297 kB / 0.9544 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/0.5568, allocations: 58.28 kB / 0.9544 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001463/0.557, allocations: 171.2 kB / 0.9546 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.955e-05/0.5571, allocations: 58.7 kB / 0.9546 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.74e-05/0.5572, allocations: 25.75 kB / 0.9547 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005044/0.5577, allocations: 210.1 kB / 0.9549 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.501e-05/0.5577, allocations: 39.72 kB / 0.9549 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.5577, allocations: 0 / 0.9549 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0002438/0.5579, allocations: 105.9 kB / 0.955 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.108e-05/0.558, allocations: 51.41 kB / 0.9551 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.633e-05/0.558, allocations: 114.5 kB / 0.9552 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.5581, allocations: 25.7 kB / 0.9552 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.198e-05/0.5581, allocations: 90.58 kB / 0.9553 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.5581, allocations: 22.33 kB / 0.9553 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.934e-05/0.5582, allocations: 20.53 kB / 0.9553 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.355e-05/0.5582, allocations: 316.4 kB / 0.9556 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.093e-05/0.5583, allocations: 18.84 kB / 0.9556 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.621e-05/0.5583, allocations: 15.58 kB / 0.9556 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.541e-05/0.5584, allocations: 49.77 kB / 0.9557 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.5584, allocations: 0 / 0.9557 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001194/0.5585, allocations: 90.08 kB / 0.9558 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.5585, allocations: 4.938 kB / 0.9558 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.5586, allocations: 448 / 0.9558 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.5586, allocations: 0 / 0.9558 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.209e-05/0.5587, allocations: 14.55 kB / 0.9558 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.5587, allocations: 0 / 0.9558 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.335e-05/0.5587, allocations: 15.84 kB / 0.9558 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.5587, allocations: 0 / 0.9558 GB, free: 4.285 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 5.95e-05/0.5588, allocations: 113 kB / 0.9559 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.489e-05/0.5588, allocations: 7.844 kB / 0.9559 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004323/0.5593, allocations: 290.8 kB / 0.9562 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.5593, allocations: 5.359 kB / 0.9562 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.5593, allocations: 1.281 kB / 0.9562 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.5593, allocations: 0 / 0.9562 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.758e-05/0.5594, allocations: 176.9 kB / 0.9564 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.5594, allocations: 3.984 kB / 0.9564 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.482e-05/0.5595, allocations: 15.44 kB / 0.9564 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.5595, allocations: 1.188 kB / 0.9564 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.5595, allocations: 5.281 kB / 0.9564 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.5595, allocations: 1.531 kB / 0.9564 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.5595, allocations: 0 / 0.9564 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.5596, allocations: 115 kB / 0.9565 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.831e-05/0.5597, allocations: 89.95 kB / 0.9566 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.5597, allocations: 5.438 kB / 0.9566 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.201e-05/0.5597, allocations: 0 / 0.9566 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.425e-05/0.5598, allocations: 7.875 kB / 0.9566 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.5598, allocations: 11.02 kB / 0.9566 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.008e-05/0.5598, allocations: 92.62 kB / 0.9567 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5598, allocations: 0 / 0.9567 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003362/0.5602, allocations: 110.3 kB / 0.9568 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.0006709/0.5608, allocations: 0.7923 MB / 0.9576 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001436/0.561, allocations: 50.19 kB / 0.9576 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.561, allocations: 3.938 kB / 0.9576 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.748e-05/0.5611, allocations: 30.67 kB / 0.9577 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001898/0.5612, allocations: 14.91 kB / 0.9577 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.5623, allocations: 1.365 MB / 0.959 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.301e-05/0.5624, allocations: 0.6909 MB / 0.9597 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0003015/0.5627, allocations: 265.8 kB / 0.96 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.908e-05/0.5627, allocations: 21.88 kB / 0.96 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.5627, allocations: 0 / 0.96 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9656/1.528, allocations: 3.983 MB / 0.9639 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.199/8.728, allocations: 15.97 kB / 0.9639 GB, free: 14.61 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)