Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.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.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008814/0.0008813, allocations: 172.1 kB / 16.76 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.442/0.442, allocations: 86.27 MB / 103.8 MB, free: 14.54 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.259/1.259, allocations: 223.2 MB / 348.4 MB, free: 4.883 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.0007952/0.0007951, allocations: 101.7 kB / 420.2 MB, free: 9.621 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003643, allocations: 12 kB / 0.4901 GB, free: 7.934 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2784, allocations: 71.02 MB / 0.5595 GB, free: 43.73 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1116/0.39, allocations: 101.8 MB / 0.6589 GB, free: 7.668 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/0.3903, allocations: 107.7 kB / 0.659 GB, free: 7.566 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00458/0.3949, allocations: 1.971 MB / 0.6609 GB, free: 5.598 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.395, allocations: 4 kB / 0.661 GB, free: 5.594 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.313e-06/0.395, allocations: 0 / 0.661 GB, free: 5.594 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002481/0.3952, allocations: 331.6 kB / 0.6613 GB, free: 5.219 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.3953, allocations: 8.031 kB / 0.6613 GB, free: 5.211 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.414e-05/0.3953, allocations: 8.938 kB / 0.6613 GB, free: 5.203 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.911e-05/0.3954, allocations: 160.4 kB / 0.6614 GB, free: 5.008 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.3954, allocations: 384 / 0.6614 GB, free: 5.008 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.821e-06/0.3954, allocations: 4.312 kB / 0.6614 GB, free: 5.004 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.451e-05/0.3955, allocations: 38.25 kB / 0.6615 GB, free: 4.961 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.3955, allocations: 192 / 0.6615 GB, free: 4.961 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.3955, allocations: 3.938 kB / 0.6615 GB, free: 4.957 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.3955, allocations: 3.984 kB / 0.6615 GB, free: 4.953 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.528e-05/0.3956, allocations: 3.938 kB / 0.6615 GB, free: 4.949 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003465/0.3959, allocations: 464.6 kB / 0.6619 GB, free: 4.426 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.371e-05/0.396, allocations: 177.1 kB / 0.6621 GB, free: 4.242 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.731e-05/0.396, allocations: 80.14 kB / 0.6622 GB, free: 4.16 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.3961, allocations: 79.31 kB / 0.6623 GB, free: 4.082 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.862e-05/0.3961, allocations: 109.8 kB / 0.6624 GB, free: 3.965 MB / 474.7 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.3961, allocations: 0 / 0.6624 GB, free: 3.965 MB / 474.7 MB Notification: Performance of matching and sorting (n=0): time 6.097e-05/0.3962, allocations: 33.59 kB / 0.6624 GB, free: 3.926 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.3962, allocations: 130.7 kB / 0.6625 GB, free: 3.785 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.634e-05/0.3963, allocations: 101.9 kB / 0.6626 GB, free: 3.676 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.3963, allocations: 25.7 kB / 0.6626 GB, free: 3.645 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.6e-05/0.3964, allocations: 80.14 kB / 0.6627 GB, free: 3.562 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/0.3964, allocations: 0 / 0.6627 GB, free: 3.562 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.964e-06/0.3964, allocations: 0 / 0.6627 GB, free: 3.562 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.3965, allocations: 314.8 kB / 0.663 GB, free: 3.246 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.197e-06/0.3965, allocations: 4 kB / 0.663 GB, free: 3.242 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.428e-06/0.3965, allocations: 0 / 0.663 GB, free: 3.242 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.668e-05/0.3966, allocations: 16.86 kB / 0.663 GB, free: 3.223 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.3966, allocations: 0 / 0.663 GB, free: 3.223 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.46e-05/0.3967, allocations: 37.64 kB / 0.6631 GB, free: 3.18 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.3967, allocations: 4 kB / 0.6631 GB, free: 3.176 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.3967, allocations: 0 / 0.6631 GB, free: 3.176 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.025e-06/0.3967, allocations: 0 / 0.6631 GB, free: 3.176 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.386e-05/0.3967, allocations: 7.984 kB / 0.6631 GB, free: 3.168 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.3967, allocations: 0 / 0.6631 GB, free: 3.168 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.207e-05/0.3968, allocations: 0 / 0.6631 GB, free: 3.168 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-06/0.3968, allocations: 4.031 kB / 0.6631 GB, free: 3.164 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.174e-05/0.3969, allocations: 185.1 kB / 0.6633 GB, free: 2.973 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.547e-05/0.3969, allocations: 108.9 kB / 0.6634 GB, free: 2.859 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.608e-05/0.397, allocations: 108.1 kB / 0.6635 GB, free: 2.742 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.153e-05/0.397, allocations: 180.2 kB / 0.6636 GB, free: 2.559 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.559e-05/0.3971, allocations: 188.9 kB / 0.6638 GB, free: 2.367 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.799e-05/0.3972, allocations: 180.3 kB / 0.664 GB, free: 2.184 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.3974, allocations: 409.1 kB / 0.6644 GB, free: 1.727 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.909e-05/0.3974, allocations: 107.5 kB / 0.6645 GB, free: 1.617 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.31e-05/0.3975, allocations: 108.9 kB / 0.6646 GB, free: 1.504 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.538e-05/0.3975, allocations: 176.3 kB / 0.6648 GB, free: 1.324 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-05/0.3976, allocations: 184.3 kB / 0.6649 GB, free: 1.137 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.84e-05/0.3977, allocations: 180.2 kB / 0.6651 GB, free: 0.9531 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.796e-05/0.3977, allocations: 184.2 kB / 0.6653 GB, free: 0.7656 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.3978, allocations: 307.7 kB / 0.6656 GB, free: 452 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.22e-05/0.3979, allocations: 186.1 kB / 0.6658 GB, free: 240 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.393e-05/0.398, allocations: 184.2 kB / 0.6659 GB, free: 48 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.738e-05/0.3981, allocations: 108.9 kB / 0.666 GB, free: 15.93 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.276e-05/0.3982, allocations: 180.2 kB / 0.6662 GB, free: 15.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.966e-05/0.3982, allocations: 101 kB / 0.6663 GB, free: 15.64 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.856e-05/0.3983, allocations: 83.27 kB / 0.6664 GB, free: 15.56 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3983, allocations: 0 / 0.6664 GB, free: 15.56 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002438/0.3985, allocations: 32 kB / 0.6664 GB, free: 15.53 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0003222/0.3988, allocations: 227.2 kB / 0.6666 GB, free: 15.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.049e-05/0.3989, allocations: 7.938 kB / 0.6666 GB, free: 15.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3989, allocations: 0 / 0.6666 GB, free: 15.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.3989, allocations: 4.062 kB / 0.6666 GB, free: 15.29 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.3993, allocations: 0.5363 MB / 0.6672 GB, free: 14.75 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002807/0.3996, allocations: 201.8 kB / 0.6674 GB, free: 14.53 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002241/0.3998, allocations: 0.677 MB / 0.668 GB, free: 13.82 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.232e-05/0.3998, allocations: 4 kB / 0.668 GB, free: 13.82 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.933e-05/0.3999, allocations: 11.44 kB / 0.668 GB, free: 13.81 MB / 490.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3999, allocations: 3.938 kB / 0.668 GB, free: 13.8 MB / 490.7 MB Notification: Performance of Templates: time 0.002433/0.4023, allocations: 0.6449 MB / 0.6687 GB, free: 13.2 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)