Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.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.GFunction_100boreholes,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",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.001064/0.001064, 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.001232/0.001232, allocations: 198 kB / 16.54 MB, free: 6.672 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.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.349/2.349, allocations: 390.3 MB / 0.6647 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 67.89 kB / 0.8127 GB, free: 14.32 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.692/0.6934, allocations: 140.3 MB / 0.9497 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002394/0.6958, allocations: 1.416 MB / 0.9511 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003761/0.6996, allocations: 3.021 MB / 0.9541 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.177e-05/0.6997, allocations: 0 / 0.9541 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.649e-05/0.6998, allocations: 13.23 kB / 0.9541 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001935/0.7, allocations: 31.03 kB / 0.9541 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00198/0.702, allocations: 0.9997 MB / 0.9551 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.7021, allocations: 81.64 kB / 0.9552 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.178e-05/0.7021, allocations: 3 kB / 0.9552 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.722e-05/0.7022, allocations: 44.59 kB / 0.9552 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002248/0.7024, allocations: 165 kB / 0.9554 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.525e-05/0.7025, allocations: 12.81 kB / 0.9554 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001717/0.7042, allocations: 1.379 MB / 0.9567 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005958/0.7048, allocations: 0.6817 MB / 0.9574 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003144/0.7052, allocations: 439.9 kB / 0.9578 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002128/0.7073, allocations: 1.783 MB / 0.9596 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.7073, allocations: 3.938 kB / 0.9596 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7073, allocations: 0 / 0.9596 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.812e-05/0.7073, allocations: 0 / 0.9596 GB, free: 2.461 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0104/0.7177, allocations: 1.681 MB / 0.9612 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.7178, allocations: 9.875 kB / 0.9612 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.461e-05/0.7178, allocations: 35.89 kB / 0.9613 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004118/0.7183, allocations: 148.1 kB / 0.9614 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004968/0.7188, allocations: 0.5234 MB / 0.9619 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.7188, allocations: 3.406 kB / 0.9619 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.157e-05/0.7188, allocations: 9.031 kB / 0.9619 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004619/0.7193, allocations: 399 kB / 0.9623 GB, free: 436 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.7193, allocations: 0 / 0.9623 GB, free: 436 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.7193, allocations: 4.688 kB / 0.9623 GB, free: 432 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.7194, allocations: 1.031 kB / 0.9623 GB, free: 432 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000479/0.7198, allocations: 434.5 kB / 0.9627 GB, free: 360 kB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000788/0.7206, allocations: 0.7995 MB / 0.9635 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006159/0.7213, allocations: 0.5683 MB / 0.9641 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000339/0.7216, allocations: 334.3 kB / 0.9644 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00113/0.7227, allocations: 1.028 MB / 0.9654 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004306/0.7232, allocations: 421.9 kB / 0.9658 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.7232, allocations: 5.281 kB / 0.9658 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.001495/0.7247, allocations: 1.334 MB / 0.9671 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.7248, allocations: 87.34 kB / 0.9672 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001966/0.7267, allocations: 1.846 MB / 0.969 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/0.7268, allocations: 32.73 kB / 0.969 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003604/0.7272, allocations: 474.6 kB / 0.9695 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.205e-05/0.7272, allocations: 19.8 kB / 0.9695 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003116/0.7275, allocations: 357.2 kB / 0.9698 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.7276, allocations: 301.1 kB / 0.9701 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001315/0.729, allocations: 1.51 MB / 0.9716 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001496/0.7305, allocations: 1.646 MB / 0.9732 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007092/0.7376, allocations: 3.686 MB / 0.9768 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.7376, allocations: 4 kB / 0.9768 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004783/0.7424, allocations: 4.323 MB / 0.981 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.7424, allocations: 9.875 kB / 0.981 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.7424, allocations: 0 / 0.981 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.7425, allocations: 0 / 0.981 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.7426, allocations: 19.92 kB / 0.981 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.7426, allocations: 4 kB / 0.981 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008076/0.7434, allocations: 228.3 kB / 0.9813 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.082e-05/0.7435, allocations: 23.98 kB / 0.9813 GB, free: 0.832 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 (gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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.0005799/0.7441, allocations: 365.6 kB / 0.9816 GB, free: 476 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/0.7442, allocations: 129.9 kB / 0.9818 GB, free: 344 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004522/0.7447, allocations: 149 kB / 0.9819 GB, free: 184 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.7447, allocations: 0 / 0.9819 GB, free: 184 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.7447, allocations: 0 / 0.9819 GB, free: 184 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.7447, allocations: 7.984 kB / 0.9819 GB, free: 176 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000831/0.7456, allocations: 0.6756 MB / 0.9826 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.7456, allocations: 7.938 kB / 0.9826 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.177e-05/0.7457, allocations: 4 kB / 0.9826 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.7457, allocations: 0 / 0.9826 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.7457, allocations: 7.984 kB / 0.9826 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.7457, allocations: 0 / 0.9826 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.7457, allocations: 0 / 0.9826 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000954/0.7467, allocations: 1.059 MB / 0.9836 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002838/0.747, allocations: 206.9 kB / 0.9838 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001503/0.7471, allocations: 4 kB / 0.9838 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000224/0.7474, allocations: 4 kB / 0.9838 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.7474, allocations: 3.984 kB / 0.9838 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.086e-05/0.7474, allocations: 11.98 kB / 0.9838 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001343/0.7488, allocations: 1.116 MB / 0.9849 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7488, allocations: 0 / 0.9849 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00124/0.75, allocations: 427.9 kB / 0.9853 GB, free: 12.53 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002832/0.7529, allocations: 1.981 MB / 0.9873 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002429/0.7553, allocations: 2.648 MB / 0.9899 GB, free: 7.855 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.7553, allocations: 64 / 0.9899 GB, free: 7.855 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003469/0.7557, allocations: 343.7 kB / 0.9902 GB, free: 7.52 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004656/0.7562, allocations: 54.48 kB / 0.9902 GB, free: 7.461 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2743/1.03, allocations: 36.43 MB / 1.026 GB, free: 2.805 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008473/1.031, allocations: 1.149 MB / 1.027 GB, free: 1.629 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002429/1.032, allocations: 41.17 kB / 1.027 GB, free: 1.59 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004576/1.032, allocations: 431.9 kB / 1.027 GB, free: 1.168 MB / 0.7794 GB Notification: Performance of SimCode: time 9.72e-07/1.032, allocations: 0 / 1.027 GB, free: 1.168 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09224/1.124, allocations: 59.78 MB / 1.086 GB, free: 5.527 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.543/9.667, allocations: 13.44 kB / 1.086 GB, free: 5.516 MB / 0.8419 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)