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.001096/0.001096, allocations: 96.19 kB / 15.68 MB, free: 488 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.001223/0.001223, allocations: 175.4 kB / 16.57 MB, free: 6.387 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.327/1.327, allocations: 223.2 MB / 240.5 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8986/0.8986, allocations: 113.7 MB / 405.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002971/0.0002971, allocations: 13.62 kB / 493 MB, free: 8.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1433, allocations: 77.11 MB / 0.5568 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001057/0.1443, allocations: 1.109 MB / 0.5579 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003114/0.1475, allocations: 2.529 MB / 0.5603 GB, free: 7.98 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.078e-05/0.1475, allocations: 0 / 0.5603 GB, free: 7.98 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.589e-05/0.1475, allocations: 3.984 kB / 0.5603 GB, free: 7.977 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.584e-05/0.1476, allocations: 19.91 kB / 0.5604 GB, free: 7.957 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002531/0.1501, allocations: 1.222 MB / 0.5615 GB, free: 6.762 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.135e-05/0.1502, allocations: 27.94 kB / 0.5616 GB, free: 6.734 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.596e-05/0.1502, allocations: 4 kB / 0.5616 GB, free: 6.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.352e-05/0.1502, allocations: 15.94 kB / 0.5616 GB, free: 6.715 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.267e-05/0.1503, allocations: 11.92 kB / 0.5616 GB, free: 6.703 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.488e-06/0.1503, allocations: 7.984 kB / 0.5616 GB, free: 6.695 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001471/0.1518, allocations: 1.158 MB / 0.5627 GB, free: 5.535 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.258e-05/0.1518, allocations: 7.922 kB / 0.5627 GB, free: 5.527 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.333e-05/0.1518, allocations: 29.7 kB / 0.5628 GB, free: 5.492 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008024/0.1526, allocations: 0.7021 MB / 0.5635 GB, free: 4.789 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.1526, allocations: 0 / 0.5635 GB, free: 4.789 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1526, allocations: 0 / 0.5635 GB, free: 4.789 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.1527, allocations: 0 / 0.5635 GB, free: 4.789 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.0004726/0.1531, allocations: 0.5106 MB / 0.564 GB, free: 4.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1532, allocations: 11.98 kB / 0.564 GB, free: 4.219 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.333e-05/0.1532, allocations: 105.8 kB / 0.5641 GB, free: 4.105 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.238e-05/0.1533, allocations: 87.19 kB / 0.5642 GB, free: 4.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.1534, allocations: 246.3 kB / 0.5644 GB, free: 3.738 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.597e-05/0.1535, allocations: 162.5 kB / 0.5645 GB, free: 3.578 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.78e-05/0.1535, allocations: 150.6 kB / 0.5647 GB, free: 3.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.329e-05/0.1536, allocations: 101 kB / 0.5648 GB, free: 3.324 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.1536, allocations: 75.28 kB / 0.5649 GB, free: 3.25 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.944e-05/0.1537, allocations: 162.6 kB / 0.565 GB, free: 3.09 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-05/0.1538, allocations: 150.6 kB / 0.5652 GB, free: 2.941 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.166e-05/0.1538, allocations: 154.5 kB / 0.5653 GB, free: 2.789 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002577/0.1541, allocations: 465.8 kB / 0.5657 GB, free: 2.285 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.252e-05/0.1542, allocations: 173.1 kB / 0.5659 GB, free: 2.105 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.1542, allocations: 83.22 kB / 0.566 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.1542, allocations: 105.8 kB / 0.5661 GB, free: 1.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 7.11e-07/0.1543, allocations: 0 / 0.5661 GB, free: 1.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 6.479e-05/0.1543, allocations: 33.64 kB / 0.5661 GB, free: 1.871 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.1544, allocations: 126.7 kB / 0.5662 GB, free: 1.734 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.1545, allocations: 144.2 kB / 0.5664 GB, free: 1.586 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.1545, allocations: 25.7 kB / 0.5664 GB, free: 1.555 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.874e-05/0.1546, allocations: 92.14 kB / 0.5665 GB, free: 1.461 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-06/0.1546, allocations: 0 / 0.5665 GB, free: 1.461 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.214e-06/0.1546, allocations: 3.938 kB / 0.5665 GB, free: 1.457 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.35e-05/0.1547, allocations: 314.8 kB / 0.5668 GB, free: 1.141 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.953e-05/0.1547, allocations: 8 kB / 0.5668 GB, free: 1.133 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.211e-05/0.1547, allocations: 4 kB / 0.5668 GB, free: 1.129 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.164e-05/0.1548, allocations: 8.031 kB / 0.5668 GB, free: 1.121 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1548, allocations: 0 / 0.5668 GB, free: 1.121 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001035/0.1549, allocations: 45.69 kB / 0.5669 GB, free: 1.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.1549, allocations: 11.95 kB / 0.5669 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.1549, allocations: 0 / 0.5669 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.1549, allocations: 0 / 0.5669 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/0.1549, allocations: 3.938 kB / 0.5669 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1549, allocations: 4 kB / 0.5669 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.106e-05/0.155, allocations: 3.906 kB / 0.5669 GB, free: 1.047 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.155, allocations: 0 / 0.5669 GB, free: 1.047 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 9.39e-05/0.1551, allocations: 197.1 kB / 0.5671 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.611e-05/0.1551, allocations: 101 kB / 0.5672 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.257e-05/0.1552, allocations: 116.8 kB / 0.5673 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.305e-05/0.1553, allocations: 180.2 kB / 0.5675 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.453e-05/0.1553, allocations: 180.2 kB / 0.5676 GB, free: 252 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.676e-05/0.1554, allocations: 184.2 kB / 0.5678 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.1556, allocations: 413.2 kB / 0.5682 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.578e-05/0.1556, allocations: 109 kB / 0.5683 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.042e-05/0.1557, allocations: 105 kB / 0.5684 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.83e-05/0.1557, allocations: 180.2 kB / 0.5686 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.836e-05/0.1558, allocations: 180.2 kB / 0.5687 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.594e-05/0.1558, allocations: 184.2 kB / 0.5689 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-05/0.1559, allocations: 184.2 kB / 0.5691 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.156, allocations: 307.7 kB / 0.5694 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.695e-05/0.1561, allocations: 185.9 kB / 0.5696 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.454e-05/0.1561, allocations: 184.3 kB / 0.5697 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.821e-05/0.1562, allocations: 109.2 kB / 0.5698 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.63e-05/0.1563, allocations: 180.2 kB / 0.57 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.741e-05/0.1563, allocations: 109 kB / 0.5701 GB, free: 13.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.684e-05/0.1563, allocations: 97.14 kB / 0.5702 GB, free: 13.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1563, allocations: 0 / 0.5702 GB, free: 13.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006418/0.157, allocations: 279.8 kB / 0.5705 GB, free: 13.14 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.001089/0.1581, allocations: 1.136 MB / 0.5716 GB, free: 11.97 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.061e-05/0.1582, allocations: 37.7 kB / 0.5716 GB, free: 11.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1582, allocations: 0 / 0.5716 GB, free: 11.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.557e-06/0.1582, allocations: 0 / 0.5716 GB, free: 11.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.1586, allocations: 0.5436 MB / 0.5722 GB, free: 11.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006519/0.1592, allocations: 0.5502 MB / 0.5727 GB, free: 10.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.1595, allocations: 0.6848 MB / 0.5734 GB, free: 10.08 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.371e-05/0.1595, allocations: 0 / 0.5734 GB, free: 10.08 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.869e-05/0.1595, allocations: 23.36 kB / 0.5734 GB, free: 10.05 MB / 446.1 MB Notification: Performance of SimCode: time 1.473e-06/0.1595, allocations: 0 / 0.5734 GB, free: 10.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2251/0.3846, allocations: 6.575 MB / 0.5798 GB, free: 3.73 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003193/0.385, allocations: 260.4 kB / 0.5801 GB, free: 3.375 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.045/2.43, allocations: 3.562 kB / 0.5801 GB, free: 3.375 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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) Environment - environmentSimulation: