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: "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 182.4 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4757/0.4757, allocations: 90.8 MB / 104.5 MB, free: 9.797 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.284/1.284, allocations: 221.3 MB / 348.3 MB, free: 444 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 102.5 kB / 421.2 MB, free: 5.477 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.629e-05/3.637e-05, allocations: 8 kB / 0.4897 GB, free: 5.223 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3648, allocations: 72.3 MB / 0.5604 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1443/0.5092, allocations: 129.5 MB / 0.6868 GB, free: 6.785 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003354/0.5096, allocations: 119.9 kB / 0.6869 GB, free: 6.668 MB / 0.4948 GB [/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.4217/0.9313, allocations: 38.44 MB / 0.7244 GB, free: 130.6 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9314, allocations: 0 / 0.7244 GB, free: 130.6 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.714e-05/0.9314, allocations: 14.53 kB / 0.7244 GB, free: 130.6 MB / 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.002431/0.9338, allocations: 1.154 MB / 0.7256 GB, free: 129.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.9339, allocations: 10.03 kB / 0.7256 GB, free: 129.8 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.824e-05/0.934, allocations: 38.12 kB / 0.7256 GB, free: 129.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003801/0.9343, allocations: 101 kB / 0.7257 GB, free: 129.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006495/0.935, allocations: 469.2 kB / 0.7262 GB, free: 129.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.935, allocations: 22.75 kB / 0.7262 GB, free: 129.4 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.715e-05/0.9351, allocations: 37.12 kB / 0.7262 GB, free: 129.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002917/0.9354, allocations: 391.1 kB / 0.7266 GB, free: 129.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.9354, allocations: 3.953 kB / 0.7266 GB, free: 129.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.9355, allocations: 1.688 kB / 0.7266 GB, free: 129.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.9355, allocations: 0 / 0.7266 GB, free: 129.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002731/0.9358, allocations: 427.5 kB / 0.727 GB, free: 129.3 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006065/0.9364, allocations: 0.7795 MB / 0.7278 GB, free: 128.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003578/0.9367, allocations: 0.5617 MB / 0.7283 GB, free: 128.8 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/0.9369, allocations: 329.3 kB / 0.7286 GB, free: 128.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007204/0.9377, allocations: 1.032 MB / 0.7296 GB, free: 127.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002976/0.938, allocations: 401 kB / 0.73 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/0.938, allocations: 0 / 0.73 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.0008172/0.9388, allocations: 0.9812 MB / 0.731 GB, free: 127.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.9389, allocations: 89.02 kB / 0.7311 GB, free: 127.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009139/0.9398, allocations: 1.125 MB / 0.7322 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.515e-05/0.9399, allocations: 41.7 kB / 0.7322 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/0.94, allocations: 297.8 kB / 0.7325 GB, free: 126 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/0.9401, allocations: 23.31 kB / 0.7325 GB, free: 126 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.17e-05/0.9401, allocations: 16 kB / 0.7325 GB, free: 126 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.9402, allocations: 426.2 kB / 0.7329 GB, free: 125.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009772/0.9412, allocations: 1.21 MB / 0.7341 GB, free: 124.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/0.9423, allocations: 1.353 MB / 0.7354 GB, free: 123.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.9435, allocations: 1.62 MB / 0.737 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.9435, allocations: 0 / 0.737 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003227/0.9467, allocations: 3.468 MB / 0.7404 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.9468, allocations: 4 kB / 0.7404 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.331e-05/0.9468, allocations: 7.281 kB / 0.7404 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.9468, allocations: 4 kB / 0.7404 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006314/0.9474, allocations: 144.4 kB / 0.7405 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.9475, allocations: 7.094 kB / 0.7406 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005654/0.948, allocations: 244.2 kB / 0.7408 GB, free: 118.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.888e-05/0.9481, allocations: 62.94 kB / 0.7408 GB, free: 118.1 MB / 0.5105 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 () * 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.0001212/0.9483, allocations: 134.3 kB / 0.741 GB, free: 118 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.715e-05/0.9483, allocations: 70.69 kB / 0.741 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006932/0.949, allocations: 0.9439 MB / 0.742 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.949, allocations: 0 / 0.742 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.949, allocations: 11.2 kB / 0.742 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.949, allocations: 0 / 0.742 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003348/0.9494, allocations: 0.5087 MB / 0.7425 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.9494, allocations: 4 kB / 0.7425 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.715e-05/0.9495, allocations: 11.36 kB / 0.7425 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.9495, allocations: 0 / 0.7425 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.9495, allocations: 12.59 kB / 0.7425 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.9495, allocations: 3.562 kB / 0.7425 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.9495, allocations: 0 / 0.7425 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005644/0.9501, allocations: 1.01 MB / 0.7435 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.459e-05/0.9502, allocations: 159.8 kB / 0.7436 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.788e-05/0.9502, allocations: 3.797 kB / 0.7436 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.9504, allocations: 4 kB / 0.7437 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.9504, allocations: 10.77 kB / 0.7437 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.473e-05/0.9505, allocations: 18.98 kB / 0.7437 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005761/0.951, allocations: 0.6996 MB / 0.7444 GB, free: 114.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9511, allocations: 0 / 0.7444 GB, free: 114.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002258/0.9533, allocations: 0.7088 MB / 0.7451 GB, free: 114.2 MB / 0.5105 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.0036/0.9569, allocations: 2.413 MB / 0.7474 GB, free: 112 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001779/0.9587, allocations: 2.399 MB / 0.7498 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.9588, allocations: 0 / 0.7498 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000207/0.959, allocations: 337.3 kB / 0.7501 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.9593, allocations: 59.09 kB / 0.7501 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002763/0.9621, allocations: 1.961 MB / 0.752 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.9624, allocations: 1.009 MB / 0.753 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001945/0.9626, allocations: 58.97 kB / 0.7531 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002452/0.9629, allocations: 299.3 kB / 0.7534 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of SimCode: time 4.4e-07/0.9629, allocations: 0 / 0.7534 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03581/0.9987, allocations: 23.74 MB / 0.7766 GB, free: 82.91 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/0.999, allocations: 266.9 kB / 0.7768 GB, free: 82.58 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.728/3.727, allocations: 0 / 0.7768 GB, free: 82.58 MB / 0.5105 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)