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.001375/0.001375, allocations: 105.8 kB / 16.4 MB, free: 6.496 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.001463/0.001463, allocations: 195.8 kB / 17.34 MB, free: 5.762 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.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6975/0.6975, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 60.53 kB / 0.5573 GB, free: 32.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.123, allocations: 76.18 MB / 0.6317 GB, free: 4.891 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002321/0.1254, allocations: 1.408 MB / 0.633 GB, free: 3.473 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003915/0.1293, allocations: 2.86 MB / 0.6358 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.106e-05/0.1294, allocations: 0 / 0.6358 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.691e-05/0.1295, allocations: 7.922 kB / 0.6358 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.878e-05/0.1295, allocations: 11.86 kB / 0.6358 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003671/0.1332, allocations: 1.567 MB / 0.6374 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.135e-05/0.1333, allocations: 47.72 kB / 0.6374 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.486e-05/0.1333, allocations: 0 / 0.6374 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.592e-05/0.1334, allocations: 11.94 kB / 0.6374 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.877e-05/0.1334, allocations: 19.92 kB / 0.6375 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.397e-06/0.1334, allocations: 0 / 0.6375 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002161/0.1356, allocations: 1.486 MB / 0.6389 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.804e-05/0.1356, allocations: 15.91 kB / 0.6389 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.898e-05/0.1357, allocations: 15.88 kB / 0.6389 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00157/0.1372, allocations: 1.081 MB / 0.64 GB, free: 12.34 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1373, allocations: 0 / 0.64 GB, free: 12.34 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.1373, allocations: 4 kB / 0.64 GB, free: 12.34 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.1373, allocations: 3.938 kB / 0.64 GB, free: 12.34 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.0006219/0.1379, allocations: 0.5184 MB / 0.6405 GB, free: 11.77 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.1379, allocations: 8.031 kB / 0.6405 GB, free: 11.76 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.674e-05/0.138, allocations: 106 kB / 0.6406 GB, free: 11.65 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.085e-05/0.1381, allocations: 80.22 kB / 0.6407 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.1382, allocations: 255.5 kB / 0.6409 GB, free: 11.28 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.508e-05/0.1383, allocations: 154.9 kB / 0.6411 GB, free: 11.13 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.146e-05/0.1383, allocations: 150.9 kB / 0.6412 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.818e-05/0.1384, allocations: 108.9 kB / 0.6413 GB, free: 10.87 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.1384, allocations: 75.28 kB / 0.6414 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.048e-05/0.1385, allocations: 150.6 kB / 0.6415 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.846e-05/0.1385, allocations: 158.5 kB / 0.6417 GB, free: 10.49 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.781e-05/0.1385, allocations: 158.5 kB / 0.6418 GB, free: 10.33 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000248/0.1388, allocations: 461.9 kB / 0.6423 GB, free: 9.832 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.901e-05/0.1389, allocations: 169.1 kB / 0.6424 GB, free: 9.656 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.638e-05/0.1389, allocations: 84.14 kB / 0.6425 GB, free: 9.57 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.1389, allocations: 83.22 kB / 0.6426 GB, free: 9.488 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.139, allocations: 113.8 kB / 0.6427 GB, free: 9.367 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.139, allocations: 0 / 0.6427 GB, free: 9.367 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.071e-05/0.1391, allocations: 25.7 kB / 0.6427 GB, free: 9.336 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.1391, allocations: 130.7 kB / 0.6429 GB, free: 9.195 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.1392, allocations: 139.2 kB / 0.643 GB, free: 9.051 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.1393, allocations: 25.7 kB / 0.643 GB, free: 9.02 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.46e-05/0.1393, allocations: 92.12 kB / 0.6431 GB, free: 8.926 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.144e-06/0.1393, allocations: 0 / 0.6431 GB, free: 8.926 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/0.1393, allocations: 17.72 kB / 0.6431 GB, free: 8.902 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.542e-05/0.1394, allocations: 314.8 kB / 0.6434 GB, free: 8.586 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.393e-05/0.1395, allocations: 4 kB / 0.6434 GB, free: 8.582 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.476e-05/0.1395, allocations: 11.98 kB / 0.6434 GB, free: 8.57 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.495e-05/0.1395, allocations: 20.81 kB / 0.6435 GB, free: 8.547 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1395, allocations: 0 / 0.6435 GB, free: 8.547 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001195/0.1397, allocations: 49.55 kB / 0.6435 GB, free: 8.492 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.1397, allocations: 8 kB / 0.6435 GB, free: 8.484 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/0.1397, allocations: 3.984 kB / 0.6435 GB, free: 8.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.1397, allocations: 0 / 0.6435 GB, free: 8.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.304e-06/0.1397, allocations: 4 kB / 0.6435 GB, free: 8.477 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.1397, allocations: 3.938 kB / 0.6435 GB, free: 8.473 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.998e-05/0.1398, allocations: 0 / 0.6435 GB, free: 8.473 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.1398, allocations: 0 / 0.6435 GB, free: 8.473 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 8.404e-05/0.1399, allocations: 193.2 kB / 0.6437 GB, free: 8.273 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.195e-05/0.1399, allocations: 112.8 kB / 0.6438 GB, free: 8.156 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.568e-05/0.14, allocations: 116.8 kB / 0.6439 GB, free: 8.031 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.483e-05/0.14, allocations: 180.2 kB / 0.6441 GB, free: 7.848 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.854e-05/0.1401, allocations: 176.3 kB / 0.6443 GB, free: 7.668 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.858e-05/0.1401, allocations: 184.3 kB / 0.6444 GB, free: 7.48 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.1403, allocations: 417.1 kB / 0.6448 GB, free: 7.016 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.719e-05/0.1404, allocations: 105 kB / 0.6449 GB, free: 6.906 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.007e-05/0.1404, allocations: 108.9 kB / 0.6451 GB, free: 6.793 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.27e-05/0.1404, allocations: 176.3 kB / 0.6452 GB, free: 6.613 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.952e-05/0.1405, allocations: 176.3 kB / 0.6454 GB, free: 6.434 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.685e-05/0.1405, allocations: 184.2 kB / 0.6456 GB, free: 6.246 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.972e-05/0.1406, allocations: 188.2 kB / 0.6457 GB, free: 6.055 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.1407, allocations: 303.7 kB / 0.646 GB, free: 5.734 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.08e-05/0.1408, allocations: 182 kB / 0.6462 GB, free: 5.531 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.119e-05/0.1408, allocations: 196.2 kB / 0.6464 GB, free: 5.332 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.582e-05/0.1409, allocations: 105 kB / 0.6465 GB, free: 5.223 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.406e-05/0.141, allocations: 180.2 kB / 0.6467 GB, free: 5.039 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.849e-05/0.141, allocations: 109 kB / 0.6468 GB, free: 4.926 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.446e-05/0.1411, allocations: 97.14 kB / 0.6469 GB, free: 4.832 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1411, allocations: 0 / 0.6469 GB, free: 4.832 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007098/0.1418, allocations: 275.8 kB / 0.6471 GB, free: 4.562 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.001313/0.1431, allocations: 1.171 MB / 0.6483 GB, free: 3.367 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.33e-05/0.1432, allocations: 33.7 kB / 0.6483 GB, free: 3.328 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1432, allocations: 4.062 kB / 0.6483 GB, free: 3.324 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.525e-06/0.1432, allocations: 0 / 0.6483 GB, free: 3.324 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.1436, allocations: 464.4 kB / 0.6487 GB, free: 2.867 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.1449, allocations: 1.586 MB / 0.6503 GB, free: 1.203 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000194/0.1451, allocations: 0.6885 MB / 0.651 GB, free: 500 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.592e-05/0.1451, allocations: 0 / 0.651 GB, free: 500 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.651e-05/0.1451, allocations: 15.44 kB / 0.651 GB, free: 484 kB / 494.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1451, allocations: 0 / 0.651 GB, free: 484 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02341/0.1686, allocations: 6.9 MB / 0.6577 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.516/7.685, allocations: 12.25 kB / 0.6577 GB, free: 9.777 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)