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: "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007084/0.0007084, allocations: 92.94 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00073/0.00073, allocations: 168.2 kB / 16.58 MB, free: 6.059 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.175/1.175, allocations: 223.3 MB / 240.6 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5951/0.5951, allocations: 113.7 MB / 405.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002659/0.0002659, allocations: 17 kB / 493.2 MB, free: 8.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1147, allocations: 77.11 MB / 0.5569 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0005776/0.1154, allocations: 282.3 kB / 0.5572 GB, free: 11.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.1165, allocations: 0.9859 MB / 0.5582 GB, free: 10.34 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.614e-05/0.1165, allocations: 0 / 0.5582 GB, free: 10.34 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.388e-06/0.1165, allocations: 0 / 0.5582 GB, free: 10.34 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007011/0.1172, allocations: 83.86 kB / 0.5582 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.685e-05/0.1173, allocations: 7.984 kB / 0.5583 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.033e-05/0.1173, allocations: 4 kB / 0.5583 GB, free: 10.24 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.075e-05/0.1174, allocations: 4 kB / 0.5583 GB, free: 10.24 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.751e-05/0.1174, allocations: 3.938 kB / 0.5583 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.1176, allocations: 36.62 kB / 0.5583 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.1176, allocations: 0 / 0.5583 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001582/0.1178, allocations: 71.91 kB / 0.5584 GB, free: 10.13 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.304e-06/0.1178, allocations: 0 / 0.5584 GB, free: 10.13 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.631e-05/0.1179, allocations: 25.7 kB / 0.5584 GB, free: 10.1 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.118, allocations: 48.23 kB / 0.5584 GB, free: 10.05 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.118, allocations: 0 / 0.5584 GB, free: 10.05 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.118, allocations: 0 / 0.5584 GB, free: 10.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.118, allocations: 0 / 0.5584 GB, free: 10.05 MB / 430.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.0002715/0.1183, allocations: 331.4 kB / 0.5588 GB, free: 9.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.1183, allocations: 16.03 kB / 0.5588 GB, free: 9.664 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.619e-05/0.1184, allocations: 30.56 kB / 0.5588 GB, free: 9.625 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.821e-05/0.1184, allocations: 3.984 kB / 0.5588 GB, free: 9.621 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.262e-05/0.1185, allocations: 167 kB / 0.559 GB, free: 9.418 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.564e-06/0.1185, allocations: 7.938 kB / 0.559 GB, free: 9.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.392e-06/0.1185, allocations: 3.953 kB / 0.559 GB, free: 9.406 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.518e-05/0.1186, allocations: 37.64 kB / 0.559 GB, free: 9.363 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.67e-06/0.1186, allocations: 0 / 0.559 GB, free: 9.363 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.901e-06/0.1186, allocations: 0 / 0.559 GB, free: 9.363 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1186, allocations: 8 kB / 0.559 GB, free: 9.355 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.392e-05/0.1186, allocations: 0 / 0.559 GB, free: 9.355 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003174/0.1189, allocations: 468.6 kB / 0.5595 GB, free: 8.828 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.518e-05/0.119, allocations: 169.1 kB / 0.5596 GB, free: 8.652 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.363e-05/0.1191, allocations: 80.14 kB / 0.5597 GB, free: 8.57 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.1191, allocations: 79.28 kB / 0.5598 GB, free: 8.492 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.1191, allocations: 105.8 kB / 0.5599 GB, free: 8.379 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.1191, allocations: 0 / 0.5599 GB, free: 8.379 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 5.566e-05/0.1192, allocations: 37.61 kB / 0.5599 GB, free: 8.336 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/0.1193, allocations: 130.6 kB / 0.56 GB, free: 8.195 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.826e-05/0.1193, allocations: 97.84 kB / 0.5601 GB, free: 8.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.729e-06/0.1193, allocations: 29.7 kB / 0.5602 GB, free: 8.055 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.505e-05/0.1194, allocations: 84.14 kB / 0.5602 GB, free: 7.969 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.543e-06/0.1194, allocations: 0 / 0.5602 GB, free: 7.969 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.913e-06/0.1194, allocations: 0 / 0.5602 GB, free: 7.969 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.582e-05/0.1195, allocations: 314.8 kB / 0.5605 GB, free: 7.652 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.753e-06/0.1195, allocations: 0 / 0.5605 GB, free: 7.652 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.769e-06/0.1195, allocations: 0 / 0.5605 GB, free: 7.652 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.456e-05/0.1195, allocations: 4 kB / 0.5605 GB, free: 7.648 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1195, allocations: 3.953 kB / 0.5605 GB, free: 7.645 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.991e-05/0.1196, allocations: 37.75 kB / 0.5606 GB, free: 7.602 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.1196, allocations: 4 kB / 0.5606 GB, free: 7.598 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.1196, allocations: 4 kB / 0.5606 GB, free: 7.594 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.576e-06/0.1197, allocations: 0 / 0.5606 GB, free: 7.594 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.304e-05/0.1197, allocations: 3.938 kB / 0.5606 GB, free: 7.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.1197, allocations: 0 / 0.5606 GB, free: 7.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.159e-05/0.1197, allocations: 0 / 0.5606 GB, free: 7.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.1197, allocations: 0 / 0.5606 GB, free: 7.59 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.132e-05/0.1198, allocations: 193.2 kB / 0.5608 GB, free: 7.391 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.013e-05/0.1198, allocations: 108.9 kB / 0.5609 GB, free: 7.277 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.387e-05/0.1199, allocations: 104.1 kB / 0.561 GB, free: 7.164 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-05/0.12, allocations: 184.1 kB / 0.5612 GB, free: 6.977 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-05/0.12, allocations: 180.3 kB / 0.5613 GB, free: 6.793 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-05/0.1201, allocations: 184.2 kB / 0.5615 GB, free: 6.605 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.1203, allocations: 405.3 kB / 0.5619 GB, free: 6.152 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.287e-05/0.1203, allocations: 109 kB / 0.562 GB, free: 6.039 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.208e-05/0.1203, allocations: 108.9 kB / 0.5621 GB, free: 5.926 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.326e-05/0.1204, allocations: 180.2 kB / 0.5623 GB, free: 5.742 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.621e-05/0.1205, allocations: 188.2 kB / 0.5625 GB, free: 5.551 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.834e-05/0.1205, allocations: 180.2 kB / 0.5626 GB, free: 5.367 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.843e-05/0.1206, allocations: 188.2 kB / 0.5628 GB, free: 5.176 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.1207, allocations: 303.8 kB / 0.5631 GB, free: 4.855 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.085e-05/0.1208, allocations: 182 kB / 0.5633 GB, free: 4.652 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.193e-05/0.1209, allocations: 184.2 kB / 0.5634 GB, free: 4.465 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.341e-05/0.121, allocations: 112.9 kB / 0.5636 GB, free: 4.348 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.153e-05/0.121, allocations: 176.3 kB / 0.5637 GB, free: 4.168 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.785e-05/0.1211, allocations: 105 kB / 0.5638 GB, free: 4.059 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.433e-05/0.1211, allocations: 83.45 kB / 0.5639 GB, free: 3.977 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1211, allocations: 0 / 0.5639 GB, free: 3.977 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002313/0.1214, allocations: 23.98 kB / 0.5639 GB, free: 3.953 MB / 430.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 (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.0005343/0.1219, allocations: 0.8651 MB / 0.5648 GB, free: 3.066 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 4.447e-05/0.122, allocations: 4 kB / 0.5648 GB, free: 3.062 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.122, allocations: 4.062 kB / 0.5648 GB, free: 3.059 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.122, allocations: 0 / 0.5648 GB, free: 3.059 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.1223, allocations: 0.5335 MB / 0.5653 GB, free: 2.527 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004031/0.1227, allocations: 231.6 kB / 0.5655 GB, free: 2.258 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001998/0.1229, allocations: 0.677 MB / 0.5662 GB, free: 1.555 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.13e-05/0.1229, allocations: 0 / 0.5662 GB, free: 1.555 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.269e-05/0.123, allocations: 11.44 kB / 0.5662 GB, free: 1.543 MB / 430.1 MB Notification: Performance of SimCode: time 2.31e-07/0.123, allocations: 0 / 0.5662 GB, free: 1.543 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009577/0.1325, allocations: 1.333 MB / 0.5675 GB, free: 460 kB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002355/0.1328, allocations: 292.7 kB / 0.5678 GB, free: 96 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.504/1.637, allocations: 0 / 0.5678 GB, free: 96 kB / 430.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) Environment - environmentSimulation: