Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8897/0.8897, allocations: 141.8 MB / 149.3 MB, free: 9.184 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 184.8 kB / 182.2 MB, free: 9.43 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 221.5 MB / 436.4 MB, free: 13.36 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00098/0.0009801, allocations: 97.78 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001791/0.00179, allocations: 279.8 kB / 0.5889 GB, free: 54.7 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.45e-05/2.451e-05, allocations: 8 kB / 0.6766 GB, free: 12.8 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.43/0.43, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1574/0.5875, allocations: 127.4 MB / 0.8818 GB, free: 456 kB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003201/0.5879, allocations: 127.8 kB / 0.8819 GB, free: 332 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.4848/1.073, allocations: 29.89 MB / 0.9111 GB, free: 127.3 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.026e-06/1.073, allocations: 0 / 0.9111 GB, free: 127.3 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.201e-05/1.073, allocations: 14.69 kB / 0.9112 GB, free: 127.3 MB / 0.5573 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.002251/1.075, allocations: 1.043 MB / 0.9122 GB, free: 126.5 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/1.075, allocations: 14.09 kB / 0.9122 GB, free: 126.5 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004136/1.076, allocations: 97.06 kB / 0.9123 GB, free: 126.5 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007386/1.076, allocations: 472.9 kB / 0.9127 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/1.076, allocations: 0 / 0.9127 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.008e-05/1.076, allocations: 22.19 kB / 0.9128 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003135/1.077, allocations: 422.5 kB / 0.9132 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002867/1.077, allocations: 388.8 kB / 0.9135 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/1.077, allocations: 0 / 0.9135 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/1.077, allocations: 0 / 0.9135 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/1.077, allocations: 0 / 0.9135 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006633/1.078, allocations: 0.7283 MB / 0.9142 GB, free: 125.7 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003287/1.078, allocations: 0.5484 MB / 0.9148 GB, free: 125.7 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/1.078, allocations: 334.4 kB / 0.9151 GB, free: 125.7 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007331/1.079, allocations: 1.032 MB / 0.9161 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002669/1.079, allocations: 404.3 kB / 0.9165 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 1.783e-06/1.079, allocations: 4 kB / 0.9165 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.0008839/1.08, allocations: 0.9621 MB / 0.9174 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/1.08, allocations: 85.02 kB / 0.9175 GB, free: 124.3 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009098/1.081, allocations: 1.057 MB / 0.9185 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.137e-05/1.081, allocations: 25.7 kB / 0.9186 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/1.081, allocations: 282.8 kB / 0.9188 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.276e-05/1.081, allocations: 30.83 kB / 0.9189 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.252e-05/1.082, allocations: 0 / 0.9189 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001226/1.082, allocations: 430.8 kB / 0.9193 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000943/1.083, allocations: 1.187 MB / 0.9204 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009686/1.084, allocations: 1.323 MB / 0.9217 GB, free: 121.7 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/1.085, allocations: 1.588 MB / 0.9233 GB, free: 120.2 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/1.085, allocations: 3.953 kB / 0.9233 GB, free: 120.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003141/1.088, allocations: 3.379 MB / 0.9266 GB, free: 117.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/1.088, allocations: 4 kB / 0.9266 GB, free: 117.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/1.088, allocations: 6.938 kB / 0.9266 GB, free: 117 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/1.088, allocations: 11.56 kB / 0.9266 GB, free: 117 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006273/1.089, allocations: 143.8 kB / 0.9267 GB, free: 116.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/1.089, allocations: 4 kB / 0.9267 GB, free: 116.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005715/1.089, allocations: 224.3 kB / 0.927 GB, free: 116.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-05/1.089, allocations: 63.27 kB / 0.927 GB, free: 116.6 MB / 0.5573 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 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0001192/1.089, allocations: 112.9 kB / 0.9271 GB, free: 116.5 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.983e-05/1.09, allocations: 74.64 kB / 0.9272 GB, free: 116.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006984/1.09, allocations: 0.9415 MB / 0.9281 GB, free: 115.6 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/1.09, allocations: 0 / 0.9281 GB, free: 115.6 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/1.09, allocations: 0 / 0.9281 GB, free: 115.6 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/1.09, allocations: 7.75 kB / 0.9281 GB, free: 115.6 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003422/1.091, allocations: 493.8 kB / 0.9286 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/1.091, allocations: 0 / 0.9286 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.897e-05/1.091, allocations: 7.938 kB / 0.9286 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/1.091, allocations: 7.953 kB / 0.9286 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/1.091, allocations: 0 / 0.9286 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/1.091, allocations: 7.969 kB / 0.9286 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/1.091, allocations: 4 kB / 0.9286 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005705/1.091, allocations: 1.009 MB / 0.9296 GB, free: 114.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.768e-05/1.091, allocations: 163 kB / 0.9298 GB, free: 114.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.661e-05/1.092, allocations: 4 kB / 0.9298 GB, free: 114.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/1.092, allocations: 11.09 kB / 0.9298 GB, free: 114.1 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/1.092, allocations: 0 / 0.9298 GB, free: 114.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.663e-05/1.092, allocations: 19.88 kB / 0.9298 GB, free: 114.1 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004971/1.092, allocations: 0.6354 MB / 0.9304 GB, free: 113.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/1.092, allocations: 0 / 0.9304 GB, free: 113.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001574/1.094, allocations: 490.9 kB / 0.9309 GB, free: 113 MB / 0.5573 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) * 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 (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.001456/1.095, allocations: 0.6573 MB / 0.9315 GB, free: 112.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001461/1.097, allocations: 2.326 MB / 0.9338 GB, free: 110.1 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/1.097, allocations: 0 / 0.9338 GB, free: 110.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000188/1.097, allocations: 335.6 kB / 0.9341 GB, free: 109.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/1.097, allocations: 52.69 kB / 0.9342 GB, free: 109.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/1.099, allocations: 1.473 MB / 0.9356 GB, free: 108.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/1.099, allocations: 1.005 MB / 0.9366 GB, free: 107.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001979/1.099, allocations: 63.75 kB / 0.9366 GB, free: 107.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/1.099, allocations: 47.41 kB / 0.9367 GB, free: 107.1 MB / 0.5573 GB Notification: Performance of SimCode: time 3.81e-07/1.099, allocations: 0 / 0.9367 GB, free: 107.1 MB / 0.5573 GB Notification: Performance of Templates: time 0.01637/1.116, allocations: 9.967 MB / 0.9464 GB, free: 97.2 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)