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.001537/0.001537, allocations: 104.9 kB / 16.4 MB, free: 6.492 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.001725/0.001725, allocations: 193.2 kB / 17.34 MB, free: 5.73 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.7605/0.7605, allocations: 115.3 MB / 406.5 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 68.33 kB / 0.5573 GB, free: 32.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1565, allocations: 76.17 MB / 0.6317 GB, free: 4.859 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.003462/0.16, allocations: 1.418 MB / 0.633 GB, free: 3.43 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004855/0.1649, allocations: 2.849 MB / 0.6358 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.852e-05/0.165, allocations: 4 kB / 0.6358 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.298e-05/0.165, allocations: 11.92 kB / 0.6358 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.032e-05/0.1652, allocations: 7.875 kB / 0.6358 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003954/0.1691, allocations: 1.576 MB / 0.6374 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.1692, allocations: 39.73 kB / 0.6374 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.625e-05/0.1693, allocations: 4 kB / 0.6374 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.07e-05/0.1693, allocations: 11.94 kB / 0.6374 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.971e-05/0.1694, allocations: 15.92 kB / 0.6375 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.388e-06/0.1694, allocations: 0 / 0.6375 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002504/0.1719, allocations: 1.494 MB / 0.6389 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.125e-05/0.1719, allocations: 7.938 kB / 0.6389 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.837e-05/0.172, allocations: 19.88 kB / 0.6389 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002002/0.174, allocations: 1.077 MB / 0.64 GB, free: 12.31 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.174, allocations: 0 / 0.64 GB, free: 12.31 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.174, allocations: 0 / 0.64 GB, free: 12.31 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.74e-05/0.174, allocations: 0 / 0.64 GB, free: 12.31 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.000808/0.1749, allocations: 0.5284 MB / 0.6405 GB, free: 11.73 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.1749, allocations: 16.03 kB / 0.6405 GB, free: 11.72 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.481e-05/0.175, allocations: 106 kB / 0.6406 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.347e-05/0.1751, allocations: 80.22 kB / 0.6407 GB, free: 11.53 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.1753, allocations: 247.5 kB / 0.6409 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.173e-05/0.1753, allocations: 150.9 kB / 0.6411 GB, free: 11.1 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.181e-05/0.1754, allocations: 150.9 kB / 0.6412 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.788e-05/0.1755, allocations: 108.9 kB / 0.6413 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.051e-05/0.1755, allocations: 79.27 kB / 0.6414 GB, free: 10.76 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.501e-05/0.1756, allocations: 150.6 kB / 0.6415 GB, free: 10.61 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.589e-05/0.1757, allocations: 158.5 kB / 0.6417 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.711e-05/0.1757, allocations: 154.6 kB / 0.6418 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003476/0.1761, allocations: 461.9 kB / 0.6423 GB, free: 9.801 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.67e-05/0.1762, allocations: 169.1 kB / 0.6424 GB, free: 9.625 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.73e-05/0.1762, allocations: 80.14 kB / 0.6425 GB, free: 9.543 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.325e-05/0.1763, allocations: 79.22 kB / 0.6426 GB, free: 9.465 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.685e-05/0.1763, allocations: 109.8 kB / 0.6427 GB, free: 9.348 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.1764, allocations: 7.938 kB / 0.6427 GB, free: 9.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 9.152e-05/0.1765, allocations: 29.7 kB / 0.6427 GB, free: 9.305 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.276e-05/0.1765, allocations: 126.7 kB / 0.6429 GB, free: 9.168 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.1767, allocations: 139.7 kB / 0.643 GB, free: 9.023 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.1767, allocations: 25.7 kB / 0.643 GB, free: 8.992 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.936e-05/0.1768, allocations: 92.12 kB / 0.6431 GB, free: 8.898 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.755e-06/0.1768, allocations: 0 / 0.6431 GB, free: 8.898 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.802e-05/0.1769, allocations: 17.72 kB / 0.6431 GB, free: 8.875 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.177, allocations: 326.8 kB / 0.6434 GB, free: 8.547 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.523e-05/0.177, allocations: 0 / 0.6434 GB, free: 8.547 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.75e-05/0.177, allocations: 4 kB / 0.6434 GB, free: 8.543 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.268e-05/0.1771, allocations: 16.84 kB / 0.6435 GB, free: 8.523 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1771, allocations: 3.938 kB / 0.6435 GB, free: 8.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001633/0.1773, allocations: 53.53 kB / 0.6435 GB, free: 8.461 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.1773, allocations: 4 kB / 0.6435 GB, free: 8.457 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.175e-05/0.1773, allocations: 4 kB / 0.6435 GB, free: 8.453 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.1773, allocations: 0 / 0.6435 GB, free: 8.453 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-06/0.1774, allocations: 4.062 kB / 0.6435 GB, free: 8.449 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1774, allocations: 0 / 0.6435 GB, free: 8.449 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.244e-05/0.1774, allocations: 0 / 0.6435 GB, free: 8.449 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.1774, allocations: 8.031 kB / 0.6435 GB, free: 8.441 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001067/0.1775, allocations: 189.1 kB / 0.6437 GB, free: 8.246 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.93e-05/0.1776, allocations: 120.8 kB / 0.6438 GB, free: 8.121 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.493e-05/0.1777, allocations: 108.8 kB / 0.6439 GB, free: 8.004 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.311e-05/0.1777, allocations: 188.2 kB / 0.6441 GB, free: 7.812 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.768e-05/0.1778, allocations: 180.3 kB / 0.6443 GB, free: 7.629 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.986e-05/0.1779, allocations: 176.3 kB / 0.6444 GB, free: 7.449 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.1782, allocations: 425.1 kB / 0.6449 GB, free: 6.977 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-05/0.1782, allocations: 101 kB / 0.645 GB, free: 6.871 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.084e-05/0.1783, allocations: 104.9 kB / 0.6451 GB, free: 6.762 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.873e-05/0.1783, allocations: 184.3 kB / 0.6452 GB, free: 6.574 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.755e-05/0.1784, allocations: 180.3 kB / 0.6454 GB, free: 6.391 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.022e-05/0.1785, allocations: 180.2 kB / 0.6456 GB, free: 6.207 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.338e-05/0.1786, allocations: 180.2 kB / 0.6457 GB, free: 6.023 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.1787, allocations: 315.7 kB / 0.646 GB, free: 5.691 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.842e-05/0.1788, allocations: 182 kB / 0.6462 GB, free: 5.488 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.247e-05/0.1789, allocations: 184.2 kB / 0.6464 GB, free: 5.301 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.947e-05/0.179, allocations: 109 kB / 0.6465 GB, free: 5.188 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.467e-05/0.1791, allocations: 180.2 kB / 0.6467 GB, free: 5.004 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/0.1791, allocations: 101 kB / 0.6468 GB, free: 4.898 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.788e-05/0.1792, allocations: 104.8 kB / 0.6469 GB, free: 4.797 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1792, allocations: 0 / 0.6469 GB, free: 4.797 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008519/0.18, allocations: 283.7 kB / 0.6471 GB, free: 4.52 MB / 494.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 (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.001499/0.1816, allocations: 1.167 MB / 0.6483 GB, free: 3.324 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001026/0.1817, allocations: 37.7 kB / 0.6483 GB, free: 3.281 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.1817, allocations: 0 / 0.6483 GB, free: 3.281 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.144e-06/0.1817, allocations: 0 / 0.6483 GB, free: 3.281 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004003/0.1821, allocations: 456.5 kB / 0.6487 GB, free: 2.832 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.1837, allocations: 1.589 MB / 0.6503 GB, free: 1.168 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.1839, allocations: 0.6807 MB / 0.651 GB, free: 472 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.691e-05/0.184, allocations: 0 / 0.651 GB, free: 472 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.223e-05/0.184, allocations: 15.44 kB / 0.651 GB, free: 456 kB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.184, allocations: 0 / 0.651 GB, free: 456 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02617/0.2102, allocations: 6.913 MB / 0.6577 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.108/8.318, allocations: 6.562 kB / 0.6577 GB, free: 9.734 MB / 0.4981 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 & /home/hudson/saved_omc/OMSimulator/install/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)