Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 185.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4417/0.4417, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 222.9 MB / 349.1 MB, free: 2.75 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000997/0.0009969, allocations: 94.77 kB / 420 MB, free: 8.469 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 51.92 kB / 0.4891 GB, free: 7.629 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2946, allocations: 70.06 MB / 0.5575 GB, free: 44.86 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002637/0.2973, allocations: 1.778 MB / 0.5593 GB, free: 43.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004402/0.3017, allocations: 4.388 MB / 0.5636 GB, free: 38.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.63e-05/0.3019, allocations: 3.938 kB / 0.5636 GB, free: 38.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009945/0.3029, allocations: 362.6 kB / 0.5639 GB, free: 38.62 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.279e-05/0.303, allocations: 51.73 kB / 0.564 GB, free: 38.57 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001779/0.3048, allocations: 0.7668 MB / 0.5647 GB, free: 37.8 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.305, allocations: 198.4 kB / 0.5649 GB, free: 37.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.262e-05/0.305, allocations: 13.5 kB / 0.5649 GB, free: 37.6 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.112e-05/0.3051, allocations: 47.78 kB / 0.565 GB, free: 37.55 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.3052, allocations: 176.8 kB / 0.5651 GB, free: 37.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.711e-05/0.3053, allocations: 16 kB / 0.5651 GB, free: 37.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001413/0.3067, allocations: 1.4 MB / 0.5665 GB, free: 35.96 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.3069, allocations: 275.8 kB / 0.5668 GB, free: 35.69 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001678/0.307, allocations: 298.2 kB / 0.5671 GB, free: 35.39 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.3083, allocations: 1.539 MB / 0.5686 GB, free: 33.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3083, allocations: 0 / 0.5686 GB, free: 33.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3083, allocations: 4 kB / 0.5686 GB, free: 33.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.3083, allocations: 0 / 0.5686 GB, free: 33.85 MB / 410.7 MB 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.009719/0.318, allocations: 1.283 MB / 0.5698 GB, free: 32.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.3181, allocations: 8.031 kB / 0.5698 GB, free: 32.51 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003186/0.3184, allocations: 95.59 kB / 0.5699 GB, free: 32.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003597/0.3188, allocations: 402 kB / 0.5703 GB, free: 31.97 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.3188, allocations: 8.312 kB / 0.5703 GB, free: 31.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.36e-05/0.3188, allocations: 4.375 kB / 0.5703 GB, free: 31.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000289/0.3191, allocations: 395.5 kB / 0.5707 GB, free: 31.56 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.3191, allocations: 0 / 0.5707 GB, free: 31.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.3191, allocations: 3.984 kB / 0.5707 GB, free: 31.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.3192, allocations: 0 / 0.5707 GB, free: 31.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003093/0.3195, allocations: 431.8 kB / 0.5711 GB, free: 31.14 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003847/0.3199, allocations: 0.6613 MB / 0.5717 GB, free: 30.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003288/0.3202, allocations: 0.5633 MB / 0.5723 GB, free: 29.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.3204, allocations: 337.7 kB / 0.5726 GB, free: 29.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006702/0.3211, allocations: 1.025 MB / 0.5736 GB, free: 28.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002678/0.3214, allocations: 416.7 kB / 0.574 GB, free: 27.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.3214, allocations: 0 / 0.574 GB, free: 27.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008878/0.3223, allocations: 1.297 MB / 0.5753 GB, free: 26.53 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.3223, allocations: 85.08 kB / 0.5754 GB, free: 26.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008327/0.3232, allocations: 1.277 MB / 0.5766 GB, free: 25.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.171e-05/0.3232, allocations: 33.7 kB / 0.5766 GB, free: 25.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.3233, allocations: 281.4 kB / 0.5769 GB, free: 24.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.3234, allocations: 19.73 kB / 0.5769 GB, free: 24.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002155/0.3236, allocations: 351.5 kB / 0.5773 GB, free: 24.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.365e-05/0.3236, allocations: 322.1 kB / 0.5776 GB, free: 24.13 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007928/0.3244, allocations: 1.365 MB / 0.5789 GB, free: 22.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000822/0.3253, allocations: 1.493 MB / 0.5804 GB, free: 21.26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005771/0.3311, allocations: 3.541 MB / 0.5838 GB, free: 17.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.3311, allocations: 0 / 0.5838 GB, free: 17.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003055/0.3341, allocations: 3.976 MB / 0.5877 GB, free: 13.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.3342, allocations: 8 kB / 0.5877 GB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/0.3342, allocations: 3.938 kB / 0.5877 GB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.3343, allocations: 0 / 0.5877 GB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.3344, allocations: 19.97 kB / 0.5877 GB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.3344, allocations: 4 kB / 0.5877 GB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004585/0.3349, allocations: 232.3 kB / 0.588 GB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.58e-05/0.3349, allocations: 23.98 kB / 0.588 GB, free: 13.33 MB / 410.7 MB 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.0002892/0.3352, allocations: 249.6 kB / 0.5882 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.781e-05/0.3353, allocations: 74.62 kB / 0.5883 GB, free: 13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002715/0.3356, allocations: 79.72 kB / 0.5884 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.3356, allocations: 8.031 kB / 0.5884 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.3356, allocations: 0 / 0.5884 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.3356, allocations: 0 / 0.5884 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003375/0.3359, allocations: 0.51 MB / 0.5889 GB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3359, allocations: 0 / 0.5889 GB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.25e-05/0.336, allocations: 11.92 kB / 0.5889 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.336, allocations: 0 / 0.5889 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.336, allocations: 7.938 kB / 0.5889 GB, free: 12.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.336, allocations: 0 / 0.5889 GB, free: 12.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3361, allocations: 0 / 0.5889 GB, free: 12.33 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.3372, allocations: 2.273 MB / 0.5911 GB, free: 9.996 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.061e-05/0.3373, allocations: 163.7 kB / 0.5913 GB, free: 9.816 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.522e-05/0.3374, allocations: 0 / 0.5913 GB, free: 9.816 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.3375, allocations: 11.98 kB / 0.5913 GB, free: 9.805 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/0.3376, allocations: 4 kB / 0.5913 GB, free: 9.801 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.511e-05/0.3376, allocations: 15.97 kB / 0.5913 GB, free: 9.785 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005643/0.3382, allocations: 0.7179 MB / 0.592 GB, free: 9.062 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3382, allocations: 0 / 0.592 GB, free: 9.062 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001241/0.3394, allocations: 407.8 kB / 0.5924 GB, free: 8.664 MB / 410.7 MB 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.001102/0.3406, allocations: 482.8 kB / 0.5928 GB, free: 8.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001467/0.342, allocations: 2.497 MB / 0.5953 GB, free: 5.676 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.342, allocations: 0 / 0.5953 GB, free: 5.676 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002209/0.3423, allocations: 347.8 kB / 0.5956 GB, free: 5.336 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.3427, allocations: 53.7 kB / 0.5957 GB, free: 5.285 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.3444, allocations: 2.174 MB / 0.5978 GB, free: 3.066 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.3447, allocations: 0.9803 MB / 0.5987 GB, free: 2.059 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001704/0.3449, allocations: 45.41 kB / 0.5988 GB, free: 2.016 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.344e-05/0.345, allocations: 27.41 kB / 0.5988 GB, free: 1.988 MB / 410.7 MB Notification: Performance of SimCode: time 3.71e-07/0.345, allocations: 0 / 0.5988 GB, free: 1.988 MB / 410.7 MB Notification: Performance of Templates: time 0.01567/0.3607, allocations: 9.974 MB / 0.6086 GB, free: 8.066 MB / 426.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)