Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",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.001181/0.001181, allocations: 103.3 kB / 16.4 MB, free: 6.492 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.00116/0.00116, allocations: 195.8 kB / 17.34 MB, free: 5.766 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7192/0.7192, allocations: 115.3 MB / 406.5 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 66.41 kB / 0.5573 GB, free: 32.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1279, allocations: 76.18 MB / 0.6316 GB, free: 4.875 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001836/0.1298, allocations: 0.5503 MB / 0.6322 GB, free: 4.328 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.131, allocations: 0.9996 MB / 0.6332 GB, free: 3.312 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.103e-05/0.1311, allocations: 7.938 kB / 0.6332 GB, free: 3.305 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.722e-05/0.1311, allocations: 3.938 kB / 0.6332 GB, free: 3.301 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006914/0.1318, allocations: 91.78 kB / 0.6333 GB, free: 3.211 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.193e-05/0.1319, allocations: 11.92 kB / 0.6333 GB, free: 3.199 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.163e-05/0.132, allocations: 8 kB / 0.6333 GB, free: 3.191 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.532e-05/0.132, allocations: 0 / 0.6333 GB, free: 3.191 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.769e-05/0.132, allocations: 7.984 kB / 0.6333 GB, free: 3.184 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002287/0.1323, allocations: 27.97 kB / 0.6333 GB, free: 3.156 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.1323, allocations: 4 kB / 0.6333 GB, free: 3.152 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001719/0.1325, allocations: 87.86 kB / 0.6334 GB, free: 3.066 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.05e-05/0.1325, allocations: 3.984 kB / 0.6334 GB, free: 3.062 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.948e-05/0.1325, allocations: 7.938 kB / 0.6334 GB, free: 3.055 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.1327, allocations: 70.72 kB / 0.6335 GB, free: 2.988 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1327, allocations: 0 / 0.6335 GB, free: 2.988 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1327, allocations: 4 kB / 0.6335 GB, free: 2.984 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.88e-06/0.1327, allocations: 0 / 0.6335 GB, free: 2.984 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003583/0.1331, allocations: 327.6 kB / 0.6338 GB, free: 2.617 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.1331, allocations: 8.031 kB / 0.6338 GB, free: 2.609 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.886e-05/0.1332, allocations: 30.75 kB / 0.6338 GB, free: 2.57 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.763e-05/0.1332, allocations: 8.938 kB / 0.6338 GB, free: 2.562 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.1333, allocations: 164.3 kB / 0.634 GB, free: 2.363 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.1334, allocations: 4.359 kB / 0.634 GB, free: 2.359 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.872e-06/0.1334, allocations: 4.312 kB / 0.634 GB, free: 2.355 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.598e-05/0.1335, allocations: 37.58 kB / 0.634 GB, free: 2.312 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.1335, allocations: 0 / 0.634 GB, free: 2.312 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.1335, allocations: 4 kB / 0.634 GB, free: 2.309 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1335, allocations: 0 / 0.634 GB, free: 2.309 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.899e-05/0.1335, allocations: 0 / 0.634 GB, free: 2.309 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004254/0.134, allocations: 468.6 kB / 0.6345 GB, free: 1.781 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.435e-05/0.1341, allocations: 165.1 kB / 0.6346 GB, free: 1.609 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.643e-05/0.1341, allocations: 84.08 kB / 0.6347 GB, free: 1.523 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.1341, allocations: 79.28 kB / 0.6348 GB, free: 1.445 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.337e-05/0.1342, allocations: 113.8 kB / 0.6349 GB, free: 1.324 MB / 478.1 MB Notification: Performance of pre-optimization done (n=0): time 1.283e-06/0.1342, allocations: 0 / 0.6349 GB, free: 1.324 MB / 478.1 MB Notification: Performance of matching and sorting (n=0): time 7.947e-05/0.1343, allocations: 29.7 kB / 0.6349 GB, free: 1.289 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.094e-05/0.1343, allocations: 126.7 kB / 0.6351 GB, free: 1.152 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.857e-05/0.1344, allocations: 101.8 kB / 0.6352 GB, free: 1.043 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.1345, allocations: 25.7 kB / 0.6352 GB, free: 1.012 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.809e-05/0.1345, allocations: 88.12 kB / 0.6353 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.996e-06/0.1345, allocations: 4 kB / 0.6353 GB, free: 0.918 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.1345, allocations: 13.72 kB / 0.6353 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.942e-05/0.1346, allocations: 314.8 kB / 0.6356 GB, free: 0.582 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.05e-05/0.1346, allocations: 7.875 kB / 0.6356 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.283e-06/0.1347, allocations: 0 / 0.6356 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.942e-05/0.1347, allocations: 12.86 kB / 0.6356 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1347, allocations: 0 / 0.6356 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.899e-05/0.1348, allocations: 37.78 kB / 0.6356 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.1348, allocations: 12 kB / 0.6357 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1348, allocations: 0 / 0.6357 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.1349, allocations: 0 / 0.6357 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.6e-05/0.1349, allocations: 0 / 0.6357 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.1349, allocations: 0 / 0.6357 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.602e-05/0.1349, allocations: 0.5625 kB / 0.6357 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.1349, allocations: 0 / 0.6357 GB, free: 0.5039 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 8.086e-05/0.135, allocations: 196.5 kB / 0.6358 GB, free: 312 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.239e-05/0.1351, allocations: 105 kB / 0.6359 GB, free: 200 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.913e-05/0.1351, allocations: 108.1 kB / 0.636 GB, free: 84 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.675e-05/0.1352, allocations: 184.2 kB / 0.6362 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.971e-05/0.1352, allocations: 184.2 kB / 0.6364 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.83e-05/0.1353, allocations: 180.2 kB / 0.6366 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.1355, allocations: 409.2 kB / 0.637 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.986e-05/0.1356, allocations: 101 kB / 0.6371 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.657e-05/0.1356, allocations: 108.9 kB / 0.6372 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.309e-05/0.1357, allocations: 180.5 kB / 0.6373 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.122e-05/0.1357, allocations: 188.2 kB / 0.6375 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.748e-05/0.1358, allocations: 180.3 kB / 0.6377 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.746e-05/0.1358, allocations: 180.3 kB / 0.6379 GB, free: 14.11 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.1359, allocations: 311.6 kB / 0.6381 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.894e-05/0.136, allocations: 186 kB / 0.6383 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.027e-05/0.1361, allocations: 180.3 kB / 0.6385 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.503e-05/0.1361, allocations: 101 kB / 0.6386 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.388e-05/0.1362, allocations: 188.2 kB / 0.6388 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.841e-05/0.1362, allocations: 105 kB / 0.6389 GB, free: 12.98 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.261e-05/0.1363, allocations: 79.27 kB / 0.6389 GB, free: 12.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1363, allocations: 0 / 0.6389 GB, free: 12.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002477/0.1365, allocations: 24.22 kB / 0.639 GB, free: 12.88 MB / 494.1 MB 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 (0): * Single equations (assignments): 0 * 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.0006009/0.1371, allocations: 0.8687 MB / 0.6398 GB, free: 11.99 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.101e-05/0.1372, allocations: 7.984 kB / 0.6398 GB, free: 11.98 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.1372, allocations: 4 kB / 0.6398 GB, free: 11.98 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.425e-06/0.1372, allocations: 4.062 kB / 0.6398 GB, free: 11.97 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.1376, allocations: 459.6 kB / 0.6403 GB, free: 11.52 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005036/0.1381, allocations: 234 kB / 0.6405 GB, free: 11.25 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001874/0.1383, allocations: 0.6729 MB / 0.6412 GB, free: 10.55 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.712e-05/0.1383, allocations: 4 kB / 0.6412 GB, free: 10.55 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.977e-05/0.1383, allocations: 11.44 kB / 0.6412 GB, free: 10.54 MB / 494.1 MB Notification: Performance of SimCode: time 1.673e-06/0.1383, allocations: 0 / 0.6412 GB, free: 10.54 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01708/0.1554, allocations: 1.569 MB / 0.6427 GB, free: 9.16 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.718/7.873, allocations: 4.656 kB / 0.6427 GB, free: 9.156 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)