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.00174/0.00174, allocations: 111.2 kB / 16.4 MB, free: 6.371 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.001843/0.001843, allocations: 191.9 kB / 17.33 MB, free: 5.84 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7482/0.7482, allocations: 122.9 MB / 414 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 72.09 kB / 0.568 GB, free: 28.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1314, allocations: 77.93 MB / 0.6441 GB, free: 9.496 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002346/0.1337, allocations: 1.405 MB / 0.6455 GB, free: 8.082 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004087/0.1379, allocations: 2.861 MB / 0.6483 GB, free: 5.203 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.957e-05/0.1379, allocations: 0 / 0.6483 GB, free: 5.203 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.403e-05/0.138, allocations: 7.922 kB / 0.6483 GB, free: 5.195 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.406e-05/0.138, allocations: 7.875 kB / 0.6483 GB, free: 5.188 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003607/0.1416, allocations: 1.563 MB / 0.6498 GB, free: 3.637 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.176e-05/0.1417, allocations: 51.61 kB / 0.6499 GB, free: 3.586 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.96e-05/0.1418, allocations: 4 kB / 0.6499 GB, free: 3.582 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.761e-05/0.1418, allocations: 11.94 kB / 0.6499 GB, free: 3.57 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.323e-05/0.1419, allocations: 19.91 kB / 0.6499 GB, free: 3.551 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.748e-06/0.1419, allocations: 0 / 0.6499 GB, free: 3.551 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001997/0.1439, allocations: 1.482 MB / 0.6514 GB, free: 2.066 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.406e-05/0.1439, allocations: 7.922 kB / 0.6514 GB, free: 2.059 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.328e-05/0.144, allocations: 19.88 kB / 0.6514 GB, free: 2.039 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001286/0.1452, allocations: 1.083 MB / 0.6524 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1453, allocations: 0 / 0.6524 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1453, allocations: 8 kB / 0.6525 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1453, allocations: 0 / 0.6525 GB, free: 0.9453 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.0005483/0.1458, allocations: 0.5285 MB / 0.653 GB, free: 376 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.1459, allocations: 8.625 kB / 0.653 GB, free: 368 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.317e-05/0.1459, allocations: 114 kB / 0.6531 GB, free: 244 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.001e-05/0.146, allocations: 84.17 kB / 0.6532 GB, free: 160 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.1462, allocations: 249.1 kB / 0.6534 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.952e-05/0.1462, allocations: 158.9 kB / 0.6536 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.904e-05/0.1463, allocations: 154.9 kB / 0.6537 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.559e-05/0.1464, allocations: 108.9 kB / 0.6538 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.213e-05/0.1464, allocations: 75.28 kB / 0.6539 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.731e-05/0.1465, allocations: 154.6 kB / 0.654 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.257e-05/0.1465, allocations: 150.6 kB / 0.6542 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.448e-05/0.1466, allocations: 154.6 kB / 0.6543 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002717/0.1468, allocations: 461.9 kB / 0.6548 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.893e-05/0.1469, allocations: 169.1 kB / 0.6549 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.809e-05/0.147, allocations: 84.12 kB / 0.655 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.147, allocations: 83.22 kB / 0.6551 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.1471, allocations: 109.8 kB / 0.6552 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.1471, allocations: 0 / 0.6552 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.273e-05/0.1471, allocations: 33.59 kB / 0.6552 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.1472, allocations: 134.7 kB / 0.6553 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.1474, allocations: 127.9 kB / 0.6555 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.1474, allocations: 25.7 kB / 0.6555 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.54e-05/0.1474, allocations: 92.14 kB / 0.6556 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-06/0.1474, allocations: 3.938 kB / 0.6556 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.1475, allocations: 21.7 kB / 0.6556 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.1476, allocations: 314.8 kB / 0.6559 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.26e-05/0.1476, allocations: 4 kB / 0.6559 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.613e-05/0.1476, allocations: 7.984 kB / 0.6559 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.894e-05/0.1477, allocations: 12.86 kB / 0.6559 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1477, allocations: 0 / 0.6559 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001209/0.1478, allocations: 61.5 kB / 0.656 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.1478, allocations: 8 kB / 0.656 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/0.1479, allocations: 3.984 kB / 0.656 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.1479, allocations: 0 / 0.656 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.204e-06/0.1479, allocations: 4 kB / 0.656 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.1479, allocations: 0 / 0.656 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.02e-05/0.1479, allocations: 48 / 0.656 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.1479, allocations: 0 / 0.656 GB, free: 13.07 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.000104/0.148, allocations: 189.2 kB / 0.6562 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.642e-05/0.1481, allocations: 112.9 kB / 0.6563 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.707e-05/0.1482, allocations: 116.8 kB / 0.6564 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.511e-05/0.1482, allocations: 180.3 kB / 0.6566 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.319e-05/0.1483, allocations: 176.3 kB / 0.6567 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.697e-05/0.1484, allocations: 184.2 kB / 0.6569 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000238/0.1486, allocations: 413.2 kB / 0.6573 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.285e-05/0.1487, allocations: 108.9 kB / 0.6574 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.389e-05/0.1487, allocations: 109 kB / 0.6575 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.926e-05/0.1488, allocations: 176.3 kB / 0.6577 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.208e-05/0.1488, allocations: 180.2 kB / 0.6579 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.667e-05/0.1489, allocations: 176.3 kB / 0.658 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.75e-05/0.1489, allocations: 192.2 kB / 0.6582 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.1491, allocations: 319.7 kB / 0.6585 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.225e-05/0.1491, allocations: 178.1 kB / 0.6587 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.823e-05/0.1492, allocations: 184.3 kB / 0.6589 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.017e-05/0.1493, allocations: 116.9 kB / 0.659 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.312e-05/0.1494, allocations: 176.3 kB / 0.6591 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.101e-05/0.1494, allocations: 112.9 kB / 0.6592 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.037e-05/0.1495, allocations: 95.27 kB / 0.6593 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.453e-06/0.1495, allocations: 0 / 0.6593 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007019/0.1502, allocations: 286.9 kB / 0.6596 GB, free: 9.137 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.001378/0.1516, allocations: 1.162 MB / 0.6607 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001078/0.1517, allocations: 41.69 kB / 0.6608 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1517, allocations: 3.938 kB / 0.6608 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.783e-06/0.1517, allocations: 0 / 0.6608 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005159/0.1522, allocations: 469.6 kB / 0.6612 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.1536, allocations: 1.59 MB / 0.6628 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.1538, allocations: 0.6846 MB / 0.6635 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.288e-05/0.1538, allocations: 4.031 kB / 0.6635 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.413e-05/0.1539, allocations: 15.44 kB / 0.6635 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.1539, allocations: 0 / 0.6635 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02505/0.1789, allocations: 6.886 MB / 0.6702 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.026/8.205, allocations: 10.69 kB / 0.6702 GB, free: 14.35 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)