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.001784/0.001784, allocations: 184 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7086/0.7086, allocations: 91.99 MB / 108.5 MB, free: 13.08 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.474/1.474, allocations: 223.2 MB / 354.3 MB, free: 12.14 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.0009054/0.0009055, allocations: 96.22 kB / 427.4 MB, free: 3.895 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.0003448, allocations: 8 kB / 0.4983 GB, free: 42.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1552, allocations: 72.31 MB / 0.5689 GB, free: 1.832 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.516/0.6712, allocations: 129.5 MB / 0.6954 GB, free: 6.809 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000388/0.6716, allocations: 119.9 kB / 0.6955 GB, free: 6.691 MB / 490.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.1344/0.8061, allocations: 38.51 MB / 0.7331 GB, free: 88 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.853e-06/0.8061, allocations: 4 kB / 0.7331 GB, free: 84 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.973e-05/0.8062, allocations: 16 kB / 0.7331 GB, free: 68 kB / 0.5105 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.00337/0.8096, allocations: 1.304 MB / 0.7344 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.8096, allocations: 8.031 kB / 0.7344 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005157/0.8101, allocations: 106.6 kB / 0.7345 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.8112, allocations: 476.9 kB / 0.735 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.787e-05/0.8112, allocations: 28 kB / 0.735 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.228e-05/0.8113, allocations: 36 kB / 0.735 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004628/0.8118, allocations: 391.1 kB / 0.7354 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.8118, allocations: 0 / 0.7354 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.8119, allocations: 7.953 kB / 0.7354 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.8119, allocations: 0 / 0.7354 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004568/0.8123, allocations: 439.7 kB / 0.7358 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000919/0.8133, allocations: 0.7707 MB / 0.7366 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005415/0.8138, allocations: 0.5556 MB / 0.7371 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001088/0.8149, allocations: 1.044 MB / 0.7382 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004489/0.8154, allocations: 404.8 kB / 0.7385 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.452e-06/0.8154, allocations: 0 / 0.7385 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.001429/0.8168, allocations: 1.312 MB / 0.7398 GB, free: 8.793 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/0.8169, allocations: 77.11 kB / 0.7399 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001366/0.8183, allocations: 1.143 MB / 0.741 GB, free: 7.547 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.845e-05/0.8184, allocations: 41.7 kB / 0.741 GB, free: 7.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002624/0.8186, allocations: 298 kB / 0.7413 GB, free: 7.203 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.581e-05/0.8187, allocations: 23.78 kB / 0.7414 GB, free: 7.18 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.968e-05/0.8187, allocations: 24.06 kB / 0.7414 GB, free: 7.156 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001903/0.8189, allocations: 419.9 kB / 0.7418 GB, free: 6.738 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001398/0.8203, allocations: 1.229 MB / 0.743 GB, free: 5.504 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001479/0.8218, allocations: 1.365 MB / 0.7443 GB, free: 4.133 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001701/0.8235, allocations: 1.626 MB / 0.7459 GB, free: 2.488 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.8236, allocations: 4 kB / 0.7459 GB, free: 2.484 MB / 0.5261 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004369/0.8279, allocations: 3.493 MB / 0.7493 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.828, allocations: 9.562 kB / 0.7493 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.189e-05/0.828, allocations: 0 / 0.7493 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/0.828, allocations: 11.98 kB / 0.7493 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006292/0.8287, allocations: 143.8 kB / 0.7495 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.844e-05/0.8287, allocations: 7.953 kB / 0.7495 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005873/0.8293, allocations: 244.3 kB / 0.7497 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.8294, allocations: 59.98 kB / 0.7498 GB, free: 14.48 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2,labels[1],cluSiz[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 2 * 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.0003547/0.8298, allocations: 272.2 kB / 0.75 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.778e-05/0.8298, allocations: 70.69 kB / 0.7501 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000989/0.8308, allocations: 0.9485 MB / 0.751 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.8309, allocations: 3.938 kB / 0.751 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.8309, allocations: 0 / 0.751 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.8309, allocations: 3.953 kB / 0.751 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005072/0.8314, allocations: 0.5178 MB / 0.7515 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.8314, allocations: 0 / 0.7515 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.742e-05/0.8315, allocations: 11.98 kB / 0.7515 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.8315, allocations: 0 / 0.7515 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.8315, allocations: 0 / 0.7515 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.8315, allocations: 7.984 kB / 0.7516 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.8315, allocations: 0 / 0.7516 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009092/0.8325, allocations: 1.025 MB / 0.7526 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.8326, allocations: 159.7 kB / 0.7527 GB, free: 11.37 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.443e-05/0.8327, allocations: 7.984 kB / 0.7527 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.8329, allocations: 12 kB / 0.7527 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/0.8329, allocations: 7.938 kB / 0.7527 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.805e-05/0.833, allocations: 11.98 kB / 0.7527 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0007937/0.8338, allocations: 0.7144 MB / 0.7534 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.71e-07/0.8338, allocations: 0 / 0.7534 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002392/0.8362, allocations: 0.71 MB / 0.7541 GB, free: 9.902 MB / 0.5417 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 (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.003579/0.8398, allocations: 0.894 MB / 0.755 GB, free: 9.035 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00236/0.8421, allocations: 2.42 MB / 0.7574 GB, free: 6.602 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.8422, allocations: 0 / 0.7574 GB, free: 6.602 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000323/0.8425, allocations: 343.9 kB / 0.7577 GB, free: 6.266 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.8428, allocations: 53.3 kB / 0.7578 GB, free: 6.215 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002548/0.8454, allocations: 1.981 MB / 0.7597 GB, free: 4.195 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007021/0.8461, allocations: 1.008 MB / 0.7607 GB, free: 3.16 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002289/0.8463, allocations: 54.97 kB / 0.7607 GB, free: 3.102 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.8465, allocations: 47.34 kB / 0.7608 GB, free: 3.055 MB / 0.5417 GB Notification: Performance of SimCode: time 2.294e-06/0.8465, allocations: 0 / 0.7608 GB, free: 3.055 MB / 0.5417 GB Notification: Performance of Templates: time 0.02655/0.873, allocations: 14.73 MB / 0.7752 GB, free: 4.375 MB / 0.5573 GB 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)