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_SmallScaleValidation.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_SmallScaleValidation,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",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.001088/0.001088, 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.001159/0.001159, allocations: 192.5 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.346/1.346, allocations: 222.9 MB / 240.2 MB, free: 4.426 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.37/2.37, allocations: 390.3 MB / 0.6647 GB, free: 480 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001731/0.001731, allocations: 67.89 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6424/0.6442, allocations: 140.3 MB / 0.9498 GB, free: 9.262 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003047/0.6473, allocations: 1.74 MB / 0.9515 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005741/0.6531, allocations: 4.219 MB / 0.9556 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000186/0.6533, allocations: 1.125 kB / 0.9556 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001445/0.6547, allocations: 370.6 kB / 0.9559 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001645/0.6549, allocations: 56.17 kB / 0.956 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00286/0.6578, allocations: 0.9915 MB / 0.957 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003006/0.6581, allocations: 150.3 kB / 0.9571 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.119e-05/0.6582, allocations: 9.25 kB / 0.9571 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.6583, allocations: 58.52 kB / 0.9572 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002356/0.6585, allocations: 159.9 kB / 0.9573 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.703e-05/0.6586, allocations: 18 kB / 0.9573 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002126/0.6607, allocations: 1.376 MB / 0.9587 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002168/0.6609, allocations: 271.1 kB / 0.9589 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002722/0.6612, allocations: 306.5 kB / 0.9592 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002468/0.6637, allocations: 1.54 MB / 0.9607 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.6637, allocations: 0 / 0.9607 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6637, allocations: 0 / 0.9607 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.56e-05/0.6638, allocations: 1.156 kB / 0.9607 GB, free: 1.426 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.01091/0.6747, allocations: 1.281 MB / 0.962 GB, free: 420 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.6747, allocations: 9.875 kB / 0.962 GB, free: 420 kB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.192e-05/0.6748, allocations: 35.83 kB / 0.962 GB, free: 376 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004479/0.6752, allocations: 91.81 kB / 0.9621 GB, free: 312 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005593/0.6758, allocations: 401.8 kB / 0.9625 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.6759, allocations: 7.625 kB / 0.9625 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.071e-05/0.6759, allocations: 4.875 kB / 0.9625 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004996/0.6764, allocations: 398.9 kB / 0.9629 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.6764, allocations: 0 / 0.9629 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.6765, allocations: 1.188 kB / 0.9629 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.6765, allocations: 1.094 kB / 0.9629 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005014/0.677, allocations: 429.8 kB / 0.9633 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007912/0.6778, allocations: 0.6703 MB / 0.964 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005589/0.6783, allocations: 0.565 MB / 0.9645 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002976/0.6787, allocations: 333 kB / 0.9648 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001074/0.6797, allocations: 1.04 MB / 0.9658 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004267/0.6802, allocations: 407.7 kB / 0.9662 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/0.6802, allocations: 0 / 0.9662 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.001358/0.6816, allocations: 1.302 MB / 0.9675 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.6816, allocations: 79.92 kB / 0.9676 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/0.683, allocations: 1.277 MB / 0.9688 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.369e-05/0.6831, allocations: 32.14 kB / 0.9689 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002484/0.6834, allocations: 284.6 kB / 0.9691 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.113e-05/0.6834, allocations: 23.75 kB / 0.9691 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003526/0.6838, allocations: 351.6 kB / 0.9695 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.6839, allocations: 317.8 kB / 0.9698 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001347/0.6852, allocations: 1.363 MB / 0.9711 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001305/0.6865, allocations: 1.488 MB / 0.9726 GB, free: 9.992 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006977/0.6935, allocations: 3.549 MB / 0.976 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.6936, allocations: 0 / 0.976 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004092/0.6977, allocations: 3.969 MB / 0.9799 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.6977, allocations: 7.938 kB / 0.9799 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.6977, allocations: 4 kB / 0.9799 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.6977, allocations: 0 / 0.9799 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.6979, allocations: 20.02 kB / 0.9799 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.6979, allocations: 0 / 0.9799 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006476/0.6985, allocations: 236.3 kB / 0.9802 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.146e-05/0.6986, allocations: 19.98 kB / 0.9802 GB, free: 2.062 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.0003248/0.6989, allocations: 249.5 kB / 0.9804 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.557e-05/0.699, allocations: 82.61 kB / 0.9805 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003249/0.6993, allocations: 75.73 kB / 0.9806 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.6994, allocations: 3.938 kB / 0.9806 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/0.6994, allocations: 11.98 kB / 0.9806 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.6994, allocations: 0 / 0.9806 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005386/0.6999, allocations: 0.5061 MB / 0.9811 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.6999, allocations: 3.938 kB / 0.9811 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.591e-05/0.7, allocations: 8 kB / 0.9811 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.7, allocations: 0 / 0.9811 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.7, allocations: 7.984 kB / 0.9811 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.7001, allocations: 8.031 kB / 0.9811 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.7001, allocations: 0 / 0.9811 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009267/0.701, allocations: 1.002 MB / 0.9821 GB, free: 24 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001967/0.7012, allocations: 163.7 kB / 0.9822 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.716e-05/0.7013, allocations: 4 kB / 0.9822 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.7015, allocations: 8 kB / 0.9823 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.434e-05/0.7015, allocations: 7.984 kB / 0.9823 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.775e-05/0.7016, allocations: 11.98 kB / 0.9823 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008251/0.7024, allocations: 0.7218 MB / 0.983 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7024, allocations: 0 / 0.983 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001241/0.7036, allocations: 399.8 kB / 0.9834 GB, free: 14.7 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.002642/0.7063, allocations: 1.931 MB / 0.9852 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00225/0.7086, allocations: 2.499 MB / 0.9877 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.7086, allocations: 0 / 0.9877 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003166/0.7089, allocations: 340.2 kB / 0.988 GB, free: 9.891 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/0.7093, allocations: 58.39 kB / 0.9881 GB, free: 9.836 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0152/0.7245, allocations: 14.91 MB / 1.003 GB, free: 10.75 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005602/0.7251, allocations: 0.984 MB / 1.004 GB, free: 9.746 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0002111/0.7254, allocations: 45.36 kB / 1.004 GB, free: 9.703 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003259/0.7257, allocations: 287.3 kB / 1.004 GB, free: 9.422 MB / 0.7637 GB Notification: Performance of SimCode: time 1.302e-06/0.7257, allocations: 0 / 1.004 GB, free: 9.422 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04501/0.7707, allocations: 19.69 MB / 1.023 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.327/9.098, allocations: 2.688 kB / 1.023 GB, free: 5.938 MB / 0.7794 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)