Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.005081/0.005081, allocations: 106.1 kB / 15.74 MB, free: 6.035 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.001238/0.001238, allocations: 195.6 kB / 16.67 MB, free: 5.969 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002048/0.002048, allocations: 286.8 kB / 290.8 MB, free: 1.785 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9399/0.9399, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 103.8 kB / 0.6815 GB, free: 15.43 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1412, allocations: 86.97 MB / 0.7664 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001479/0.1427, allocations: 0.5588 MB / 0.767 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.1439, allocations: 1.003 MB / 0.768 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.388e-05/0.1439, allocations: 0 / 0.768 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.556e-05/0.144, allocations: 3.938 kB / 0.768 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0006479/0.1446, allocations: 91.78 kB / 0.7681 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.363e-05/0.1447, allocations: 11.98 kB / 0.7681 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 3.931e-05/0.1447, allocations: 4 kB / 0.7681 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.625e-05/0.1447, allocations: 0 / 0.7681 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.552e-05/0.1448, allocations: 4 kB / 0.7681 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000193/0.145, allocations: 39.36 kB / 0.7681 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.145, allocations: 4 kB / 0.7681 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.1451, allocations: 87.91 kB / 0.7682 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.747e-06/0.1452, allocations: 0 / 0.7682 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.49e-05/0.1452, allocations: 7.938 kB / 0.7682 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.1453, allocations: 71.91 kB / 0.7683 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1453, allocations: 3.938 kB / 0.7683 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1453, allocations: 4 kB / 0.7683 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.1454, allocations: 0 / 0.7683 GB, free: 6.48 MB / 0.5606 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.0002771/0.1456, allocations: 329.5 kB / 0.7686 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.1457, allocations: 8.031 kB / 0.7686 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.363e-05/0.1457, allocations: 4.875 kB / 0.7686 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.1458, allocations: 168.4 kB / 0.7688 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-06/0.1458, allocations: 4.375 kB / 0.7688 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-06/0.1458, allocations: 384 / 0.7688 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.895e-05/0.1459, allocations: 41.75 kB / 0.7688 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.049e-06/0.1459, allocations: 0 / 0.7688 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-06/0.1459, allocations: 0 / 0.7688 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.1459, allocations: 0 / 0.7688 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.419e-05/0.146, allocations: 0 / 0.7688 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003452/0.1463, allocations: 468.6 kB / 0.7693 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.553e-05/0.1464, allocations: 169.1 kB / 0.7694 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.644e-05/0.1464, allocations: 84.12 kB / 0.7695 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.1464, allocations: 75.28 kB / 0.7696 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.1465, allocations: 117.8 kB / 0.7697 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.1465, allocations: 0 / 0.7697 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 5.996e-05/0.1466, allocations: 29.69 kB / 0.7697 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.1466, allocations: 126.7 kB / 0.7698 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.792e-05/0.1467, allocations: 101.8 kB / 0.7699 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.1467, allocations: 29.7 kB / 0.77 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.1468, allocations: 80.14 kB / 0.77 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-06/0.1468, allocations: 0.5156 kB / 0.77 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/0.1468, allocations: 17.7 kB / 0.7701 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.968e-05/0.1469, allocations: 322.7 kB / 0.7704 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.376e-06/0.1469, allocations: 0 / 0.7704 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.256e-06/0.1469, allocations: 0 / 0.7704 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.553e-05/0.147, allocations: 12.86 kB / 0.7704 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.147, allocations: 0 / 0.7704 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.209e-05/0.147, allocations: 33.61 kB / 0.7704 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.1471, allocations: 12.08 kB / 0.7704 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1471, allocations: 8 kB / 0.7704 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.887e-06/0.1471, allocations: 0 / 0.7704 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.369e-05/0.1471, allocations: 0 / 0.7704 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.1471, allocations: 0 / 0.7704 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.206e-05/0.1471, allocations: 3.938 kB / 0.7704 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-06/0.1471, allocations: 0 / 0.7704 GB, free: 4.035 MB / 0.5606 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 7.394e-05/0.1472, allocations: 189.7 kB / 0.7706 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.617e-05/0.1473, allocations: 104.9 kB / 0.7707 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.652e-05/0.1473, allocations: 120 kB / 0.7708 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.658e-05/0.1474, allocations: 188.2 kB / 0.771 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-05/0.1475, allocations: 176.4 kB / 0.7712 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.07e-05/0.1475, allocations: 184.2 kB / 0.7713 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003004/0.1479, allocations: 409.2 kB / 0.7717 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.079e-05/0.1479, allocations: 105 kB / 0.7718 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.073e-05/0.148, allocations: 104.9 kB / 0.7719 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-05/0.148, allocations: 176.3 kB / 0.7721 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.777e-05/0.1481, allocations: 184.2 kB / 0.7723 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.496e-05/0.1481, allocations: 180.2 kB / 0.7725 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.439e-05/0.1482, allocations: 176.3 kB / 0.7726 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.1483, allocations: 311.7 kB / 0.7729 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.433e-05/0.1484, allocations: 186 kB / 0.7731 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.82e-05/0.1485, allocations: 180.3 kB / 0.7733 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.581e-05/0.1485, allocations: 105 kB / 0.7734 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.948e-05/0.1486, allocations: 184.2 kB / 0.7735 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-05/0.1487, allocations: 105 kB / 0.7736 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.994e-05/0.1487, allocations: 83.27 kB / 0.7737 GB, free: 448 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1487, allocations: 0 / 0.7737 GB, free: 448 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00026/0.149, allocations: 23.94 kB / 0.7737 GB, free: 424 kB / 0.5606 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003204/0.1493, allocations: 241.4 kB / 0.774 GB, free: 180 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 5.429e-05/0.1494, allocations: 3.938 kB / 0.774 GB, free: 176 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1494, allocations: 0 / 0.774 GB, free: 176 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.1494, allocations: 0 / 0.774 GB, free: 176 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2685/0.4179, allocations: 461.7 kB / 0.7744 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003575/0.4182, allocations: 197.8 kB / 0.7746 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.567e-05/0.4183, allocations: 0.6762 MB / 0.7753 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.628e-05/0.4184, allocations: 2.438 kB / 0.7753 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.963e-05/0.4184, allocations: 9.219 kB / 0.7753 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of SimCode: time 6.21e-07/0.4184, allocations: 0 / 0.7753 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of Templates: time 0.002733/0.4211, allocations: 0.6793 MB / 0.7759 GB, free: 14.53 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)