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.001344/0.001349, allocations: 103.4 kB / 16.4 MB, free: 6.5 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.001347/0.001348, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.261/1.261, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6813/0.6813, allocations: 115.3 MB / 406.5 MB, free: 6.23 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 65.7 kB / 0.5572 GB, free: 32.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1387, allocations: 76.17 MB / 0.6316 GB, free: 4.914 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001518/0.1402, allocations: 0.5576 MB / 0.6322 GB, free: 4.359 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.1415, allocations: 1.003 MB / 0.6332 GB, free: 3.34 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.656e-05/0.1415, allocations: 0 / 0.6332 GB, free: 3.34 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.276e-05/0.1416, allocations: 3.938 kB / 0.6332 GB, free: 3.336 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006467/0.1422, allocations: 95.77 kB / 0.6333 GB, free: 3.242 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.245e-05/0.1423, allocations: 7.938 kB / 0.6333 GB, free: 3.234 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.784e-05/0.1423, allocations: 7.984 kB / 0.6333 GB, free: 3.227 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.134e-05/0.1424, allocations: 4 kB / 0.6333 GB, free: 3.223 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.775e-05/0.1424, allocations: 4 kB / 0.6333 GB, free: 3.219 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002076/0.1426, allocations: 28.62 kB / 0.6333 GB, free: 3.191 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.227e-06/0.1426, allocations: 4 kB / 0.6333 GB, free: 3.188 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001697/0.1428, allocations: 83.91 kB / 0.6334 GB, free: 3.105 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.112e-05/0.1428, allocations: 4 kB / 0.6334 GB, free: 3.102 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.954e-05/0.1428, allocations: 11.88 kB / 0.6334 GB, free: 3.09 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.143, allocations: 70.72 kB / 0.6335 GB, free: 3.023 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.143, allocations: 0 / 0.6335 GB, free: 3.023 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.143, allocations: 0 / 0.6335 GB, free: 3.023 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.143, allocations: 0 / 0.6335 GB, free: 3.023 MB / 478.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.000339/0.1433, allocations: 331.6 kB / 0.6338 GB, free: 2.652 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.1434, allocations: 8.031 kB / 0.6338 GB, free: 2.645 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.039e-05/0.1434, allocations: 34.75 kB / 0.6338 GB, free: 2.602 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.166e-05/0.1435, allocations: 0.9375 kB / 0.6338 GB, free: 2.602 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.1436, allocations: 172.3 kB / 0.634 GB, free: 2.395 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.1436, allocations: 384 / 0.634 GB, free: 2.395 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.112e-06/0.1436, allocations: 4.312 kB / 0.634 GB, free: 2.391 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.988e-05/0.1437, allocations: 33.64 kB / 0.634 GB, free: 2.352 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.1437, allocations: 0 / 0.634 GB, free: 2.352 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.1437, allocations: 0 / 0.634 GB, free: 2.352 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1437, allocations: 0 / 0.634 GB, free: 2.352 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.929e-05/0.1437, allocations: 11.92 kB / 0.634 GB, free: 2.34 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003985/0.1441, allocations: 472.6 kB / 0.6345 GB, free: 1.809 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.993e-05/0.1442, allocations: 165.1 kB / 0.6346 GB, free: 1.637 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.957e-05/0.1443, allocations: 80.14 kB / 0.6347 GB, free: 1.555 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/0.1443, allocations: 79.28 kB / 0.6348 GB, free: 1.477 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.597e-05/0.1444, allocations: 113.8 kB / 0.6349 GB, free: 1.355 MB / 478.1 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.1444, allocations: 0 / 0.6349 GB, free: 1.355 MB / 478.1 MB Notification: Performance of matching and sorting (n=0): time 6.606e-05/0.1444, allocations: 25.7 kB / 0.6349 GB, free: 1.324 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.359e-05/0.1445, allocations: 126.7 kB / 0.6351 GB, free: 1.188 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.543e-05/0.1446, allocations: 101.8 kB / 0.6352 GB, free: 1.078 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.1446, allocations: 29.7 kB / 0.6352 GB, free: 1.043 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.249e-05/0.1447, allocations: 84.14 kB / 0.6353 GB, free: 0.957 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.294e-06/0.1447, allocations: 3.938 kB / 0.6353 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/0.1447, allocations: 13.72 kB / 0.6353 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.1448, allocations: 318.8 kB / 0.6356 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.045e-05/0.1448, allocations: 4 kB / 0.6356 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.34e-06/0.1448, allocations: 0 / 0.6356 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.744e-05/0.1449, allocations: 16.78 kB / 0.6356 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1449, allocations: 0 / 0.6356 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001015/0.145, allocations: 33.77 kB / 0.6356 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.145, allocations: 9.562 kB / 0.6356 GB, free: 0.543 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.145, allocations: 0 / 0.6356 GB, free: 0.543 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.145, allocations: 0 / 0.6356 GB, free: 0.543 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.494e-05/0.1451, allocations: 0 / 0.6356 GB, free: 0.543 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.1451, allocations: 0 / 0.6356 GB, free: 0.543 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.303e-05/0.1451, allocations: 0.5625 kB / 0.6356 GB, free: 0.543 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.1451, allocations: 4 kB / 0.6356 GB, free: 0.5391 MB / 478.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.647e-05/0.1452, allocations: 197.1 kB / 0.6358 GB, free: 344 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.194e-05/0.1453, allocations: 104.9 kB / 0.6359 GB, free: 232 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.491e-05/0.1453, allocations: 104.1 kB / 0.636 GB, free: 120 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.153e-05/0.1454, allocations: 184.2 kB / 0.6362 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.255e-05/0.1455, allocations: 180.2 kB / 0.6364 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.594e-05/0.1455, allocations: 184.2 kB / 0.6366 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.1457, allocations: 409.1 kB / 0.6369 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.25e-05/0.1458, allocations: 101 kB / 0.637 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.399e-05/0.1458, allocations: 108.9 kB / 0.6371 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.59e-05/0.1459, allocations: 184.5 kB / 0.6373 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.421e-05/0.146, allocations: 180.3 kB / 0.6375 GB, free: 14.51 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.467e-05/0.146, allocations: 184.2 kB / 0.6377 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.528e-05/0.1461, allocations: 180.3 kB / 0.6378 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.1462, allocations: 315.6 kB / 0.6381 GB, free: 13.81 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.696e-05/0.1463, allocations: 178.1 kB / 0.6383 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.809e-05/0.1464, allocations: 184.2 kB / 0.6385 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.546e-05/0.1465, allocations: 105 kB / 0.6386 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.99e-05/0.1465, allocations: 184.2 kB / 0.6388 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/0.1466, allocations: 101 kB / 0.6389 GB, free: 13.02 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.989e-05/0.1466, allocations: 83.28 kB / 0.6389 GB, free: 12.94 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1466, allocations: 0 / 0.6389 GB, free: 12.94 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002533/0.1469, allocations: 28.2 kB / 0.639 GB, free: 12.91 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.0006123/0.1475, allocations: 0.8686 MB / 0.6398 GB, free: 12.02 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.33e-05/0.1476, allocations: 4 kB / 0.6398 GB, free: 12.02 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.1476, allocations: 4.062 kB / 0.6398 GB, free: 12.01 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.233e-06/0.1476, allocations: 0 / 0.6398 GB, free: 12.01 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.1479, allocations: 465.3 kB / 0.6403 GB, free: 11.56 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005017/0.1485, allocations: 237.9 kB / 0.6405 GB, free: 11.29 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.1487, allocations: 0.6729 MB / 0.6412 GB, free: 10.59 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.48e-05/0.1487, allocations: 4 kB / 0.6412 GB, free: 10.58 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.693e-05/0.1488, allocations: 11.44 kB / 0.6412 GB, free: 10.57 MB / 494.1 MB Notification: Performance of SimCode: time 1.503e-06/0.1488, allocations: 0 / 0.6412 GB, free: 10.57 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01881/0.1676, allocations: 1.563 MB / 0.6427 GB, free: 9.199 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.391/7.559, allocations: 4.656 kB / 0.6427 GB, free: 9.195 MB / 494.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)