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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",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.001131/0.001131, allocations: 108.3 kB / 16.4 MB, free: 6.434 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.001281/0.001281, allocations: 192.8 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.278/1.278, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6952/0.6952, allocations: 115.3 MB / 406.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 61.95 kB / 0.5573 GB, free: 32.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1326, allocations: 76.18 MB / 0.6317 GB, free: 4.984 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002534/0.1352, allocations: 1.421 MB / 0.633 GB, free: 3.555 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004108/0.1394, allocations: 2.856 MB / 0.6358 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.74e-05/0.1395, allocations: 0 / 0.6358 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.334e-05/0.1395, allocations: 7.922 kB / 0.6358 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.305e-05/0.1396, allocations: 15.88 kB / 0.6359 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00403/0.1437, allocations: 1.563 MB / 0.6374 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.1438, allocations: 43.73 kB / 0.6374 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.088e-05/0.1438, allocations: 0 / 0.6374 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.425e-05/0.1439, allocations: 15.94 kB / 0.6374 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.161e-05/0.1439, allocations: 19.91 kB / 0.6375 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.1439, allocations: 4 kB / 0.6375 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002441/0.1464, allocations: 1.482 MB / 0.6389 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.654e-05/0.1464, allocations: 11.92 kB / 0.6389 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.598e-05/0.1465, allocations: 15.88 kB / 0.6389 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001791/0.1482, allocations: 1.085 MB / 0.64 GB, free: 12.43 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1483, allocations: 0 / 0.64 GB, free: 12.43 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.607e-06/0.1483, allocations: 0 / 0.64 GB, free: 12.43 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.1483, allocations: 3.938 kB / 0.64 GB, free: 12.43 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.0006821/0.149, allocations: 0.5145 MB / 0.6405 GB, free: 11.86 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.149, allocations: 12.03 kB / 0.6405 GB, free: 11.85 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.393e-05/0.1491, allocations: 110 kB / 0.6406 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.229e-05/0.1491, allocations: 80.22 kB / 0.6407 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.1493, allocations: 253.4 kB / 0.6409 GB, free: 11.37 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.378e-05/0.1493, allocations: 150.9 kB / 0.6411 GB, free: 11.22 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.198e-05/0.1494, allocations: 154.9 kB / 0.6412 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.085e-05/0.1495, allocations: 108.9 kB / 0.6413 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.705e-05/0.1495, allocations: 75.28 kB / 0.6414 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.074e-05/0.1496, allocations: 154.6 kB / 0.6416 GB, free: 10.73 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.222e-05/0.1496, allocations: 154.5 kB / 0.6417 GB, free: 10.58 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.116e-05/0.1497, allocations: 150.6 kB / 0.6418 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002816/0.15, allocations: 461.9 kB / 0.6423 GB, free: 9.93 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.202e-05/0.15, allocations: 169.1 kB / 0.6424 GB, free: 9.754 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.557e-05/0.1501, allocations: 92.12 kB / 0.6425 GB, free: 9.66 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/0.1501, allocations: 79.22 kB / 0.6426 GB, free: 9.582 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.281e-05/0.1502, allocations: 109.8 kB / 0.6427 GB, free: 9.465 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 3.216e-06/0.1502, allocations: 3.984 kB / 0.6427 GB, free: 9.461 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 8.482e-05/0.1503, allocations: 29.7 kB / 0.6427 GB, free: 9.426 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/0.1503, allocations: 130.7 kB / 0.6429 GB, free: 9.285 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.1505, allocations: 143.3 kB / 0.643 GB, free: 9.137 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.1505, allocations: 25.7 kB / 0.643 GB, free: 9.105 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.988e-05/0.1506, allocations: 88.14 kB / 0.6431 GB, free: 9.016 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.895e-06/0.1506, allocations: 0 / 0.6431 GB, free: 9.016 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.836e-05/0.1506, allocations: 21.7 kB / 0.6431 GB, free: 8.988 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.669e-05/0.1507, allocations: 310.8 kB / 0.6434 GB, free: 8.676 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.981e-05/0.1508, allocations: 12 kB / 0.6434 GB, free: 8.664 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.869e-05/0.1508, allocations: 7.984 kB / 0.6435 GB, free: 8.656 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.731e-05/0.1508, allocations: 12.84 kB / 0.6435 GB, free: 8.641 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1508, allocations: 3.938 kB / 0.6435 GB, free: 8.637 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000129/0.151, allocations: 53.55 kB / 0.6435 GB, free: 8.578 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.151, allocations: 4 kB / 0.6435 GB, free: 8.574 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.327e-05/0.151, allocations: 7.984 kB / 0.6435 GB, free: 8.566 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.151, allocations: 0 / 0.6435 GB, free: 8.566 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-06/0.151, allocations: 0 / 0.6435 GB, free: 8.566 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.151, allocations: 0 / 0.6435 GB, free: 8.566 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.142e-05/0.1511, allocations: 4.062 kB / 0.6435 GB, free: 8.562 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.1511, allocations: 0 / 0.6435 GB, free: 8.562 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.45e-05/0.1512, allocations: 189.1 kB / 0.6437 GB, free: 8.367 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.962e-05/0.1513, allocations: 120.8 kB / 0.6438 GB, free: 8.242 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.619e-05/0.1513, allocations: 108.8 kB / 0.6439 GB, free: 8.125 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.971e-05/0.1514, allocations: 180.2 kB / 0.6441 GB, free: 7.941 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.367e-05/0.1514, allocations: 184.3 kB / 0.6443 GB, free: 7.754 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.075e-05/0.1515, allocations: 176.3 kB / 0.6444 GB, free: 7.574 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.1517, allocations: 417.1 kB / 0.6448 GB, free: 7.109 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.18e-05/0.1517, allocations: 109 kB / 0.645 GB, free: 6.996 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.215e-05/0.1518, allocations: 104.9 kB / 0.6451 GB, free: 6.887 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.755e-05/0.1518, allocations: 176.3 kB / 0.6452 GB, free: 6.707 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.341e-05/0.1519, allocations: 180.3 kB / 0.6454 GB, free: 6.523 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.242e-05/0.1519, allocations: 184.2 kB / 0.6456 GB, free: 6.336 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.137e-05/0.152, allocations: 180.3 kB / 0.6457 GB, free: 6.152 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.1521, allocations: 307.7 kB / 0.646 GB, free: 5.828 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.689e-05/0.1522, allocations: 194 kB / 0.6462 GB, free: 5.613 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.139e-05/0.1523, allocations: 180.2 kB / 0.6464 GB, free: 5.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-05/0.1523, allocations: 113 kB / 0.6465 GB, free: 5.312 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.386e-05/0.1524, allocations: 184.2 kB / 0.6467 GB, free: 5.125 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.798e-05/0.1524, allocations: 101 kB / 0.6468 GB, free: 5.02 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.694e-05/0.1525, allocations: 97.3 kB / 0.6469 GB, free: 4.926 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1525, allocations: 4 kB / 0.6469 GB, free: 4.922 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007579/0.1533, allocations: 279.8 kB / 0.6471 GB, free: 4.648 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.001449/0.1547, allocations: 1.167 MB / 0.6483 GB, free: 3.453 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001066/0.1548, allocations: 37.69 kB / 0.6483 GB, free: 3.41 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1548, allocations: 0 / 0.6483 GB, free: 3.41 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.755e-06/0.1548, allocations: 0 / 0.6483 GB, free: 3.41 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.1552, allocations: 460.4 kB / 0.6487 GB, free: 2.957 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.1567, allocations: 1.579 MB / 0.6503 GB, free: 1.297 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.1571, allocations: 0.6846 MB / 0.651 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.734e-05/0.1571, allocations: 0 / 0.651 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.919e-05/0.1571, allocations: 17.5 kB / 0.651 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1571, allocations: 0 / 0.651 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02493/0.1821, allocations: 6.901 MB / 0.6577 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.478/7.66, allocations: 20.47 kB / 0.6577 GB, free: 9.859 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)