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.0007511/0.000751, allocations: 93.09 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007443/0.0007445, allocations: 171.9 kB / 16.58 MB, free: 5.652 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.183/1.183, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6148/0.6148, allocations: 113.7 MB / 405.4 MB, free: 4.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002725/0.0002725, allocations: 9.406 kB / 493.2 MB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1235, allocations: 77.11 MB / 0.5569 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001199/0.1248, allocations: 1.14 MB / 0.5581 GB, free: 10.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003191/0.128, allocations: 2.645 MB / 0.5606 GB, free: 7.836 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.7e-05/0.128, allocations: 0 / 0.5606 GB, free: 7.836 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.631e-05/0.128, allocations: 7.938 kB / 0.5607 GB, free: 7.828 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.995e-05/0.1281, allocations: 11.86 kB / 0.5607 GB, free: 7.816 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002507/0.1306, allocations: 1.255 MB / 0.5619 GB, free: 6.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.188e-05/0.1306, allocations: 39.73 kB / 0.5619 GB, free: 6.551 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.493e-05/0.1307, allocations: 4 kB / 0.5619 GB, free: 6.547 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.382e-05/0.1307, allocations: 19.92 kB / 0.5619 GB, free: 6.527 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.69e-05/0.1308, allocations: 15.92 kB / 0.562 GB, free: 6.512 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.137e-06/0.1308, allocations: 4 kB / 0.562 GB, free: 6.508 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001543/0.1323, allocations: 1.248 MB / 0.5632 GB, free: 5.258 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.548e-06/0.1323, allocations: 3.938 kB / 0.5632 GB, free: 5.254 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.301e-05/0.1324, allocations: 29.7 kB / 0.5632 GB, free: 5.219 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000744/0.1331, allocations: 0.7138 MB / 0.5639 GB, free: 4.504 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1331, allocations: 0 / 0.5639 GB, free: 4.504 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1331, allocations: 0 / 0.5639 GB, free: 4.504 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1331, allocations: 4 kB / 0.5639 GB, free: 4.5 MB / 430.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.0004448/0.1336, allocations: 0.5067 MB / 0.5644 GB, free: 3.945 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.1336, allocations: 11.98 kB / 0.5644 GB, free: 3.934 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.308e-05/0.1337, allocations: 105.8 kB / 0.5645 GB, free: 3.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.396e-05/0.1337, allocations: 87.12 kB / 0.5646 GB, free: 3.734 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.1339, allocations: 252.8 kB / 0.5649 GB, free: 3.449 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.014e-05/0.1339, allocations: 158.5 kB / 0.565 GB, free: 3.293 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.68e-05/0.134, allocations: 154.6 kB / 0.5651 GB, free: 3.141 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.9e-05/0.134, allocations: 105 kB / 0.5652 GB, free: 3.031 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.1341, allocations: 75.28 kB / 0.5653 GB, free: 2.957 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.229e-05/0.1341, allocations: 150.6 kB / 0.5655 GB, free: 2.809 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.241e-05/0.1342, allocations: 154.6 kB / 0.5656 GB, free: 2.656 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.868e-05/0.1342, allocations: 158.5 kB / 0.5658 GB, free: 2.5 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002352/0.1344, allocations: 465.8 kB / 0.5662 GB, free: 1.996 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.176e-05/0.1345, allocations: 169.1 kB / 0.5664 GB, free: 1.82 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.533e-05/0.1345, allocations: 80.14 kB / 0.5664 GB, free: 1.738 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.1346, allocations: 79.28 kB / 0.5665 GB, free: 1.66 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/0.1346, allocations: 117.8 kB / 0.5666 GB, free: 1.535 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 7.52e-07/0.1346, allocations: 0 / 0.5666 GB, free: 1.535 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 6.629e-05/0.1347, allocations: 29.7 kB / 0.5667 GB, free: 1.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.1347, allocations: 126.7 kB / 0.5668 GB, free: 1.363 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.1349, allocations: 141.9 kB / 0.5669 GB, free: 1.215 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.828e-06/0.1349, allocations: 25.7 kB / 0.5669 GB, free: 1.184 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.673e-05/0.1349, allocations: 88.14 kB / 0.567 GB, free: 1.094 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.673e-06/0.1349, allocations: 0 / 0.567 GB, free: 1.094 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-06/0.1349, allocations: 0 / 0.567 GB, free: 1.094 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.581e-05/0.135, allocations: 322.8 kB / 0.5673 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.977e-05/0.1351, allocations: 4 kB / 0.5673 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.816e-05/0.1351, allocations: 8 kB / 0.5673 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.418e-05/0.1351, allocations: 7.938 kB / 0.5674 GB, free: 0.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1351, allocations: 0 / 0.5674 GB, free: 0.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001052/0.1352, allocations: 53.61 kB / 0.5674 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.1352, allocations: 12.06 kB / 0.5674 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/0.1353, allocations: 4 kB / 0.5674 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.1353, allocations: 4 kB / 0.5674 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-07/0.1353, allocations: 0 / 0.5674 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.1353, allocations: 0 / 0.5674 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.756e-05/0.1353, allocations: 0 / 0.5674 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.1353, allocations: 0 / 0.5674 GB, free: 0.6719 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.331e-05/0.1354, allocations: 189.1 kB / 0.5676 GB, free: 488 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.031e-05/0.1355, allocations: 120.7 kB / 0.5677 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.208e-05/0.1355, allocations: 116.6 kB / 0.5678 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.387e-05/0.1356, allocations: 176.3 kB / 0.568 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.127e-05/0.1356, allocations: 184.2 kB / 0.5682 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.848e-05/0.1357, allocations: 184.2 kB / 0.5683 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.1359, allocations: 409.2 kB / 0.5687 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.616e-05/0.1359, allocations: 109 kB / 0.5688 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.896e-05/0.1359, allocations: 101 kB / 0.5689 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.224e-05/0.136, allocations: 192.1 kB / 0.5691 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.77e-05/0.1361, allocations: 180.3 kB / 0.5693 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.024e-05/0.1361, allocations: 188.4 kB / 0.5695 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.746e-05/0.1362, allocations: 176.3 kB / 0.5696 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001018/0.1363, allocations: 311.8 kB / 0.5699 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.095e-05/0.1363, allocations: 190 kB / 0.5701 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.001e-05/0.1364, allocations: 184.2 kB / 0.5703 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.043e-05/0.1365, allocations: 101 kB / 0.5704 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.437e-05/0.1366, allocations: 184.3 kB / 0.5706 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-05/0.1366, allocations: 108.9 kB / 0.5707 GB, free: 13.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.824e-05/0.1366, allocations: 101 kB / 0.5708 GB, free: 13.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1366, allocations: 0 / 0.5708 GB, free: 13.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005503/0.1372, allocations: 279.8 kB / 0.571 GB, free: 12.74 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009951/0.1382, allocations: 1.142 MB / 0.5722 GB, free: 11.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.67e-05/0.1383, allocations: 37.64 kB / 0.5722 GB, free: 11.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.1383, allocations: 4 kB / 0.5722 GB, free: 11.53 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.1383, allocations: 0 / 0.5722 GB, free: 11.53 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.1387, allocations: 0.5302 MB / 0.5727 GB, free: 10.99 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007401/0.1394, allocations: 0.6866 MB / 0.5734 GB, free: 10.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001927/0.1396, allocations: 0.6887 MB / 0.5741 GB, free: 9.547 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.4e-05/0.1396, allocations: 3.984 kB / 0.5741 GB, free: 9.543 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.229e-05/0.1397, allocations: 15.5 kB / 0.5741 GB, free: 9.527 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1397, allocations: 3.938 kB / 0.5741 GB, free: 9.523 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0167/0.1564, allocations: 6.843 MB / 0.5808 GB, free: 2.934 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002414/0.1567, allocations: 281 kB / 0.581 GB, free: 2.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.719/1.875, allocations: 4 kB / 0.581 GB, free: 2.566 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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) Environment - environmentSimulation: