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.001834/0.001835, allocations: 183.9 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.5538/0.5538, allocations: 91.98 MB / 108.5 MB, free: 13.07 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.651/1.651, allocations: 223.1 MB / 354.3 MB, free: 12.22 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.000974/0.000974, allocations: 103.1 kB / 427.4 MB, free: 3.945 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003732/0.0003734, allocations: 16 kB / 0.4984 GB, free: 42.16 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1631, allocations: 72.3 MB / 0.569 GB, free: 1.789 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5493/0.7124, allocations: 129.5 MB / 0.6955 GB, free: 6.832 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004437/0.7129, allocations: 123.9 kB / 0.6956 GB, free: 6.711 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.1554/0.8683, allocations: 38.52 MB / 0.7332 GB, free: 100 kB / 0.5105 GB Notification: Performance of FrontEnd: time 2.334e-06/0.8683, allocations: 0 / 0.7332 GB, free: 100 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.379e-05/0.8684, allocations: 16 kB / 0.7332 GB, free: 84 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.003133/0.8716, allocations: 1.312 MB / 0.7345 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.8716, allocations: 12.03 kB / 0.7345 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.755e-05/0.8717, allocations: 30.56 kB / 0.7345 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004464/0.8721, allocations: 106.6 kB / 0.7346 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009111/0.8731, allocations: 472.9 kB / 0.7351 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.8731, allocations: 24 kB / 0.7351 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.749e-05/0.8732, allocations: 36 kB / 0.7351 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004202/0.8736, allocations: 391.1 kB / 0.7355 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.8736, allocations: 3.953 kB / 0.7355 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.8737, allocations: 4 kB / 0.7355 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.8737, allocations: 4 kB / 0.7355 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004012/0.8741, allocations: 435.7 kB / 0.7359 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008653/0.8749, allocations: 0.7707 MB / 0.7367 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004973/0.8755, allocations: 0.5594 MB / 0.7372 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009642/0.8764, allocations: 1.036 MB / 0.7383 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003949/0.8768, allocations: 404.8 kB / 0.7386 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 2.294e-06/0.8769, allocations: 0 / 0.7386 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.001311/0.8782, allocations: 1.312 MB / 0.7399 GB, free: 8.77 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.8782, allocations: 81.11 kB / 0.74 GB, free: 8.672 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/0.8795, allocations: 1.143 MB / 0.7411 GB, free: 7.52 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.097e-05/0.8796, allocations: 41.7 kB / 0.7412 GB, free: 7.473 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002634/0.8799, allocations: 297.9 kB / 0.7414 GB, free: 7.176 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.534e-05/0.88, allocations: 19.8 kB / 0.7415 GB, free: 7.156 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.893e-05/0.88, allocations: 12 kB / 0.7415 GB, free: 7.145 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.8802, allocations: 432 kB / 0.7419 GB, free: 6.715 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001345/0.8816, allocations: 1.226 MB / 0.7431 GB, free: 5.484 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/0.883, allocations: 1.369 MB / 0.7444 GB, free: 4.109 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001649/0.8847, allocations: 1.626 MB / 0.746 GB, free: 2.465 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.8847, allocations: 0 / 0.746 GB, free: 2.465 MB / 0.5261 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004402/0.8891, allocations: 3.497 MB / 0.7494 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.8891, allocations: 4 kB / 0.7494 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.452e-05/0.8892, allocations: 4 kB / 0.7494 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.734e-05/0.8892, allocations: 7.984 kB / 0.7494 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006342/0.8898, allocations: 139.8 kB / 0.7496 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/0.8899, allocations: 7.953 kB / 0.7496 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006863/0.8906, allocations: 248.3 kB / 0.7498 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/0.8907, allocations: 59.92 kB / 0.7499 GB, free: 14.46 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.0004078/0.8911, allocations: 277.4 kB / 0.7501 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.8912, allocations: 70.69 kB / 0.7502 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/0.8923, allocations: 0.9446 MB / 0.7511 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.8923, allocations: 4.031 kB / 0.7511 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.8923, allocations: 0 / 0.7511 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.8923, allocations: 3.953 kB / 0.7511 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005561/0.8929, allocations: 0.514 MB / 0.7516 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.8929, allocations: 0 / 0.7516 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.147e-05/0.893, allocations: 11.98 kB / 0.7516 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.893, allocations: 4 kB / 0.7516 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.893, allocations: 3.938 kB / 0.7517 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.893, allocations: 7.984 kB / 0.7517 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.8931, allocations: 0 / 0.7517 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009354/0.894, allocations: 1.028 MB / 0.7527 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001925/0.8942, allocations: 155.8 kB / 0.7528 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.848e-05/0.8943, allocations: 7.984 kB / 0.7528 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.8945, allocations: 0 / 0.7528 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.447e-05/0.8945, allocations: 19.94 kB / 0.7528 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-05/0.8946, allocations: 11.98 kB / 0.7529 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009444/0.8955, allocations: 0.7144 MB / 0.7535 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8955, allocations: 0 / 0.7535 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002783/0.8983, allocations: 0.7061 MB / 0.7542 GB, free: 9.879 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.005327/0.9037, allocations: 2.422 MB / 0.7566 GB, free: 7.453 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002877/0.9066, allocations: 2.42 MB / 0.759 GB, free: 5.02 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.9066, allocations: 0 / 0.759 GB, free: 5.02 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003299/0.9069, allocations: 339.7 kB / 0.7593 GB, free: 4.688 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004592/0.9074, allocations: 64.72 kB / 0.7594 GB, free: 4.625 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005006/0.9124, allocations: 2.934 MB / 0.7622 GB, free: 1.617 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006124/0.9131, allocations: 1.005 MB / 0.7632 GB, free: 0.5859 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002872/0.9134, allocations: 66.88 kB / 0.7633 GB, free: 0.5195 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003727/0.9137, allocations: 299.3 kB / 0.7635 GB, free: 232 kB / 0.5417 GB Notification: Performance of SimCode: time 1.202e-06/0.9138, allocations: 4 kB / 0.7636 GB, free: 228 kB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05119/0.9649, allocations: 23.27 MB / 0.7863 GB, free: 9.184 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002751/0.9653, allocations: 302.1 kB / 0.7866 GB, free: 8.828 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.985/3.95, allocations: 2.438 kB / 0.7866 GB, free: 8.828 MB / 0.573 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)