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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008641/0.0008641, allocations: 76.45 kB / 19.92 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008514/0.0008514, allocations: 177.2 kB / 23.21 MB, free: 1.344 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8856/0.8856, allocations: 177.2 MB / 203.5 MB, free: 5.41 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5691/0.5691, allocations: 114 MB / 373.9 MB, free: 8.609 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.5543 GB, free: 1.621 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.055e-05, allocations: 2.281 kB / 0.5543 GB, free: 1.617 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001605/0.001626, allocations: 0.5635 MB / 0.5548 GB, free: 1.062 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.00293, allocations: 1.007 MB / 0.5558 GB, free: 44 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.158e-05/0.002951, allocations: 0 / 0.5558 GB, free: 44 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 1.85e-05/0.00297, allocations: 7.875 kB / 0.5558 GB, free: 36 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008501/0.00382, allocations: 95.77 kB / 0.5559 GB, free: 15.94 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.145e-05/0.003852, allocations: 7.938 kB / 0.5559 GB, free: 15.93 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.921e-05/0.003911, allocations: 19.91 kB / 0.5559 GB, free: 15.91 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.275e-05/0.003953, allocations: 4 kB / 0.5559 GB, free: 15.91 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.07e-05/0.003984, allocations: 4 kB / 0.5559 GB, free: 15.91 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.004163, allocations: 27.97 kB / 0.556 GB, free: 15.88 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.004176, allocations: 4 kB / 0.556 GB, free: 15.88 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001649/0.004341, allocations: 79.84 kB / 0.556 GB, free: 15.8 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.778e-06/0.004351, allocations: 0 / 0.556 GB, free: 15.8 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.17e-05/0.004372, allocations: 4 kB / 0.556 GB, free: 15.79 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.004546, allocations: 87.77 kB / 0.5561 GB, free: 15.71 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.004549, allocations: 0 / 0.5561 GB, free: 15.71 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.00455, allocations: 0 / 0.5561 GB, free: 15.71 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.004554, allocations: 0 / 0.5561 GB, free: 15.71 MB / 490.7 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.0002983/0.004853, allocations: 254.3 kB / 0.5564 GB, free: 15.43 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.0049, allocations: 12.62 kB / 0.5564 GB, free: 15.42 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.489e-05/0.004935, allocations: 34.75 kB / 0.5564 GB, free: 15.38 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.533e-05/0.00496, allocations: 0.9375 kB / 0.5564 GB, free: 15.38 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.771e-05/0.005058, allocations: 109.8 kB / 0.5565 GB, free: 15.24 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.005071, allocations: 4.359 kB / 0.5565 GB, free: 15.24 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.767e-06/0.00508, allocations: 4.125 kB / 0.5565 GB, free: 15.23 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.988e-05/0.00517, allocations: 29.64 kB / 0.5566 GB, free: 15.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.005179, allocations: 4 kB / 0.5566 GB, free: 15.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.005187, allocations: 0 / 0.5566 GB, free: 15.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.005191, allocations: 0 / 0.5566 GB, free: 15.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.771e-05/0.005209, allocations: 0 / 0.5566 GB, free: 15.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000376/0.005585, allocations: 366.5 kB / 0.5569 GB, free: 14.79 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.08e-05/0.005666, allocations: 177.1 kB / 0.5571 GB, free: 14.61 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.271e-05/0.005699, allocations: 84.08 kB / 0.5572 GB, free: 14.52 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.005722, allocations: 75.28 kB / 0.5572 GB, free: 14.45 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/0.005765, allocations: 105.8 kB / 0.5573 GB, free: 14.34 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.005766, allocations: 0 / 0.5573 GB, free: 14.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 7.118e-05/0.005837, allocations: 37.64 kB / 0.5574 GB, free: 14.29 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.00589, allocations: 126.7 kB / 0.5575 GB, free: 14.16 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.027e-05/0.00598, allocations: 97.86 kB / 0.5576 GB, free: 14.05 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.759e-06/0.00599, allocations: 25.7 kB / 0.5576 GB, free: 14.02 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.517e-05/0.006025, allocations: 84.14 kB / 0.5577 GB, free: 13.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.946e-06/0.006028, allocations: 7.938 kB / 0.5577 GB, free: 13.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.123e-05/0.006059, allocations: 21.64 kB / 0.5577 GB, free: 13.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.286e-05/0.006152, allocations: 318.8 kB / 0.558 GB, free: 13.58 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.267e-06/0.006162, allocations: 0 / 0.558 GB, free: 13.58 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.022e-06/0.006168, allocations: 0 / 0.558 GB, free: 13.58 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.67e-05/0.006194, allocations: 8.859 kB / 0.558 GB, free: 13.57 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.006196, allocations: 0 / 0.558 GB, free: 13.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001135/0.006309, allocations: 29.7 kB / 0.5581 GB, free: 13.53 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.006326, allocations: 11.98 kB / 0.5581 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.006331, allocations: 4.094 kB / 0.5581 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.006344, allocations: 0 / 0.5581 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.68e-05/0.00638, allocations: 0 / 0.5581 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.519e-05/0.006396, allocations: 3.938 kB / 0.5581 GB, free: 13.51 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.377e-05/0.006419, allocations: 0 / 0.5581 GB, free: 13.51 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.006438, allocations: 4 kB / 0.5581 GB, free: 13.51 MB / 490.7 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.0001119/0.006549, allocations: 189.1 kB / 0.5583 GB, free: 13.31 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.054e-05/0.0066, allocations: 101 kB / 0.5584 GB, free: 13.21 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.621e-05/0.006646, allocations: 116.2 kB / 0.5585 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-05/0.006701, allocations: 180.2 kB / 0.5586 GB, free: 12.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-05/0.006758, allocations: 188.3 kB / 0.5588 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.966e-05/0.006818, allocations: 184.2 kB / 0.559 GB, free: 12.52 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.007018, allocations: 376.2 kB / 0.5593 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.933e-05/0.007048, allocations: 101 kB / 0.5594 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.278e-05/0.00708, allocations: 104.9 kB / 0.5595 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.767e-05/0.007138, allocations: 184.3 kB / 0.5597 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.977e-05/0.007198, allocations: 180.2 kB / 0.5599 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.335e-05/0.007251, allocations: 180.2 kB / 0.5601 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.622e-05/0.007307, allocations: 184.2 kB / 0.5602 GB, free: 11.15 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.007428, allocations: 303.8 kB / 0.5605 GB, free: 10.83 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.039e-05/0.007469, allocations: 112.9 kB / 0.5606 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.837e-05/0.007537, allocations: 188.2 kB / 0.5608 GB, free: 10.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.44e-05/0.007612, allocations: 104.9 kB / 0.5609 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.225e-05/0.007674, allocations: 176.3 kB / 0.5611 GB, free: 10.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.322e-05/0.007707, allocations: 108.9 kB / 0.5612 GB, free: 10.12 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.706e-05/0.007754, allocations: 91.44 kB / 0.5613 GB, free: 10.03 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007754, allocations: 0 / 0.5613 GB, free: 10.03 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000299/0.008053, allocations: 19.88 kB / 0.5613 GB, free: 10.01 MB / 490.7 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.000576/0.008629, allocations: 0.8681 MB / 0.5621 GB, free: 9.125 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.402e-05/0.008693, allocations: 4 kB / 0.5621 GB, free: 9.121 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.008695, allocations: 0 / 0.5621 GB, free: 9.121 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.313e-06/0.008696, allocations: 0 / 0.5621 GB, free: 9.121 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.009113, allocations: 467.3 kB / 0.5626 GB, free: 8.664 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005057/0.009619, allocations: 237.6 kB / 0.5628 GB, free: 8.391 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.502e-05/0.009664, allocations: 59.34 kB / 0.5629 GB, free: 8.312 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.406e-05/0.009688, allocations: 8.062 kB / 0.5629 GB, free: 8.305 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.662e-05/0.009715, allocations: 8.5 kB / 0.5629 GB, free: 8.297 MB / 490.7 MB Notification: Performance of SimCode: time 4.31e-07/0.009715, allocations: 0 / 0.5629 GB, free: 8.297 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01729/0.02701, allocations: 2.195 MB / 0.565 GB, free: 6.312 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.935/6.962, allocations: 10.67 kB / 0.565 GB, free: 6.309 MB / 490.7 MB " [Timeout remaining time 653] (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 --stepSize=0.0004 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.40034787915647] Failed to read output from testmodel.py, exit status != 0: 7.045061852782965 7.053075213 7.046629344 Calling exit ...