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.001336/0.001336, allocations: 96.19 kB / 15.68 MB, free: 488 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.001646/0.001646, allocations: 174.3 kB / 16.57 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.367/1.367, allocations: 223.2 MB / 240.5 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6962/0.6962, allocations: 113.7 MB / 405.3 MB, free: 4.711 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003072/0.0003072, allocations: 13.11 kB / 493 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1541, allocations: 77.11 MB / 0.5568 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0007398/0.1549, allocations: 286.2 kB / 0.557 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.1561, allocations: 0.9508 MB / 0.558 GB, free: 10.42 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.785e-05/0.1561, allocations: 0 / 0.558 GB, free: 10.42 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.616e-05/0.1561, allocations: 3.938 kB / 0.558 GB, free: 10.42 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006691/0.1568, allocations: 79.92 kB / 0.558 GB, free: 10.34 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.26e-05/0.1568, allocations: 11.92 kB / 0.558 GB, free: 10.33 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.124e-05/0.1569, allocations: 3.984 kB / 0.5581 GB, free: 10.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.501e-05/0.1569, allocations: 4 kB / 0.5581 GB, free: 10.32 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.029e-05/0.157, allocations: 7.938 kB / 0.5581 GB, free: 10.31 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.1571, allocations: 31.97 kB / 0.5581 GB, free: 10.28 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.367e-06/0.1571, allocations: 4 kB / 0.5581 GB, free: 10.28 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.1572, allocations: 51.95 kB / 0.5581 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.798e-06/0.1573, allocations: 7.984 kB / 0.5582 GB, free: 10.22 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.762e-05/0.1573, allocations: 25.7 kB / 0.5582 GB, free: 10.19 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.1574, allocations: 47.95 kB / 0.5582 GB, free: 10.14 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.1574, allocations: 0 / 0.5582 GB, free: 10.14 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1574, allocations: 0 / 0.5582 GB, free: 10.14 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.1574, allocations: 0 / 0.5582 GB, free: 10.14 MB / 430.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.0002748/0.1577, allocations: 327.6 kB / 0.5585 GB, free: 9.773 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1578, allocations: 8.031 kB / 0.5585 GB, free: 9.766 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.053e-05/0.1578, allocations: 34.56 kB / 0.5586 GB, free: 9.723 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.207e-05/0.1578, allocations: 0 / 0.5586 GB, free: 9.723 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.158, allocations: 171 kB / 0.5587 GB, free: 9.516 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-06/0.158, allocations: 0 / 0.5587 GB, free: 9.516 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.158, allocations: 3.953 kB / 0.5587 GB, free: 9.512 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.582e-05/0.1581, allocations: 37.64 kB / 0.5588 GB, free: 9.469 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.1581, allocations: 0 / 0.5588 GB, free: 9.469 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.553e-06/0.1581, allocations: 0 / 0.5588 GB, free: 9.469 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.1581, allocations: 3.984 kB / 0.5588 GB, free: 9.465 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.454e-05/0.1581, allocations: 4 kB / 0.5588 GB, free: 9.461 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000367/0.1585, allocations: 468.6 kB / 0.5592 GB, free: 8.934 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.216e-05/0.1586, allocations: 169.1 kB / 0.5594 GB, free: 8.758 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.1586, allocations: 75.28 kB / 0.5595 GB, free: 8.684 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.157e-05/0.1587, allocations: 109.8 kB / 0.5596 GB, free: 8.566 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.1587, allocations: 3.938 kB / 0.5596 GB, free: 8.562 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 7.35e-05/0.1588, allocations: 37.61 kB / 0.5596 GB, free: 8.52 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.344e-05/0.1588, allocations: 130.6 kB / 0.5597 GB, free: 8.379 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.1589, allocations: 97.84 kB / 0.5598 GB, free: 8.273 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.159, allocations: 25.7 kB / 0.5599 GB, free: 8.242 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.3e-05/0.159, allocations: 92.12 kB / 0.5599 GB, free: 8.148 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.866e-06/0.159, allocations: 0 / 0.5599 GB, free: 8.148 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-06/0.159, allocations: 4 kB / 0.5599 GB, free: 8.145 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1591, allocations: 310.8 kB / 0.5602 GB, free: 7.832 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.803e-06/0.1592, allocations: 0 / 0.5602 GB, free: 7.832 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.628e-06/0.1592, allocations: 0 / 0.5602 GB, free: 7.832 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.714e-05/0.1592, allocations: 4 kB / 0.5602 GB, free: 7.828 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1592, allocations: 0 / 0.5602 GB, free: 7.828 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.943e-05/0.1593, allocations: 37.64 kB / 0.5603 GB, free: 7.785 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.1593, allocations: 8 kB / 0.5603 GB, free: 7.777 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.1593, allocations: 4.094 kB / 0.5603 GB, free: 7.773 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.267e-06/0.1593, allocations: 0 / 0.5603 GB, free: 7.773 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.74e-05/0.1594, allocations: 3.938 kB / 0.5603 GB, free: 7.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.1594, allocations: 0 / 0.5603 GB, free: 7.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.274e-05/0.1594, allocations: 0 / 0.5603 GB, free: 7.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.1594, allocations: 0 / 0.5603 GB, free: 7.77 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.318e-05/0.1595, allocations: 189.1 kB / 0.5605 GB, free: 7.574 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.658e-05/0.1596, allocations: 104.9 kB / 0.5606 GB, free: 7.465 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.751e-05/0.1596, allocations: 112.1 kB / 0.5607 GB, free: 7.344 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.817e-05/0.1597, allocations: 184.2 kB / 0.5609 GB, free: 7.156 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.819e-05/0.1598, allocations: 176.3 kB / 0.561 GB, free: 6.977 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.959e-05/0.1599, allocations: 188.2 kB / 0.5612 GB, free: 6.785 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.1601, allocations: 405.3 kB / 0.5616 GB, free: 6.332 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.482e-05/0.1601, allocations: 113 kB / 0.5617 GB, free: 6.215 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.823e-05/0.1602, allocations: 104.9 kB / 0.5618 GB, free: 6.105 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.805e-05/0.1602, allocations: 180.2 kB / 0.562 GB, free: 5.922 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.323e-05/0.1603, allocations: 192.2 kB / 0.5622 GB, free: 5.727 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.009e-05/0.1604, allocations: 176.3 kB / 0.5623 GB, free: 5.547 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.361e-05/0.1604, allocations: 180.2 kB / 0.5625 GB, free: 5.363 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/0.1606, allocations: 307.8 kB / 0.5628 GB, free: 5.039 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.1607, allocations: 186 kB / 0.563 GB, free: 4.832 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.97e-05/0.1608, allocations: 180.2 kB / 0.5631 GB, free: 4.648 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.1609, allocations: 104.9 kB / 0.5632 GB, free: 4.539 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.161, allocations: 184.2 kB / 0.5634 GB, free: 4.352 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.013e-05/0.1611, allocations: 109 kB / 0.5635 GB, free: 4.238 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.873e-05/0.1612, allocations: 75.28 kB / 0.5636 GB, free: 4.164 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1612, allocations: 4 kB / 0.5636 GB, free: 4.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003797/0.1616, allocations: 19.94 kB / 0.5636 GB, free: 4.141 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006231/0.1622, allocations: 0.8705 MB / 0.5645 GB, free: 3.25 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.664e-05/0.1622, allocations: 4 kB / 0.5645 GB, free: 3.246 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1623, allocations: 0 / 0.5645 GB, free: 3.246 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.392e-06/0.1623, allocations: 0 / 0.5645 GB, free: 3.246 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.1626, allocations: 0.5308 MB / 0.565 GB, free: 2.711 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004054/0.163, allocations: 191.6 kB / 0.5652 GB, free: 2.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.1632, allocations: 0.677 MB / 0.5658 GB, free: 1.777 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.676e-05/0.1633, allocations: 3.609 kB / 0.5658 GB, free: 1.777 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.762e-05/0.1633, allocations: 15.44 kB / 0.5659 GB, free: 1.762 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1633, allocations: 0 / 0.5659 GB, free: 1.762 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5388/0.7021, allocations: 1.305 MB / 0.5671 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002551/0.7024, allocations: 292 kB / 0.5674 GB, free: 336 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.321/3.024, allocations: 0 / 0.5674 GB, free: 336 kB / 430.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/linux/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) Environment - environmentSimulation: