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.001143/0.001143, allocations: 100.1 kB / 15.88 MB, free: 12 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.001255/0.001255, allocations: 208.4 kB / 16.79 MB, free: 6.84 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.196/1.196, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6363/0.6363, allocations: 115.3 MB / 405.9 MB, free: 2.789 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 60.59 kB / 493 MB, free: 6.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1146, allocations: 76.19 MB / 0.5559 GB, free: 10.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001452/0.1161, allocations: 0.615 MB / 0.5565 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009744/0.1171, allocations: 1.003 MB / 0.5575 GB, free: 9.055 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.578e-06/0.1171, allocations: 4 kB / 0.5575 GB, free: 9.051 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.173e-05/0.1171, allocations: 3.938 kB / 0.5575 GB, free: 9.047 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005093/0.1177, allocations: 83.84 kB / 0.5576 GB, free: 8.965 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.091e-05/0.1177, allocations: 8 kB / 0.5576 GB, free: 8.957 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 2.992e-05/0.1177, allocations: 11.94 kB / 0.5576 GB, free: 8.945 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.418e-05/0.1178, allocations: 11.91 kB / 0.5576 GB, free: 8.934 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.242e-05/0.1178, allocations: 0 / 0.5576 GB, free: 8.934 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.118, allocations: 31.97 kB / 0.5576 GB, free: 8.902 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.875e-06/0.118, allocations: 0 / 0.5576 GB, free: 8.902 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.1181, allocations: 87.91 kB / 0.5577 GB, free: 8.816 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.857e-06/0.1181, allocations: 4 kB / 0.5577 GB, free: 8.812 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.479e-05/0.1182, allocations: 3.938 kB / 0.5577 GB, free: 8.809 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.1183, allocations: 72.19 kB / 0.5578 GB, free: 8.738 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1183, allocations: 3.984 kB / 0.5578 GB, free: 8.734 MB / 430.1 MB Notification: Performance of FrontEnd: time 6.71e-07/0.1183, allocations: 4 kB / 0.5578 GB, free: 8.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.505e-06/0.1183, allocations: 0 / 0.5578 GB, free: 8.73 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.0002372/0.1185, allocations: 335.5 kB / 0.5581 GB, free: 8.355 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.1186, allocations: 8.031 kB / 0.5581 GB, free: 8.348 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.611e-05/0.1186, allocations: 42.73 kB / 0.5582 GB, free: 8.297 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.646e-05/0.1186, allocations: 0.9375 kB / 0.5582 GB, free: 8.297 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.965e-05/0.1187, allocations: 164.3 kB / 0.5583 GB, free: 8.098 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.681e-06/0.1187, allocations: 4.312 kB / 0.5583 GB, free: 8.094 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.211e-06/0.1187, allocations: 384 / 0.5583 GB, free: 8.094 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.161e-05/0.1188, allocations: 45.62 kB / 0.5584 GB, free: 8.043 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.659e-06/0.1188, allocations: 0 / 0.5584 GB, free: 8.043 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.719e-06/0.1188, allocations: 0 / 0.5584 GB, free: 8.043 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.046e-06/0.1188, allocations: 0 / 0.5584 GB, free: 8.043 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.463e-05/0.1189, allocations: 4 kB / 0.5584 GB, free: 8.039 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002934/0.1192, allocations: 460.6 kB / 0.5588 GB, free: 7.52 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.786e-05/0.1192, allocations: 181 kB / 0.559 GB, free: 7.332 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.584e-05/0.1192, allocations: 80.14 kB / 0.5591 GB, free: 7.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.1193, allocations: 75.28 kB / 0.5591 GB, free: 7.176 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.1193, allocations: 105.8 kB / 0.5592 GB, free: 7.062 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.1193, allocations: 0 / 0.5592 GB, free: 7.062 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 5.824e-05/0.1194, allocations: 33.69 kB / 0.5593 GB, free: 7.023 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.1194, allocations: 134.6 kB / 0.5594 GB, free: 6.879 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.871e-05/0.1195, allocations: 97.86 kB / 0.5595 GB, free: 6.773 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.315e-06/0.1195, allocations: 25.7 kB / 0.5595 GB, free: 6.742 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.587e-05/0.1195, allocations: 84.14 kB / 0.5596 GB, free: 6.656 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.753e-06/0.1195, allocations: 0 / 0.5596 GB, free: 6.656 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.46e-05/0.1196, allocations: 17.7 kB / 0.5596 GB, free: 6.633 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.705e-05/0.1197, allocations: 314.8 kB / 0.5599 GB, free: 6.316 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.101e-05/0.1197, allocations: 4 kB / 0.5599 GB, free: 6.312 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.893e-06/0.1197, allocations: 7.938 kB / 0.5599 GB, free: 6.305 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.777e-05/0.1197, allocations: 4.859 kB / 0.5599 GB, free: 6.297 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.1197, allocations: 0 / 0.5599 GB, free: 6.297 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.266e-05/0.1198, allocations: 41.64 kB / 0.56 GB, free: 6.25 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.626e-06/0.1198, allocations: 4 kB / 0.56 GB, free: 6.246 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-06/0.1198, allocations: 0 / 0.56 GB, free: 6.246 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.435e-06/0.1198, allocations: 3.984 kB / 0.56 GB, free: 6.242 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.769e-06/0.1198, allocations: 0 / 0.56 GB, free: 6.242 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.996e-06/0.1198, allocations: 4.094 kB / 0.56 GB, free: 6.238 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.146e-05/0.1199, allocations: 0 / 0.56 GB, free: 6.238 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.868e-06/0.1199, allocations: 4 kB / 0.56 GB, free: 6.234 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.64e-05/0.1199, allocations: 186.6 kB / 0.5602 GB, free: 6.043 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.602e-05/0.12, allocations: 101 kB / 0.5602 GB, free: 5.938 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.586e-05/0.12, allocations: 112 kB / 0.5604 GB, free: 5.824 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.375e-05/0.1201, allocations: 188.2 kB / 0.5605 GB, free: 5.633 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.415e-05/0.1201, allocations: 176.4 kB / 0.5607 GB, free: 5.453 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.612e-05/0.1202, allocations: 184.2 kB / 0.5609 GB, free: 5.266 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.1203, allocations: 405.2 kB / 0.5613 GB, free: 4.812 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.653e-05/0.1204, allocations: 108.9 kB / 0.5614 GB, free: 4.699 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.826e-05/0.1204, allocations: 101 kB / 0.5615 GB, free: 4.594 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.282e-05/0.1205, allocations: 184.3 kB / 0.5616 GB, free: 4.406 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-05/0.1205, allocations: 180.2 kB / 0.5618 GB, free: 4.223 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.963e-05/0.1206, allocations: 192.2 kB / 0.562 GB, free: 4.027 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.39e-05/0.1206, allocations: 180.2 kB / 0.5622 GB, free: 3.844 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.561e-05/0.1207, allocations: 315.6 kB / 0.5625 GB, free: 3.512 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.079e-05/0.1208, allocations: 182.1 kB / 0.5626 GB, free: 3.309 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.336e-05/0.1208, allocations: 180.2 kB / 0.5628 GB, free: 3.125 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.493e-05/0.1209, allocations: 104.9 kB / 0.5629 GB, free: 3.016 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/0.1209, allocations: 180.5 kB / 0.5631 GB, free: 2.832 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-05/0.121, allocations: 108.9 kB / 0.5632 GB, free: 2.719 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.627e-05/0.121, allocations: 91.25 kB / 0.5633 GB, free: 2.629 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.121, allocations: 0 / 0.5633 GB, free: 2.629 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002226/0.1213, allocations: 20 kB / 0.5633 GB, free: 2.609 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 (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.0004478/0.1217, allocations: 0.8654 MB / 0.5641 GB, free: 1.727 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 3.91e-05/0.1218, allocations: 4 kB / 0.5641 GB, free: 1.723 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.153e-06/0.1218, allocations: 0 / 0.5641 GB, free: 1.723 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.896e-06/0.1218, allocations: 3.938 kB / 0.5642 GB, free: 1.719 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.1221, allocations: 0.5264 MB / 0.5647 GB, free: 1.188 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000374/0.1225, allocations: 231.8 kB / 0.5649 GB, free: 0.918 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.1226, allocations: 0.677 MB / 0.5655 GB, free: 220 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.847e-05/0.1227, allocations: 0 / 0.5655 GB, free: 220 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.986e-05/0.1227, allocations: 7.438 kB / 0.5656 GB, free: 212 kB / 430.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1227, allocations: 0 / 0.5656 GB, free: 212 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009236/0.1319, allocations: 1.419 MB / 0.5669 GB, free: 15 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002422/0.1322, allocations: 320.5 kB / 0.5672 GB, free: 14.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.6/1.732, allocations: 0 / 0.5672 GB, free: 14.61 MB / 446.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/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)