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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.001173/0.001173, allocations: 102.1 kB / 16.4 MB, free: 6.508 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.001194/0.001194, allocations: 192 kB / 17.34 MB, free: 5.738 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7441/0.7441, allocations: 122.9 MB / 414.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 64.12 kB / 0.568 GB, free: 28.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1332, allocations: 77.94 MB / 0.6441 GB, free: 9.504 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002521/0.1357, allocations: 1.421 MB / 0.6455 GB, free: 8.074 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004095/0.1399, allocations: 2.904 MB / 0.6484 GB, free: 5.152 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.688e-05/0.1399, allocations: 0 / 0.6484 GB, free: 5.152 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.707e-05/0.14, allocations: 0 / 0.6484 GB, free: 5.152 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.14e-05/0.14, allocations: 19.8 kB / 0.6484 GB, free: 5.133 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00372/0.1438, allocations: 1.593 MB / 0.6499 GB, free: 3.551 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.017e-05/0.1438, allocations: 43.67 kB / 0.65 GB, free: 3.508 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.618e-05/0.1439, allocations: 4 kB / 0.65 GB, free: 3.504 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.434e-05/0.1439, allocations: 11.94 kB / 0.65 GB, free: 3.492 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.647e-05/0.144, allocations: 23.86 kB / 0.65 GB, free: 3.469 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.726e-06/0.144, allocations: 3.938 kB / 0.65 GB, free: 3.465 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001999/0.146, allocations: 1.537 MB / 0.6515 GB, free: 1.926 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.015e-05/0.146, allocations: 0 / 0.6515 GB, free: 1.926 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.842e-05/0.146, allocations: 23.88 kB / 0.6515 GB, free: 1.902 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.1473, allocations: 1.115 MB / 0.6526 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1473, allocations: 3.938 kB / 0.6526 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.1473, allocations: 3.938 kB / 0.6526 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.1473, allocations: 0 / 0.6526 GB, free: 0.7773 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.000523/0.1478, allocations: 0.5286 MB / 0.6532 GB, free: 204 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.1479, allocations: 8.625 kB / 0.6532 GB, free: 196 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.277e-05/0.1479, allocations: 106 kB / 0.6533 GB, free: 80 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.876e-05/0.148, allocations: 84.17 kB / 0.6533 GB, free: 16 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.1481, allocations: 251.6 kB / 0.6536 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.585e-05/0.1482, allocations: 150.9 kB / 0.6537 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.529e-05/0.1482, allocations: 154.9 kB / 0.6539 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.371e-05/0.1483, allocations: 112.9 kB / 0.654 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/0.1483, allocations: 79.28 kB / 0.6541 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.553e-05/0.1484, allocations: 158.5 kB / 0.6542 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.931e-05/0.1484, allocations: 150.6 kB / 0.6544 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.248e-05/0.1485, allocations: 150.6 kB / 0.6545 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002555/0.1487, allocations: 461.9 kB / 0.6549 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.829e-05/0.1488, allocations: 169.1 kB / 0.6551 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.607e-05/0.1488, allocations: 80.14 kB / 0.6552 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.902e-05/0.1489, allocations: 83.16 kB / 0.6553 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.1489, allocations: 109.8 kB / 0.6554 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.1489, allocations: 0 / 0.6554 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.948e-05/0.149, allocations: 33.66 kB / 0.6554 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.149, allocations: 130.7 kB / 0.6555 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.1492, allocations: 132 kB / 0.6556 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.1492, allocations: 29.69 kB / 0.6557 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.273e-05/0.1492, allocations: 96.09 kB / 0.6558 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-06/0.1492, allocations: 0 / 0.6558 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.1493, allocations: 13.77 kB / 0.6558 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.556e-05/0.1494, allocations: 326.8 kB / 0.6561 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.131e-05/0.1494, allocations: 4 kB / 0.6561 GB, free: 13 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.796e-05/0.1494, allocations: 11.94 kB / 0.6561 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.537e-05/0.1495, allocations: 20.89 kB / 0.6561 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1495, allocations: 0 / 0.6561 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001106/0.1496, allocations: 49.62 kB / 0.6562 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.1496, allocations: 8 kB / 0.6562 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/0.1496, allocations: 4 kB / 0.6562 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.1497, allocations: 0 / 0.6562 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.893e-06/0.1497, allocations: 7.922 kB / 0.6562 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.1497, allocations: 0 / 0.6562 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.222e-05/0.1497, allocations: 3.953 kB / 0.6562 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.1497, allocations: 4 kB / 0.6562 GB, free: 12.89 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 7.978e-05/0.1498, allocations: 185.2 kB / 0.6564 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.607e-05/0.1499, allocations: 120.8 kB / 0.6565 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.397e-05/0.1499, allocations: 108.9 kB / 0.6566 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-05/0.15, allocations: 180.2 kB / 0.6568 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.656e-05/0.15, allocations: 184.2 kB / 0.6569 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-05/0.1501, allocations: 184.2 kB / 0.6571 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/0.1503, allocations: 421.1 kB / 0.6575 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.888e-05/0.1503, allocations: 101 kB / 0.6576 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.669e-05/0.1503, allocations: 104.9 kB / 0.6577 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-05/0.1504, allocations: 176.3 kB / 0.6579 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.412e-05/0.1505, allocations: 188.2 kB / 0.6581 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-05/0.1505, allocations: 180.2 kB / 0.6582 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-05/0.1506, allocations: 176.3 kB / 0.6584 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.1507, allocations: 307.7 kB / 0.6587 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.216e-05/0.1507, allocations: 194 kB / 0.6589 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.226e-05/0.1508, allocations: 192.3 kB / 0.6591 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.335e-05/0.1509, allocations: 101 kB / 0.6592 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.1509, allocations: 184.2 kB / 0.6593 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.914e-05/0.151, allocations: 101 kB / 0.6594 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.96e-05/0.151, allocations: 101 kB / 0.6595 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.151, allocations: 0 / 0.6595 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006455/0.1517, allocations: 291 kB / 0.6598 GB, free: 8.961 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.001165/0.1528, allocations: 1.192 MB / 0.661 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.814e-05/0.1529, allocations: 45.69 kB / 0.661 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.153, allocations: 0 / 0.661 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.783e-06/0.153, allocations: 368 / 0.661 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.1533, allocations: 459.7 kB / 0.6615 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.1545, allocations: 1.611 MB / 0.663 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/0.1547, allocations: 0.6807 MB / 0.6637 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.181e-05/0.1547, allocations: 0 / 0.6637 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.416e-05/0.1548, allocations: 19.95 kB / 0.6637 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1548, allocations: 3.938 kB / 0.6637 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02253/0.1773, allocations: 7.091 MB / 0.6706 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.894/8.071, allocations: 10.62 kB / 0.6707 GB, free: 13.93 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)