Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json 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/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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 114.6 kB / 16.42 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 186.1 kB / 17.35 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7742/0.7742, allocations: 132.2 MB / 423.4 MB, free: 6.66 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 64.41 kB / 0.5821 GB, free: 23.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1359, allocations: 80.21 MB / 0.6604 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001516/0.1374, allocations: 0.5547 MB / 0.6609 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.1386, allocations: 0.9879 MB / 0.6619 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.753e-05/0.1386, allocations: 0 / 0.6619 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.432e-05/0.1386, allocations: 0 / 0.6619 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006335/0.1393, allocations: 95.78 kB / 0.662 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.264e-05/0.1393, allocations: 11.92 kB / 0.662 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.088e-05/0.1394, allocations: 8 kB / 0.662 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.252e-05/0.1394, allocations: 4 kB / 0.662 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.655e-05/0.1394, allocations: 4 kB / 0.662 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001985/0.1396, allocations: 28.84 kB / 0.662 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.1397, allocations: 0 / 0.662 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.1398, allocations: 83.84 kB / 0.6621 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.002e-05/0.1398, allocations: 0 / 0.6621 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.774e-05/0.1399, allocations: 7.938 kB / 0.6621 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.14, allocations: 67.92 kB / 0.6622 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.14, allocations: 4 kB / 0.6622 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.14, allocations: 0 / 0.6622 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.1401, allocations: 0 / 0.6622 GB, free: 8.434 MB / 0.4981 GB 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.0003029/0.1404, allocations: 331.5 kB / 0.6625 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.1404, allocations: 12.02 kB / 0.6625 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.1404, allocations: 0.9375 kB / 0.6625 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.1406, allocations: 168.4 kB / 0.6627 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.1406, allocations: 8.125 kB / 0.6627 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.1406, allocations: 0 / 0.6627 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.699e-05/0.1407, allocations: 25.7 kB / 0.6627 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.1407, allocations: 4 kB / 0.6627 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.1407, allocations: 0 / 0.6627 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.1407, allocations: 0 / 0.6627 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.873e-05/0.1407, allocations: 7.875 kB / 0.6627 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003849/0.1411, allocations: 468.6 kB / 0.6632 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.224e-05/0.1412, allocations: 169.1 kB / 0.6633 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.789e-05/0.1413, allocations: 84.14 kB / 0.6634 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.1413, allocations: 75.28 kB / 0.6635 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.571e-05/0.1413, allocations: 105.8 kB / 0.6636 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.1413, allocations: 7.938 kB / 0.6636 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.2e-05/0.1414, allocations: 33.61 kB / 0.6636 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.504e-05/0.1415, allocations: 51.41 kB / 0.6637 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.98e-05/0.1416, allocations: 101.8 kB / 0.6638 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.1416, allocations: 25.7 kB / 0.6638 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.825e-05/0.1416, allocations: 84.14 kB / 0.6639 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-06/0.1416, allocations: 0 / 0.6639 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.649e-05/0.1417, allocations: 9.719 kB / 0.6639 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.1418, allocations: 314.8 kB / 0.6642 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.185e-05/0.1418, allocations: 11.98 kB / 0.6642 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.725e-06/0.1418, allocations: 4 kB / 0.6642 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.591e-05/0.1418, allocations: 12.8 kB / 0.6642 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1418, allocations: 0 / 0.6642 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.061e-05/0.1419, allocations: 29.7 kB / 0.6642 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.1419, allocations: 5.875 kB / 0.6642 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.142, allocations: 0 / 0.6642 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.142, allocations: 4.188 kB / 0.6643 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.557e-05/0.142, allocations: 12.03 kB / 0.6643 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.142, allocations: 0 / 0.6643 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.323e-05/0.142, allocations: 0 / 0.6643 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.142, allocations: 3.984 kB / 0.6643 GB, free: 6.062 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.533e-05/0.1421, allocations: 193 kB / 0.6645 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.815e-05/0.1422, allocations: 108.9 kB / 0.6646 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.395e-05/0.1422, allocations: 104.1 kB / 0.6647 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.095e-05/0.1423, allocations: 180.3 kB / 0.6648 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.259e-05/0.1424, allocations: 108.9 kB / 0.6649 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.339e-05/0.1424, allocations: 182.1 kB / 0.6651 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.031e-05/0.1425, allocations: 184.1 kB / 0.6653 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.368e-05/0.1426, allocations: 101 kB / 0.6654 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.504e-05/0.1427, allocations: 184.3 kB / 0.6656 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.267e-05/0.1428, allocations: 263.5 kB / 0.6658 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001569/0.1429, allocations: 387.3 kB / 0.6662 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.56e-05/0.143, allocations: 104.9 kB / 0.6663 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.88e-05/0.143, allocations: 83.27 kB / 0.6664 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of Backend: time 3e-07/0.143, allocations: 4 kB / 0.6664 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005064/0.1435, allocations: 128.5 kB / 0.6665 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0004204/0.144, allocations: 0.8387 MB / 0.6673 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of Templates: time 0.002593/0.1466, allocations: 0.6856 MB / 0.668 GB, free: 2.137 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)