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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.0007479/0.0007479, allocations: 92.7 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.0007874/0.0007877, allocations: 173.7 kB / 16.58 MB, free: 6.066 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.18/1.18, allocations: 223.3 MB / 240.6 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6058/0.6058, allocations: 113.7 MB / 405.4 MB, free: 4.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002755/0.0002755, allocations: 12 kB / 493.2 MB, free: 8.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.115, allocations: 77.12 MB / 0.557 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001183/0.1162, allocations: 1.125 MB / 0.5581 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003191/0.1194, allocations: 2.653 MB / 0.5607 GB, free: 7.793 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.045e-05/0.1195, allocations: 0 / 0.5607 GB, free: 7.793 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.334e-05/0.1195, allocations: 7.938 kB / 0.5607 GB, free: 7.785 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.116e-05/0.1196, allocations: 19.84 kB / 0.5607 GB, free: 7.766 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002402/0.122, allocations: 1.246 MB / 0.5619 GB, free: 6.547 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.961e-05/0.122, allocations: 39.73 kB / 0.5619 GB, free: 6.508 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.233e-05/0.1221, allocations: 4 kB / 0.5619 GB, free: 6.504 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.029e-05/0.1221, allocations: 15.92 kB / 0.562 GB, free: 6.488 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.589e-05/0.1221, allocations: 15.94 kB / 0.562 GB, free: 6.473 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.538e-06/0.1221, allocations: 4 kB / 0.562 GB, free: 6.469 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001467/0.1236, allocations: 1.244 MB / 0.5632 GB, free: 5.223 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.918e-06/0.1236, allocations: 7.938 kB / 0.5632 GB, free: 5.215 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.168e-05/0.1236, allocations: 29.7 kB / 0.5632 GB, free: 5.18 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007276/0.1244, allocations: 0.7138 MB / 0.5639 GB, free: 4.465 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1244, allocations: 0 / 0.5639 GB, free: 4.465 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.1244, allocations: 4 kB / 0.5639 GB, free: 4.461 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.075e-06/0.1244, allocations: 0 / 0.5639 GB, free: 4.461 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.0004286/0.1248, allocations: 0.5067 MB / 0.5644 GB, free: 3.906 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.1249, allocations: 11.97 kB / 0.5644 GB, free: 3.895 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.123e-05/0.1249, allocations: 105.8 kB / 0.5645 GB, free: 3.781 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.011e-05/0.125, allocations: 87.12 kB / 0.5646 GB, free: 3.695 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.1251, allocations: 246.3 kB / 0.5648 GB, free: 3.414 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.159e-05/0.1251, allocations: 154.6 kB / 0.565 GB, free: 3.262 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.698e-05/0.1252, allocations: 150.6 kB / 0.5651 GB, free: 3.113 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.778e-05/0.1252, allocations: 105 kB / 0.5652 GB, free: 3.004 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.1253, allocations: 75.28 kB / 0.5653 GB, free: 2.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.812e-05/0.1253, allocations: 154.6 kB / 0.5655 GB, free: 2.777 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.646e-05/0.1253, allocations: 154.5 kB / 0.5656 GB, free: 2.625 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.002e-05/0.1254, allocations: 166.5 kB / 0.5658 GB, free: 2.461 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002196/0.1256, allocations: 465.8 kB / 0.5662 GB, free: 1.957 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.072e-05/0.1257, allocations: 169.1 kB / 0.5664 GB, free: 1.781 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.206e-05/0.1257, allocations: 80.14 kB / 0.5664 GB, free: 1.699 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.1257, allocations: 83.22 kB / 0.5665 GB, free: 1.617 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.1258, allocations: 113.8 kB / 0.5666 GB, free: 1.496 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 7.31e-07/0.1258, allocations: 0 / 0.5666 GB, free: 1.496 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 5.32e-05/0.1258, allocations: 25.7 kB / 0.5667 GB, free: 1.465 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.1259, allocations: 126.7 kB / 0.5668 GB, free: 1.328 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.126, allocations: 144.4 kB / 0.5669 GB, free: 1.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.368e-06/0.126, allocations: 25.7 kB / 0.5669 GB, free: 1.148 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.622e-05/0.1261, allocations: 96.12 kB / 0.567 GB, free: 1.051 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.342e-06/0.1261, allocations: 0 / 0.567 GB, free: 1.051 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-06/0.1261, allocations: 4 kB / 0.567 GB, free: 1.047 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.63e-05/0.1262, allocations: 310.8 kB / 0.5673 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.932e-05/0.1262, allocations: 8 kB / 0.5673 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.327e-05/0.1262, allocations: 7.984 kB / 0.5673 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.485e-05/0.1262, allocations: 8 kB / 0.5674 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1262, allocations: 3.938 kB / 0.5674 GB, free: 0.707 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001023/0.1263, allocations: 53.59 kB / 0.5674 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.1264, allocations: 8 kB / 0.5674 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.1264, allocations: 0 / 0.5674 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.166e-06/0.1264, allocations: 4 kB / 0.5674 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.1264, allocations: 0 / 0.5674 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.1264, allocations: 0 / 0.5674 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.854e-05/0.1264, allocations: 3.984 kB / 0.5674 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.1264, allocations: 4.062 kB / 0.5674 GB, free: 0.6289 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 7.366e-05/0.1265, allocations: 185.1 kB / 0.5676 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.773e-05/0.1266, allocations: 124.8 kB / 0.5677 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.869e-05/0.1266, allocations: 112.6 kB / 0.5678 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.041e-05/0.1267, allocations: 180.2 kB / 0.568 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.663e-05/0.1267, allocations: 184.2 kB / 0.5682 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-05/0.1268, allocations: 176.3 kB / 0.5683 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.127, allocations: 421.2 kB / 0.5687 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.447e-05/0.127, allocations: 101 kB / 0.5688 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.893e-05/0.127, allocations: 105 kB / 0.5689 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-05/0.1271, allocations: 184.2 kB / 0.5691 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.225e-05/0.1271, allocations: 180.3 kB / 0.5693 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.467e-05/0.1272, allocations: 184.4 kB / 0.5695 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.423e-05/0.1272, allocations: 180.3 kB / 0.5696 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.594e-05/0.1273, allocations: 311.8 kB / 0.5699 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.497e-05/0.1274, allocations: 186 kB / 0.5701 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.698e-05/0.1274, allocations: 188.2 kB / 0.5703 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.124e-05/0.1275, allocations: 101 kB / 0.5704 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/0.1276, allocations: 188.2 kB / 0.5706 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.822e-05/0.1276, allocations: 104.9 kB / 0.5707 GB, free: 13.08 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.44e-05/0.1276, allocations: 101.1 kB / 0.5708 GB, free: 12.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1276, allocations: 0 / 0.5708 GB, free: 12.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000517/0.1282, allocations: 283.8 kB / 0.571 GB, free: 12.7 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.0009488/0.1291, allocations: 1.135 MB / 0.5721 GB, free: 11.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.357e-05/0.1292, allocations: 45.62 kB / 0.5722 GB, free: 11.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1292, allocations: 0 / 0.5722 GB, free: 11.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.1292, allocations: 0 / 0.5722 GB, free: 11.49 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.1296, allocations: 0.5318 MB / 0.5727 GB, free: 10.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006961/0.1303, allocations: 0.6905 MB / 0.5734 GB, free: 10.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001812/0.1305, allocations: 0.6809 MB / 0.574 GB, free: 9.516 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.171e-05/0.1305, allocations: 0 / 0.574 GB, free: 9.516 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.159e-05/0.1305, allocations: 23.48 kB / 0.5741 GB, free: 9.492 MB / 446.1 MB Notification: Performance of SimCode: time 1.383e-06/0.1305, allocations: 0 / 0.5741 GB, free: 9.492 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01546/0.146, allocations: 6.844 MB / 0.5808 GB, free: 2.895 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002307/0.1462, allocations: 270.1 kB / 0.581 GB, free: 2.535 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.693/1.839, allocations: 3.656 kB / 0.581 GB, free: 2.535 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) Environment - environmentSimulation: