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.00149/0.00149, allocations: 102.3 kB / 16.4 MB, free: 6.484 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.001583/0.001583, allocations: 195.9 kB / 17.34 MB, free: 5.738 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.261/1.261, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6877/0.6877, allocations: 115.3 MB / 406.5 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 66.72 kB / 0.5573 GB, free: 32.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1315, allocations: 76.18 MB / 0.6317 GB, free: 4.855 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002191/0.1337, allocations: 1.433 MB / 0.6331 GB, free: 3.414 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003821/0.1375, allocations: 2.891 MB / 0.6359 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.688e-05/0.1376, allocations: 4 kB / 0.6359 GB, free: 0.5 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.57e-05/0.1376, allocations: 3.938 kB / 0.6359 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.964e-05/0.1378, allocations: 15.84 kB / 0.6359 GB, free: 492 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003687/0.1415, allocations: 1.586 MB / 0.6375 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.404e-05/0.1416, allocations: 47.67 kB / 0.6375 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.114e-05/0.1416, allocations: 7.984 kB / 0.6375 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.056e-05/0.1417, allocations: 15.94 kB / 0.6375 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.844e-05/0.1417, allocations: 11.94 kB / 0.6375 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.668e-06/0.1417, allocations: 7.938 kB / 0.6375 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002198/0.1439, allocations: 1.529 MB / 0.639 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.041e-05/0.144, allocations: 15.92 kB / 0.6391 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.509e-05/0.144, allocations: 15.81 kB / 0.6391 GB, free: 13.26 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.1454, allocations: 1.116 MB / 0.6402 GB, free: 12.14 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1455, allocations: 4 kB / 0.6402 GB, free: 12.14 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1455, allocations: 0 / 0.6402 GB, free: 12.14 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1455, allocations: 0 / 0.6402 GB, free: 12.14 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.0005645/0.1461, allocations: 0.5184 MB / 0.6407 GB, free: 11.57 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.1461, allocations: 12.03 kB / 0.6407 GB, free: 11.56 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.767e-05/0.1462, allocations: 110 kB / 0.6408 GB, free: 11.44 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.326e-05/0.1462, allocations: 80.22 kB / 0.6409 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.1464, allocations: 257.3 kB / 0.6411 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.862e-05/0.1464, allocations: 158.9 kB / 0.6413 GB, free: 10.92 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.038e-05/0.1465, allocations: 150.9 kB / 0.6414 GB, free: 10.77 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.103e-05/0.1466, allocations: 108.9 kB / 0.6415 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/0.1466, allocations: 79.22 kB / 0.6416 GB, free: 10.58 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.149e-05/0.1466, allocations: 150.6 kB / 0.6417 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-05/0.1467, allocations: 150.6 kB / 0.6419 GB, free: 10.28 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.523e-05/0.1467, allocations: 154.6 kB / 0.642 GB, free: 10.13 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003074/0.147, allocations: 469.9 kB / 0.6425 GB, free: 9.621 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.824e-05/0.1471, allocations: 165.1 kB / 0.6426 GB, free: 9.449 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3e-05/0.1472, allocations: 80.14 kB / 0.6427 GB, free: 9.367 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.1472, allocations: 87.2 kB / 0.6428 GB, free: 9.281 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.727e-05/0.1472, allocations: 109.8 kB / 0.6429 GB, free: 9.164 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.1473, allocations: 0 / 0.6429 GB, free: 9.164 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.296e-05/0.1473, allocations: 33.64 kB / 0.6429 GB, free: 9.125 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.1474, allocations: 126.7 kB / 0.643 GB, free: 8.988 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.1475, allocations: 137.7 kB / 0.6432 GB, free: 8.844 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.1475, allocations: 25.7 kB / 0.6432 GB, free: 8.812 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.874e-05/0.1476, allocations: 88.12 kB / 0.6433 GB, free: 8.723 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-06/0.1477, allocations: 0 / 0.6433 GB, free: 8.723 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.345e-05/0.1477, allocations: 25.77 kB / 0.6433 GB, free: 8.691 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1478, allocations: 314.8 kB / 0.6436 GB, free: 8.375 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.722e-05/0.1478, allocations: 11.98 kB / 0.6436 GB, free: 8.363 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.595e-05/0.1479, allocations: 4 kB / 0.6436 GB, free: 8.359 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.619e-05/0.1479, allocations: 12.86 kB / 0.6436 GB, free: 8.344 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1479, allocations: 0 / 0.6436 GB, free: 8.344 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001261/0.148, allocations: 57.48 kB / 0.6437 GB, free: 8.281 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.1481, allocations: 5.719 kB / 0.6437 GB, free: 8.277 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.307e-05/0.1481, allocations: 7.984 kB / 0.6437 GB, free: 8.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.1481, allocations: 4.062 kB / 0.6437 GB, free: 8.266 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.1481, allocations: 0 / 0.6437 GB, free: 8.266 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1481, allocations: 4 kB / 0.6437 GB, free: 8.262 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.999e-05/0.1482, allocations: 3.938 kB / 0.6437 GB, free: 8.258 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.1482, allocations: 3.984 kB / 0.6437 GB, free: 8.254 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 9.04e-05/0.1483, allocations: 185.1 kB / 0.6439 GB, free: 8.062 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.343e-05/0.1483, allocations: 112.8 kB / 0.644 GB, free: 7.945 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.987e-05/0.1484, allocations: 120.8 kB / 0.6441 GB, free: 7.816 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.8e-05/0.1485, allocations: 176.3 kB / 0.6443 GB, free: 7.637 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.959e-05/0.1485, allocations: 184.2 kB / 0.6445 GB, free: 7.449 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.958e-05/0.1486, allocations: 180.3 kB / 0.6446 GB, free: 7.266 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.1488, allocations: 417.1 kB / 0.645 GB, free: 6.801 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.588e-05/0.1489, allocations: 112.9 kB / 0.6451 GB, free: 6.684 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.007e-05/0.1489, allocations: 105 kB / 0.6452 GB, free: 6.574 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.986e-05/0.1489, allocations: 180.2 kB / 0.6454 GB, free: 6.391 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.116e-05/0.149, allocations: 176.3 kB / 0.6456 GB, free: 6.211 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-05/0.1491, allocations: 184.3 kB / 0.6457 GB, free: 6.023 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.346e-05/0.1491, allocations: 184.2 kB / 0.6459 GB, free: 5.836 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/0.1492, allocations: 311.6 kB / 0.6462 GB, free: 5.508 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.844e-05/0.1493, allocations: 190.1 kB / 0.6464 GB, free: 5.297 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.223e-05/0.1494, allocations: 184.2 kB / 0.6466 GB, free: 5.109 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.819e-05/0.1495, allocations: 104.9 kB / 0.6467 GB, free: 5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.697e-05/0.1495, allocations: 176.3 kB / 0.6468 GB, free: 4.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.338e-05/0.1496, allocations: 112.9 kB / 0.647 GB, free: 4.703 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.475e-05/0.1496, allocations: 99.27 kB / 0.647 GB, free: 4.605 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1496, allocations: 0 / 0.647 GB, free: 4.605 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007233/0.1504, allocations: 283.8 kB / 0.6473 GB, free: 4.328 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.00125/0.1516, allocations: 1.175 MB / 0.6485 GB, free: 3.125 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001074/0.1517, allocations: 41.64 kB / 0.6485 GB, free: 3.078 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1517, allocations: 0 / 0.6485 GB, free: 3.078 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.1517, allocations: 0 / 0.6485 GB, free: 3.078 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.1521, allocations: 470.8 kB / 0.649 GB, free: 2.617 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.1533, allocations: 1.596 MB / 0.6505 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002003/0.1535, allocations: 0.6846 MB / 0.6512 GB, free: 236 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.403e-05/0.1536, allocations: 0 / 0.6512 GB, free: 236 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.498e-05/0.1536, allocations: 19.47 kB / 0.6512 GB, free: 216 kB / 494.1 MB Notification: Performance of SimCode: time 2e-07/0.1536, allocations: 0 / 0.6512 GB, free: 216 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02356/0.1772, allocations: 7.111 MB / 0.6581 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.691/7.868, allocations: 6.625 kB / 0.6582 GB, free: 9.305 MB / 0.4981 GB (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/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)