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.0008524/0.0008524, allocations: 92.8 kB / 16.02 MB, free: 84 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.0008701/0.0008701, allocations: 178.3 kB / 16.92 MB, free: 6.688 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.211/1.211, allocations: 223.3 MB / 241 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.63/0.63, allocations: 115.5 MB / 407.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002756/0.0002756, allocations: 9.562 kB / 496 MB, free: 6.242 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1179, allocations: 77.54 MB / 0.5601 GB, free: 8.922 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0006111/0.1185, allocations: 292.8 kB / 0.5604 GB, free: 8.637 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.1197, allocations: 0.9994 MB / 0.5613 GB, free: 7.621 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.095e-05/0.1197, allocations: 0 / 0.5613 GB, free: 7.621 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.076e-05/0.1198, allocations: 0 / 0.5613 GB, free: 7.621 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000591/0.1204, allocations: 87.84 kB / 0.5614 GB, free: 7.535 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.108e-05/0.1204, allocations: 8 kB / 0.5614 GB, free: 7.527 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.192e-05/0.1204, allocations: 4 kB / 0.5614 GB, free: 7.523 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.335e-05/0.1205, allocations: 3.938 kB / 0.5614 GB, free: 7.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.541e-05/0.1205, allocations: 7.938 kB / 0.5614 GB, free: 7.512 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002041/0.1207, allocations: 35.95 kB / 0.5615 GB, free: 7.477 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.608e-06/0.1207, allocations: 4 kB / 0.5615 GB, free: 7.473 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.1209, allocations: 91.84 kB / 0.5616 GB, free: 7.383 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.293e-06/0.1209, allocations: 0 / 0.5616 GB, free: 7.383 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.811e-05/0.1209, allocations: 29.64 kB / 0.5616 GB, free: 7.348 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.1211, allocations: 76.19 kB / 0.5617 GB, free: 7.273 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1211, allocations: 0 / 0.5617 GB, free: 7.273 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1211, allocations: 0 / 0.5617 GB, free: 7.273 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.1211, allocations: 0 / 0.5617 GB, free: 7.273 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.0002602/0.1214, allocations: 327.5 kB / 0.562 GB, free: 6.906 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.1214, allocations: 12.03 kB / 0.562 GB, free: 6.895 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.843e-05/0.1215, allocations: 30.75 kB / 0.562 GB, free: 6.855 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.707e-05/0.1215, allocations: 0.9375 kB / 0.562 GB, free: 6.855 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.1216, allocations: 168.4 kB / 0.5622 GB, free: 6.652 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.928e-06/0.1216, allocations: 4.375 kB / 0.5622 GB, free: 6.648 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.923e-06/0.1216, allocations: 4.312 kB / 0.5622 GB, free: 6.645 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.887e-05/0.1217, allocations: 33.64 kB / 0.5622 GB, free: 6.605 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.361e-06/0.1217, allocations: 0 / 0.5622 GB, free: 6.605 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.221e-06/0.1217, allocations: 0 / 0.5622 GB, free: 6.605 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1217, allocations: 4 kB / 0.5622 GB, free: 6.602 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.454e-05/0.1217, allocations: 0 / 0.5622 GB, free: 6.602 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003529/0.1221, allocations: 480.5 kB / 0.5627 GB, free: 6.062 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.1e-05/0.1222, allocations: 173 kB / 0.5629 GB, free: 5.883 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.171e-05/0.1222, allocations: 80.14 kB / 0.5629 GB, free: 5.801 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.1222, allocations: 79.28 kB / 0.563 GB, free: 5.723 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/0.1223, allocations: 113.8 kB / 0.5631 GB, free: 5.602 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.1223, allocations: 0 / 0.5631 GB, free: 5.602 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 5.603e-05/0.1224, allocations: 25.7 kB / 0.5631 GB, free: 5.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.1224, allocations: 126.7 kB / 0.5633 GB, free: 5.434 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.419e-05/0.1225, allocations: 105.8 kB / 0.5634 GB, free: 5.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.326e-06/0.1225, allocations: 25.7 kB / 0.5634 GB, free: 5.289 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.074e-05/0.1225, allocations: 88.14 kB / 0.5635 GB, free: 5.199 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.1226, allocations: 0 / 0.5635 GB, free: 5.199 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.884e-05/0.1226, allocations: 9.719 kB / 0.5635 GB, free: 5.184 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.1227, allocations: 314.8 kB / 0.5638 GB, free: 4.867 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.993e-06/0.1227, allocations: 0 / 0.5638 GB, free: 4.867 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.662e-06/0.1227, allocations: 4 kB / 0.5638 GB, free: 4.863 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.099e-05/0.1227, allocations: 8.844 kB / 0.5638 GB, free: 4.852 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1227, allocations: 4.062 kB / 0.5638 GB, free: 4.848 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.512e-05/0.1228, allocations: 37.7 kB / 0.5638 GB, free: 4.805 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.1228, allocations: 4 kB / 0.5638 GB, free: 4.801 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.1229, allocations: 0 / 0.5638 GB, free: 4.801 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.346e-06/0.1229, allocations: 3.938 kB / 0.5638 GB, free: 4.797 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.365e-05/0.1229, allocations: 0 / 0.5638 GB, free: 4.797 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.1229, allocations: 7.938 kB / 0.5638 GB, free: 4.789 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.224e-05/0.1229, allocations: 0 / 0.5638 GB, free: 4.789 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-06/0.1229, allocations: 0 / 0.5638 GB, free: 4.789 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 8.339e-05/0.123, allocations: 190.6 kB / 0.564 GB, free: 4.594 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.969e-05/0.1231, allocations: 109 kB / 0.5641 GB, free: 4.48 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.233e-05/0.1231, allocations: 108.2 kB / 0.5642 GB, free: 4.371 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-05/0.1232, allocations: 180.3 kB / 0.5644 GB, free: 4.188 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.486e-05/0.1232, allocations: 180.3 kB / 0.5646 GB, free: 4.004 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-05/0.1233, allocations: 188.2 kB / 0.5648 GB, free: 3.812 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001966/0.1235, allocations: 405.2 kB / 0.5651 GB, free: 3.359 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.081e-05/0.1235, allocations: 108.9 kB / 0.5652 GB, free: 3.246 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.83e-05/0.1236, allocations: 109 kB / 0.5654 GB, free: 3.133 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.433e-05/0.1236, allocations: 176.3 kB / 0.5655 GB, free: 2.953 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.181e-05/0.1237, allocations: 184.2 kB / 0.5657 GB, free: 2.766 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.329e-05/0.1237, allocations: 184.2 kB / 0.5659 GB, free: 2.578 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-05/0.1238, allocations: 188.2 kB / 0.5661 GB, free: 2.387 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.1239, allocations: 307.8 kB / 0.5663 GB, free: 2.062 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.571e-05/0.124, allocations: 185.9 kB / 0.5665 GB, free: 1.855 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.867e-05/0.124, allocations: 176.3 kB / 0.5667 GB, free: 1.676 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.841e-05/0.1241, allocations: 120.9 kB / 0.5668 GB, free: 1.551 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.459e-05/0.1242, allocations: 176.3 kB / 0.567 GB, free: 1.371 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.79e-05/0.1242, allocations: 101 kB / 0.5671 GB, free: 1.266 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.207e-05/0.1243, allocations: 79.28 kB / 0.5671 GB, free: 1.188 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1243, allocations: 3.938 kB / 0.5671 GB, free: 1.184 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000234/0.1245, allocations: 23.98 kB / 0.5672 GB, free: 1.16 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.0005453/0.1251, allocations: 0.8638 MB / 0.568 GB, free: 284 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 4.675e-05/0.1251, allocations: 8 kB / 0.568 GB, free: 276 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1251, allocations: 0 / 0.568 GB, free: 276 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.986e-06/0.1251, allocations: 3.938 kB / 0.568 GB, free: 272 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.1255, allocations: 0.5165 MB / 0.5685 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004189/0.1259, allocations: 236 kB / 0.5688 GB, free: 15.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002005/0.1261, allocations: 0.6731 MB / 0.5694 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.007e-05/0.1261, allocations: 3.938 kB / 0.5694 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.579e-05/0.1262, allocations: 11.44 kB / 0.5694 GB, free: 14.76 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1262, allocations: 0 / 0.5694 GB, free: 14.76 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9056/1.032, allocations: 1.334 MB / 0.5707 GB, free: 13.65 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002707/1.032, allocations: 311.1 kB / 0.571 GB, free: 13.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.045/3.077, allocations: 0 / 0.571 GB, free: 13.27 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)