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.001594/0.001594, allocations: 106 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.001718/0.001718, allocations: 189.2 kB / 17.34 MB, free: 5.734 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.348/1.348, 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.7867/0.7867, allocations: 125.4 MB / 416.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002252/0.002252, allocations: 73.42 kB / 0.5717 GB, free: 27.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1263, allocations: 78.57 MB / 0.6484 GB, free: 5.609 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002846/0.1292, allocations: 1.421 MB / 0.6498 GB, free: 4.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004528/0.1337, allocations: 2.858 MB / 0.6526 GB, free: 1.309 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.801e-05/0.1338, allocations: 0 / 0.6526 GB, free: 1.309 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.365e-05/0.1339, allocations: 7.922 kB / 0.6526 GB, free: 1.301 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.28e-05/0.1339, allocations: 11.86 kB / 0.6526 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003838/0.1378, allocations: 1.562 MB / 0.6542 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.859e-05/0.1379, allocations: 47.67 kB / 0.6542 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.465e-05/0.1379, allocations: 4 kB / 0.6542 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.862e-05/0.138, allocations: 11.94 kB / 0.6542 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.027e-05/0.138, allocations: 19.92 kB / 0.6542 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.876e-06/0.138, allocations: 0 / 0.6542 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002117/0.1401, allocations: 1.486 MB / 0.6557 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.199e-05/0.1402, allocations: 11.92 kB / 0.6557 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.772e-05/0.1402, allocations: 15.88 kB / 0.6557 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001425/0.1416, allocations: 1.079 MB / 0.6568 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.1416, allocations: 4 kB / 0.6568 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1417, allocations: 0 / 0.6568 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.1417, allocations: 0 / 0.6568 GB, free: 13.06 MB / 0.4981 GB 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.0005945/0.1423, allocations: 0.5324 MB / 0.6573 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.1423, allocations: 11.98 kB / 0.6573 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.437e-05/0.1424, allocations: 114 kB / 0.6574 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.556e-05/0.1424, allocations: 80.22 kB / 0.6575 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.1426, allocations: 255.5 kB / 0.6577 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.073e-05/0.1427, allocations: 158.5 kB / 0.6579 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.51e-05/0.1427, allocations: 154.6 kB / 0.658 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.121e-05/0.1428, allocations: 101 kB / 0.6581 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.492e-05/0.1429, allocations: 79.28 kB / 0.6582 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.643e-05/0.1429, allocations: 150.6 kB / 0.6583 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.977e-05/0.143, allocations: 154.5 kB / 0.6585 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.964e-05/0.143, allocations: 154.6 kB / 0.6586 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003105/0.1434, allocations: 469.8 kB / 0.6591 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.31e-05/0.1435, allocations: 165.1 kB / 0.6592 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.511e-05/0.1435, allocations: 84.12 kB / 0.6593 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.1435, allocations: 79.28 kB / 0.6594 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.002e-05/0.1436, allocations: 109.8 kB / 0.6595 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.1436, allocations: 4 kB / 0.6595 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.089e-05/0.1437, allocations: 33.59 kB / 0.6595 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/0.1437, allocations: 126.7 kB / 0.6597 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.1439, allocations: 128 kB / 0.6598 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.1439, allocations: 33.7 kB / 0.6598 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.008e-05/0.144, allocations: 92.08 kB / 0.6599 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.144, allocations: 0 / 0.6599 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.144, allocations: 17.7 kB / 0.6599 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.1441, allocations: 322.8 kB / 0.6602 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.045e-05/0.1442, allocations: 4 kB / 0.6602 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.402e-05/0.1442, allocations: 3.984 kB / 0.6602 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.682e-05/0.1442, allocations: 16.86 kB / 0.6602 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1442, allocations: 4.031 kB / 0.6603 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000113/0.1443, allocations: 49.59 kB / 0.6603 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.1444, allocations: 4 kB / 0.6603 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/0.1444, allocations: 7.984 kB / 0.6603 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.1444, allocations: 0 / 0.6603 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.1444, allocations: 0 / 0.6603 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.1444, allocations: 0 / 0.6603 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.916e-05/0.1444, allocations: 4.047 kB / 0.6603 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.361e-06/0.1444, allocations: 0 / 0.6603 GB, free: 9.176 MB / 0.4981 GB 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 0.0001032/0.1446, allocations: 193.1 kB / 0.6605 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.838e-05/0.1446, allocations: 108.9 kB / 0.6606 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.937e-05/0.1447, allocations: 120.8 kB / 0.6607 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.815e-05/0.1448, allocations: 176.3 kB / 0.6609 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.118e-05/0.1448, allocations: 180.2 kB / 0.6611 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.939e-05/0.1449, allocations: 176.3 kB / 0.6612 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002562/0.1452, allocations: 425.1 kB / 0.6616 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.856e-05/0.1453, allocations: 112.9 kB / 0.6617 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.966e-05/0.1453, allocations: 101 kB / 0.6618 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.856e-05/0.1454, allocations: 184.2 kB / 0.662 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.028e-05/0.1454, allocations: 176.3 kB / 0.6622 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.706e-05/0.1455, allocations: 176.3 kB / 0.6623 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.661e-05/0.1456, allocations: 188.2 kB / 0.6625 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/0.1457, allocations: 311.7 kB / 0.6628 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.264e-05/0.1458, allocations: 182 kB / 0.663 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.993e-05/0.1459, allocations: 184.2 kB / 0.6632 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.973e-05/0.146, allocations: 117 kB / 0.6633 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.352e-05/0.1461, allocations: 176.3 kB / 0.6635 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.122e-05/0.1462, allocations: 104.9 kB / 0.6636 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.31e-05/0.1462, allocations: 96.98 kB / 0.6636 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1462, allocations: 7.938 kB / 0.6637 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006799/0.1469, allocations: 283 kB / 0.6639 GB, free: 5.25 MB / 0.4981 GB 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.001293/0.1482, allocations: 1.155 MB / 0.6651 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.942e-05/0.1483, allocations: 45.62 kB / 0.6651 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1483, allocations: 0 / 0.6651 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.1483, allocations: 64 / 0.6651 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.1488, allocations: 463.7 kB / 0.6655 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.1502, allocations: 1.595 MB / 0.6671 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.1505, allocations: 0.6846 MB / 0.6678 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.391e-05/0.1505, allocations: 4.031 kB / 0.6678 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.374e-05/0.1506, allocations: 11.44 kB / 0.6678 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of SimCode: time 3.71e-07/0.1506, allocations: 0 / 0.6678 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1317/0.2823, allocations: 6.883 MB / 0.6745 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.476/8.758, allocations: 13.89 kB / 0.6745 GB, free: 10.48 MB / 0.5137 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)