Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.001147/0.001147, allocations: 103 kB / 16.4 MB, free: 6.453 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.001147/0.001147, allocations: 195.9 kB / 17.34 MB, free: 5.719 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.262/1.262, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6791/0.6791, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 72.64 kB / 0.5573 GB, free: 32.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1254, allocations: 76.18 MB / 0.6317 GB, free: 4.879 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002538/0.1279, allocations: 1.418 MB / 0.6331 GB, free: 3.449 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004352/0.1323, allocations: 2.907 MB / 0.6359 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.265e-05/0.1324, allocations: 0 / 0.6359 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.429e-05/0.1324, allocations: 7.922 kB / 0.6359 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.017e-05/0.1326, allocations: 11.86 kB / 0.6359 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004071/0.1366, allocations: 1.595 MB / 0.6375 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.1368, allocations: 43.67 kB / 0.6375 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.546e-05/0.1368, allocations: 4 kB / 0.6375 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.051e-05/0.1369, allocations: 11.94 kB / 0.6375 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.343e-05/0.1369, allocations: 19.92 kB / 0.6375 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.1369, allocations: 0 / 0.6375 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002559/0.1395, allocations: 1.529 MB / 0.639 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.645e-05/0.1395, allocations: 11.94 kB / 0.639 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.671e-05/0.1396, allocations: 23.86 kB / 0.6391 GB, free: 13.28 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001729/0.1413, allocations: 1.116 MB / 0.6402 GB, free: 12.16 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1413, allocations: 0 / 0.6402 GB, free: 12.16 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1413, allocations: 0 / 0.6402 GB, free: 12.16 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1413, allocations: 0 / 0.6402 GB, free: 12.16 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007636/0.1421, allocations: 0.5223 MB / 0.6407 GB, free: 11.59 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.1422, allocations: 8.031 kB / 0.6407 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.735e-05/0.1422, allocations: 106 kB / 0.6408 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.153e-05/0.1423, allocations: 84.22 kB / 0.6409 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.1425, allocations: 255.4 kB / 0.6411 GB, free: 11.1 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.33e-05/0.1426, allocations: 150.9 kB / 0.6412 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.894e-05/0.1426, allocations: 154.9 kB / 0.6414 GB, free: 10.8 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.916e-05/0.1427, allocations: 104.9 kB / 0.6415 GB, free: 10.69 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.405e-05/0.1427, allocations: 79.28 kB / 0.6416 GB, free: 10.61 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.699e-05/0.1428, allocations: 158.6 kB / 0.6417 GB, free: 10.46 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.744e-05/0.1429, allocations: 154.5 kB / 0.6419 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.781e-05/0.1429, allocations: 150.6 kB / 0.642 GB, free: 10.16 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003175/0.1433, allocations: 461.9 kB / 0.6425 GB, free: 9.656 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.881e-05/0.1434, allocations: 173.1 kB / 0.6426 GB, free: 9.477 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.38e-05/0.1434, allocations: 80.14 kB / 0.6427 GB, free: 9.395 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.1434, allocations: 79.22 kB / 0.6428 GB, free: 9.316 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.695e-05/0.1435, allocations: 105.8 kB / 0.6429 GB, free: 9.203 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.1435, allocations: 4 kB / 0.6429 GB, free: 9.199 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 8.863e-05/0.1436, allocations: 33.64 kB / 0.6429 GB, free: 9.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.599e-05/0.1437, allocations: 134.7 kB / 0.643 GB, free: 9.016 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.1438, allocations: 135.8 kB / 0.6432 GB, free: 8.875 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.1439, allocations: 25.7 kB / 0.6432 GB, free: 8.844 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.181e-05/0.1439, allocations: 92.12 kB / 0.6433 GB, free: 8.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.995e-06/0.1439, allocations: 4 kB / 0.6433 GB, free: 8.746 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/0.144, allocations: 17.75 kB / 0.6433 GB, free: 8.723 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.1441, allocations: 322.8 kB / 0.6436 GB, free: 8.398 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.746e-05/0.1441, allocations: 8 kB / 0.6436 GB, free: 8.391 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.627e-05/0.1442, allocations: 8.062 kB / 0.6436 GB, free: 8.383 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.353e-05/0.1442, allocations: 20.84 kB / 0.6436 GB, free: 8.359 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1442, allocations: 4 kB / 0.6436 GB, free: 8.355 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001411/0.1444, allocations: 53.48 kB / 0.6437 GB, free: 8.297 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1444, allocations: 8 kB / 0.6437 GB, free: 8.289 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/0.1444, allocations: 3.984 kB / 0.6437 GB, free: 8.285 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.1444, allocations: 4 kB / 0.6437 GB, free: 8.281 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.482e-06/0.1444, allocations: 0 / 0.6437 GB, free: 8.281 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.1444, allocations: 0 / 0.6437 GB, free: 8.281 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.482e-05/0.1445, allocations: 4.062 kB / 0.6437 GB, free: 8.277 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.1445, allocations: 0 / 0.6437 GB, free: 8.277 MB / 494.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 9.297e-05/0.1446, allocations: 189.1 kB / 0.6439 GB, free: 8.082 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.823e-05/0.1446, allocations: 108.8 kB / 0.644 GB, free: 7.969 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.527e-05/0.1447, allocations: 116.8 kB / 0.6441 GB, free: 7.844 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.034e-05/0.1448, allocations: 176.3 kB / 0.6443 GB, free: 7.664 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.699e-05/0.1448, allocations: 184.2 kB / 0.6445 GB, free: 7.477 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.708e-05/0.1449, allocations: 184.2 kB / 0.6446 GB, free: 7.289 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.1451, allocations: 413.2 kB / 0.645 GB, free: 6.828 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.582e-05/0.1451, allocations: 108.9 kB / 0.6451 GB, free: 6.715 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.547e-05/0.1452, allocations: 104.9 kB / 0.6452 GB, free: 6.605 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.346e-05/0.1452, allocations: 180.2 kB / 0.6454 GB, free: 6.422 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-05/0.1453, allocations: 184.2 kB / 0.6456 GB, free: 6.234 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.996e-05/0.1454, allocations: 180.3 kB / 0.6457 GB, free: 6.051 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.575e-05/0.1454, allocations: 180.2 kB / 0.6459 GB, free: 5.867 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/0.1456, allocations: 315.6 kB / 0.6462 GB, free: 5.535 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.1458, allocations: 186.1 kB / 0.6464 GB, free: 5.328 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.091e-05/0.1458, allocations: 184.3 kB / 0.6466 GB, free: 5.141 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.38e-05/0.1459, allocations: 108.9 kB / 0.6467 GB, free: 5.027 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.558e-05/0.146, allocations: 184.2 kB / 0.6469 GB, free: 4.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-05/0.146, allocations: 104.9 kB / 0.647 GB, free: 4.73 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.737e-05/0.1461, allocations: 96.83 kB / 0.647 GB, free: 4.637 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1461, allocations: 4 kB / 0.647 GB, free: 4.633 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007512/0.1468, allocations: 283.8 kB / 0.6473 GB, free: 4.355 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.001493/0.1483, allocations: 1.175 MB / 0.6485 GB, free: 3.152 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001117/0.1485, allocations: 37.7 kB / 0.6485 GB, free: 3.109 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1485, allocations: 3.938 kB / 0.6485 GB, free: 3.105 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.655e-06/0.1485, allocations: 3.938 kB / 0.6485 GB, free: 3.102 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.1489, allocations: 460.4 kB / 0.649 GB, free: 2.648 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.1504, allocations: 1.6 MB / 0.6505 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.1506, allocations: 0.6807 MB / 0.6512 GB, free: 268 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.609e-05/0.1507, allocations: 0 / 0.6512 GB, free: 268 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.191e-05/0.1507, allocations: 23.42 kB / 0.6512 GB, free: 244 kB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1507, allocations: 0 / 0.6512 GB, free: 244 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0246/0.1753, allocations: 7.084 MB / 0.6581 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.604/7.78, allocations: 27.55 kB / 0.6581 GB, free: 9.344 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)