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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.00175/0.00175, allocations: 108.2 kB / 16.41 MB, free: 6.469 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.001898/0.001899, allocations: 196 kB / 17.34 MB, free: 5.711 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.431/1.431, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8253/0.8253, allocations: 126.7 MB / 417.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 69.8 kB / 0.5736 GB, free: 27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1373, allocations: 78.86 MB / 0.6506 GB, free: 3.586 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002469/0.1398, allocations: 1.417 MB / 0.652 GB, free: 2.16 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004349/0.1441, allocations: 2.858 MB / 0.6548 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.107e-05/0.1442, allocations: 0 / 0.6548 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.597e-05/0.1442, allocations: 7.922 kB / 0.6548 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.66e-05/0.1443, allocations: 15.86 kB / 0.6548 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00362/0.1479, allocations: 1.561 MB / 0.6564 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.389e-05/0.148, allocations: 47.67 kB / 0.6564 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.536e-05/0.1481, allocations: 4 kB / 0.6564 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.945e-05/0.1481, allocations: 19.92 kB / 0.6564 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.519e-05/0.1481, allocations: 7.938 kB / 0.6564 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.198e-06/0.1482, allocations: 4 kB / 0.6564 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002218/0.1504, allocations: 1.482 MB / 0.6579 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.676e-05/0.1504, allocations: 7.938 kB / 0.6579 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.401e-05/0.1504, allocations: 19.86 kB / 0.6579 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001446/0.1519, allocations: 1.087 MB / 0.659 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1519, allocations: 4 kB / 0.659 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1519, allocations: 0 / 0.659 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.1519, allocations: 0 / 0.659 GB, free: 11.02 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.000616/0.1525, allocations: 0.5246 MB / 0.6595 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.1526, allocations: 12.03 kB / 0.6595 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.168e-05/0.1527, allocations: 110 kB / 0.6596 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.355e-05/0.1527, allocations: 80.22 kB / 0.6597 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.1529, allocations: 259.5 kB / 0.6599 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.952e-05/0.153, allocations: 158.5 kB / 0.6601 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.432e-05/0.1531, allocations: 154.5 kB / 0.6602 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.296e-05/0.1532, allocations: 101 kB / 0.6603 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.403e-05/0.1532, allocations: 75.28 kB / 0.6604 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.208e-05/0.1533, allocations: 150.6 kB / 0.6605 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.042e-05/0.1533, allocations: 154.6 kB / 0.6607 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.322e-05/0.1534, allocations: 154.6 kB / 0.6608 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003373/0.1538, allocations: 461.9 kB / 0.6613 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.1539, allocations: 173.1 kB / 0.6614 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.341e-05/0.1539, allocations: 88.14 kB / 0.6615 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.154, allocations: 79.27 kB / 0.6616 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.965e-05/0.154, allocations: 105.8 kB / 0.6617 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.154, allocations: 0 / 0.6617 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.355e-05/0.1541, allocations: 33.64 kB / 0.6617 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.235e-05/0.1542, allocations: 130.6 kB / 0.6619 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.1543, allocations: 139.6 kB / 0.662 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.1544, allocations: 29.7 kB / 0.662 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.324e-05/0.1544, allocations: 88.14 kB / 0.6621 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.597e-06/0.1544, allocations: 3.984 kB / 0.6621 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.821e-05/0.1545, allocations: 21.7 kB / 0.6621 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1546, allocations: 314.8 kB / 0.6624 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.228e-05/0.1547, allocations: 8 kB / 0.6624 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.51e-05/0.1547, allocations: 4 kB / 0.6624 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.689e-05/0.1547, allocations: 12.84 kB / 0.6624 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1547, allocations: 4.031 kB / 0.6625 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001211/0.1549, allocations: 53.59 kB / 0.6625 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.1549, allocations: 4 kB / 0.6625 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.1549, allocations: 4 kB / 0.6625 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.1549, allocations: 3.984 kB / 0.6625 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.11e-07/0.1549, allocations: 0 / 0.6625 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.1549, allocations: 0 / 0.6625 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/0.155, allocations: 48 / 0.6625 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.155, allocations: 4 kB / 0.6625 GB, free: 7.145 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.0001071/0.1551, allocations: 193.1 kB / 0.6627 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.823e-05/0.1552, allocations: 112.9 kB / 0.6628 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.508e-05/0.1552, allocations: 112.8 kB / 0.6629 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.231e-05/0.1553, allocations: 180.3 kB / 0.6631 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.818e-05/0.1554, allocations: 176.3 kB / 0.6633 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.15e-05/0.1555, allocations: 180.2 kB / 0.6634 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/0.1558, allocations: 421.2 kB / 0.6638 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.72e-05/0.1558, allocations: 108.9 kB / 0.6639 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.224e-05/0.1559, allocations: 101 kB / 0.664 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.617e-05/0.1559, allocations: 176.3 kB / 0.6642 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.48e-05/0.156, allocations: 188.2 kB / 0.6644 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-05/0.1561, allocations: 180.3 kB / 0.6645 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.376e-05/0.1562, allocations: 188.2 kB / 0.6647 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001624/0.1564, allocations: 307.7 kB / 0.665 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.512e-05/0.1565, allocations: 190 kB / 0.6652 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.44e-05/0.1566, allocations: 180.3 kB / 0.6654 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.1567, allocations: 116.9 kB / 0.6655 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.75e-05/0.1568, allocations: 176.3 kB / 0.6657 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-05/0.1568, allocations: 108.9 kB / 0.6658 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.168e-05/0.1569, allocations: 97.3 kB / 0.6659 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1569, allocations: 0 / 0.6659 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000683/0.1576, allocations: 287 kB / 0.6661 GB, free: 3.223 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.001355/0.159, allocations: 1.163 MB / 0.6673 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.312e-05/0.1591, allocations: 37.69 kB / 0.6673 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.1591, allocations: 0 / 0.6673 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.1591, allocations: 8 kB / 0.6673 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.1595, allocations: 459.7 kB / 0.6677 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.161, allocations: 1.586 MB / 0.6693 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.1613, allocations: 0.6885 MB / 0.67 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.258e-05/0.1613, allocations: 0 / 0.67 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.525e-05/0.1613, allocations: 17.33 kB / 0.67 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of SimCode: time 3.11e-07/0.1613, allocations: 0 / 0.67 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03465/0.196, allocations: 6.887 MB / 0.6767 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.247/8.443, allocations: 6.625 kB / 0.6767 GB, free: 8.449 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_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_InternalResistancesOneUTubeNegative.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)