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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 110.7 kB / 16.41 MB, free: 5.984 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.001426/0.001426, allocations: 191 kB / 17.34 MB, free: 5.602 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/IBPSA 4.0.0-master/package.mo): time 0.7576/0.7576, allocations: 122.9 MB / 414.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 60.3 kB / 0.5685 GB, free: 28.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1193, allocations: 77.94 MB / 0.6446 GB, free: 9.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001606/0.121, allocations: 0.5517 MB / 0.6452 GB, free: 8.461 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.1223, allocations: 1.007 MB / 0.6461 GB, free: 7.438 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.177e-05/0.1223, allocations: 0 / 0.6461 GB, free: 7.438 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.724e-05/0.1224, allocations: 0 / 0.6461 GB, free: 7.438 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001288/0.1237, allocations: 87.78 kB / 0.6462 GB, free: 7.352 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.081e-05/0.1238, allocations: 19.92 kB / 0.6462 GB, free: 7.332 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.318e-05/0.1239, allocations: 4 kB / 0.6462 GB, free: 7.328 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.296e-05/0.1239, allocations: 8 kB / 0.6463 GB, free: 7.32 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.433e-05/0.124, allocations: 3.984 kB / 0.6463 GB, free: 7.316 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002878/0.1243, allocations: 32.84 kB / 0.6463 GB, free: 7.285 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.1243, allocations: 0 / 0.6463 GB, free: 7.285 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002714/0.1246, allocations: 75.92 kB / 0.6464 GB, free: 7.211 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.085e-05/0.1246, allocations: 7.984 kB / 0.6464 GB, free: 7.203 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.409e-05/0.1246, allocations: 3.938 kB / 0.6464 GB, free: 7.199 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.1249, allocations: 71.78 kB / 0.6464 GB, free: 7.129 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.1249, allocations: 8 kB / 0.6465 GB, free: 7.121 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1249, allocations: 0 / 0.6465 GB, free: 7.121 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.125, allocations: 4 kB / 0.6465 GB, free: 7.117 MB / 494.1 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.0004375/0.1254, allocations: 335.3 kB / 0.6468 GB, free: 6.742 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.1255, allocations: 8.625 kB / 0.6468 GB, free: 6.734 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.164e-05/0.1255, allocations: 0.9375 kB / 0.6468 GB, free: 6.734 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.1257, allocations: 168.3 kB / 0.6469 GB, free: 6.531 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.1257, allocations: 384 / 0.6469 GB, free: 6.531 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.1258, allocations: 384 / 0.6469 GB, free: 6.531 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.1259, allocations: 41.81 kB / 0.647 GB, free: 6.484 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.1259, allocations: 4 kB / 0.647 GB, free: 6.48 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.1259, allocations: 0 / 0.647 GB, free: 6.48 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1259, allocations: 0 / 0.647 GB, free: 6.48 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.681e-05/0.126, allocations: 0 / 0.647 GB, free: 6.48 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005593/0.1265, allocations: 468.5 kB / 0.6474 GB, free: 5.953 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.402e-05/0.1267, allocations: 165.1 kB / 0.6476 GB, free: 5.781 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.874e-05/0.1267, allocations: 84.14 kB / 0.6477 GB, free: 5.695 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.647e-05/0.1268, allocations: 79.28 kB / 0.6477 GB, free: 5.617 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.583e-05/0.1268, allocations: 109.8 kB / 0.6479 GB, free: 5.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.964e-06/0.1269, allocations: 0 / 0.6479 GB, free: 5.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001045/0.127, allocations: 33.62 kB / 0.6479 GB, free: 5.461 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.69e-05/0.1271, allocations: 130.6 kB / 0.648 GB, free: 5.32 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.1272, allocations: 101.9 kB / 0.6481 GB, free: 5.211 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.1273, allocations: 25.7 kB / 0.6481 GB, free: 5.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.731e-05/0.1273, allocations: 88.09 kB / 0.6482 GB, free: 5.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.998e-06/0.1274, allocations: 1.125 kB / 0.6482 GB, free: 5.09 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.389e-05/0.1274, allocations: 17.7 kB / 0.6482 GB, free: 5.066 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002132/0.1276, allocations: 314.8 kB / 0.6485 GB, free: 4.75 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.657e-05/0.1277, allocations: 0 / 0.6485 GB, free: 4.75 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.454e-05/0.1277, allocations: 4 kB / 0.6485 GB, free: 4.746 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.384e-05/0.1278, allocations: 12.92 kB / 0.6485 GB, free: 4.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1278, allocations: 0 / 0.6485 GB, free: 4.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001534/0.1279, allocations: 37.64 kB / 0.6486 GB, free: 4.688 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.128, allocations: 13.23 kB / 0.6486 GB, free: 4.676 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.128, allocations: 0 / 0.6486 GB, free: 4.676 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.128, allocations: 0 / 0.6486 GB, free: 4.676 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.037e-05/0.1281, allocations: 0 / 0.6486 GB, free: 4.676 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.1281, allocations: 0 / 0.6486 GB, free: 4.676 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.372e-05/0.1281, allocations: 0 / 0.6486 GB, free: 4.676 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.1281, allocations: 32 / 0.6486 GB, free: 4.676 MB / 494.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000128/0.1283, allocations: 193.1 kB / 0.6488 GB, free: 4.477 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.1284, allocations: 104.9 kB / 0.6489 GB, free: 4.367 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.578e-05/0.1285, allocations: 112 kB / 0.649 GB, free: 4.25 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.552e-05/0.1286, allocations: 184.3 kB / 0.6492 GB, free: 4.062 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.329e-05/0.1287, allocations: 180.4 kB / 0.6493 GB, free: 3.879 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-05/0.1288, allocations: 180.3 kB / 0.6495 GB, free: 3.695 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003564/0.1292, allocations: 413.1 kB / 0.6499 GB, free: 3.234 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.394e-05/0.1293, allocations: 105 kB / 0.65 GB, free: 3.125 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.425e-05/0.1294, allocations: 101 kB / 0.6501 GB, free: 3.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.868e-05/0.1295, allocations: 180.4 kB / 0.6503 GB, free: 2.836 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-05/0.1296, allocations: 188.3 kB / 0.6505 GB, free: 2.645 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.155e-05/0.1297, allocations: 188.2 kB / 0.6506 GB, free: 2.453 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.593e-05/0.1298, allocations: 176.3 kB / 0.6508 GB, free: 2.273 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001954/0.13, allocations: 307.7 kB / 0.6511 GB, free: 1.949 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.1302, allocations: 182.1 kB / 0.6513 GB, free: 1.746 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.1303, allocations: 188.2 kB / 0.6514 GB, free: 1.555 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.1305, allocations: 101 kB / 0.6515 GB, free: 1.449 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.1306, allocations: 180.3 kB / 0.6517 GB, free: 1.266 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.315e-05/0.1306, allocations: 104.9 kB / 0.6518 GB, free: 1.156 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001223/0.1308, allocations: 83.27 kB / 0.6519 GB, free: 1.074 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.4e-07/0.1308, allocations: 0 / 0.6519 GB, free: 1.074 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000494/0.1313, allocations: 19.94 kB / 0.6519 GB, free: 1.055 MB / 494.1 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 (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.0005061/0.1318, allocations: 245.5 kB / 0.6521 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.494e-05/0.1319, allocations: 4 kB / 0.6521 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.1319, allocations: 0 / 0.6521 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.288e-06/0.132, allocations: 64 / 0.6521 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005812/0.1326, allocations: 468.4 kB / 0.6526 GB, free: 356 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000475/0.1331, allocations: 200.2 kB / 0.6528 GB, free: 128 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.1334, allocations: 0.6729 MB / 0.6534 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.411e-05/0.1335, allocations: 8 kB / 0.6535 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.263e-05/0.1336, allocations: 7.438 kB / 0.6535 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of SimCode: time 7.42e-07/0.1336, allocations: 0 / 0.6535 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of Templates: time 0.004891/0.1385, allocations: 0.6765 MB / 0.6541 GB, free: 14.78 MB / 0.4981 GB 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)