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: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.6858/0.6858, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009289/0.0009289, allocations: 187.1 kB / 187.3 MB, free: 11.88 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.233/1.233, allocations: 221.3 MB / 441.4 MB, free: 4.578 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.0008225/0.0008225, allocations: 92.02 kB / 0.5124 GB, free: 24.22 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00167/0.00167, allocations: 283.9 kB / 0.5939 GB, free: 7.934 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.55e-05/3.552e-05, allocations: 4 kB / 0.6836 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3604, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1226/0.4831, allocations: 128.1 MB / 0.8895 GB, free: 12.42 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/0.4834, allocations: 117.5 kB / 0.8896 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.4038/0.8873, allocations: 30.11 MB / 0.919 GB, free: 135.1 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.273e-06/0.8873, allocations: 0 / 0.919 GB, free: 135.1 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.044e-05/0.8873, allocations: 14.28 kB / 0.919 GB, free: 135.1 MB / 0.573 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.001823/0.8892, allocations: 1.057 MB / 0.92 GB, free: 134.5 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.8892, allocations: 9.562 kB / 0.92 GB, free: 134.5 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.229e-05/0.8892, allocations: 36.44 kB / 0.9201 GB, free: 134.4 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003329/0.8896, allocations: 101.1 kB / 0.9202 GB, free: 134.4 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007404/0.8903, allocations: 471.2 kB / 0.9206 GB, free: 134.1 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.8904, allocations: 29.81 kB / 0.9206 GB, free: 134.1 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.8905, allocations: 33.41 kB / 0.9207 GB, free: 134.1 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004427/0.8909, allocations: 387 kB / 0.9211 GB, free: 134 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.891, allocations: 3.344 kB / 0.9211 GB, free: 134 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.891, allocations: 1.672 kB / 0.9211 GB, free: 134 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.891, allocations: 0 / 0.9211 GB, free: 134 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004419/0.8914, allocations: 423.7 kB / 0.9215 GB, free: 134 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007904/0.8922, allocations: 0.7799 MB / 0.9222 GB, free: 133.8 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006179/0.8929, allocations: 0.5571 MB / 0.9228 GB, free: 133.7 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003904/0.8933, allocations: 328.7 kB / 0.9231 GB, free: 133.7 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007495/0.894, allocations: 1.035 MB / 0.9241 GB, free: 132.6 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003906/0.8944, allocations: 405.5 kB / 0.9245 GB, free: 132.5 MB / 0.573 GB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.8944, allocations: 0.9062 kB / 0.9245 GB, free: 132.5 MB / 0.573 GB Notification: Performance of matching and sorting (n=8): time 0.001049/0.8955, allocations: 0.977 MB / 0.9254 GB, free: 132.4 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.8955, allocations: 81.47 kB / 0.9255 GB, free: 132.3 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/0.897, allocations: 1.118 MB / 0.9266 GB, free: 132.1 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 6.192e-05/0.8971, allocations: 42.17 kB / 0.9266 GB, free: 132.1 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/0.8973, allocations: 300.6 kB / 0.9269 GB, free: 131.9 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/0.8974, allocations: 22.42 kB / 0.9269 GB, free: 131.9 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-05/0.8974, allocations: 19.75 kB / 0.927 GB, free: 131.9 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.8975, allocations: 422 kB / 0.9274 GB, free: 131.6 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001167/0.8987, allocations: 1.205 MB / 0.9285 GB, free: 131.6 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000983/0.8997, allocations: 1.342 MB / 0.9299 GB, free: 131.6 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.9009, allocations: 1.607 MB / 0.9314 GB, free: 130.9 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.9009, allocations: 3.094 kB / 0.9314 GB, free: 130.9 MB / 0.573 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.002962/0.9039, allocations: 3.426 MB / 0.9348 GB, free: 129.3 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.9039, allocations: 6.031 kB / 0.9348 GB, free: 129.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.9039, allocations: 2.906 kB / 0.9348 GB, free: 129.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.9039, allocations: 1.688 kB / 0.9348 GB, free: 129.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006041/0.9046, allocations: 145 kB / 0.9349 GB, free: 129.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.9046, allocations: 7.125 kB / 0.9349 GB, free: 129.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006048/0.9052, allocations: 244.9 kB / 0.9352 GB, free: 129.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.929e-05/0.9053, allocations: 59.34 kB / 0.9352 GB, free: 129.1 MB / 0.573 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 9.627e-05/0.9054, allocations: 129.1 kB / 0.9353 GB, free: 129 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.429e-05/0.9054, allocations: 76.39 kB / 0.9354 GB, free: 128.9 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006484/0.9061, allocations: 0.9322 MB / 0.9363 GB, free: 128.9 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.9061, allocations: 3.625 kB / 0.9363 GB, free: 128.9 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.9061, allocations: 3.938 kB / 0.9363 GB, free: 128.9 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.9061, allocations: 4.734 kB / 0.9363 GB, free: 128.9 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000385/0.9065, allocations: 0.5142 MB / 0.9368 GB, free: 128.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.9065, allocations: 3.938 kB / 0.9368 GB, free: 128.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.297e-05/0.9066, allocations: 6.781 kB / 0.9369 GB, free: 128.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.9066, allocations: 3.953 kB / 0.9369 GB, free: 128.6 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.9066, allocations: 7.391 kB / 0.9369 GB, free: 128.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.9066, allocations: 2.578 kB / 0.9369 GB, free: 128.6 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.9066, allocations: 2.438 kB / 0.9369 GB, free: 128.6 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005581/0.9072, allocations: 1.006 MB / 0.9378 GB, free: 128.4 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.879e-05/0.9073, allocations: 163.1 kB / 0.938 GB, free: 128.3 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.754e-05/0.9073, allocations: 3.875 kB / 0.938 GB, free: 128.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.9075, allocations: 6.406 kB / 0.938 GB, free: 128.3 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.3e-05/0.9075, allocations: 10.98 kB / 0.938 GB, free: 128.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.381e-05/0.9076, allocations: 13.22 kB / 0.938 GB, free: 128.3 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0005295/0.9081, allocations: 0.6993 MB / 0.9387 GB, free: 128 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9081, allocations: 0 / 0.9387 GB, free: 128 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001268/0.9094, allocations: 0.5002 MB / 0.9392 GB, free: 127.9 MB / 0.573 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.002/0.9114, allocations: 2.168 MB / 0.9413 GB, free: 127 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.00161/0.913, allocations: 2.348 MB / 0.9436 GB, free: 125.7 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.913, allocations: 0 / 0.9436 GB, free: 125.7 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001894/0.9132, allocations: 344.6 kB / 0.9439 GB, free: 125.4 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.9135, allocations: 45.58 kB / 0.944 GB, free: 125.3 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.9153, allocations: 1.858 MB / 0.9458 GB, free: 123.7 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.9156, allocations: 1.007 MB / 0.9468 GB, free: 122.8 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.000179/0.9158, allocations: 59.3 kB / 0.9468 GB, free: 122.8 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002265/0.9161, allocations: 292.7 kB / 0.9471 GB, free: 122.6 MB / 0.573 GB Notification: Performance of SimCode: time 2.3e-07/0.9161, allocations: 2.375 kB / 0.9471 GB, free: 122.6 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02813/0.9442, allocations: 19.7 MB / 0.9664 GB, free: 107.9 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001582/0.9444, allocations: 249.9 kB / 0.9666 GB, free: 107.6 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.407/3.352, allocations: 4.062 kB / 0.9666 GB, free: 107.6 MB / 0.573 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)