Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_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.00497/0.00497, allocations: 97.8 kB / 15.73 MB, free: 5.996 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.001352/0.001352, allocations: 186.5 kB / 16.67 MB, free: 5.926 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.467/1.467, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 1.021/1.021, allocations: 143.3 MB / 433.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 67.89 kB / 0.5954 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.3865, allocations: 82.02 MB / 0.6755 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.00527/0.3918, allocations: 4.141 MB / 0.6795 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003573/0.3954, allocations: 2.411 MB / 0.6819 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000259/0.3956, allocations: 10.91 kB / 0.6819 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001592/0.3972, allocations: 0.5456 MB / 0.6824 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0005065/0.3978, allocations: 250.7 kB / 0.6826 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.398, allocations: 135.8 kB / 0.6828 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0007853/0.3988, allocations: 0.8112 MB / 0.6836 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004186/0.3992, allocations: 325.4 kB / 0.6839 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003044/0.3996, allocations: 296.6 kB / 0.6842 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003578/0.3999, allocations: 324.2 kB / 0.6845 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.794e-05/0.4, allocations: 74.25 kB / 0.6845 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.4001, allocations: 75.62 kB / 0.6846 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001705/0.4003, allocations: 173.5 kB / 0.6848 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003335/0.4006, allocations: 384.3 kB / 0.6851 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.4017, allocations: 1.033 MB / 0.6862 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.4017, allocations: 1.344 kB / 0.6862 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4017, allocations: 0 / 0.6862 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.4017, allocations: 0 / 0.6862 GB, free: 8.688 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001502/0.4032, allocations: 0.9731 MB / 0.6871 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.4033, allocations: 8.906 kB / 0.6871 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001053/0.4034, allocations: 90.14 kB / 0.6872 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.4035, allocations: 77.47 kB / 0.6873 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006951/0.4042, allocations: 468 kB / 0.6877 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.4043, allocations: 36.06 kB / 0.6878 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.345e-05/0.4043, allocations: 48.22 kB / 0.6878 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000766/0.4051, allocations: 427 kB / 0.6882 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.4052, allocations: 5.328 kB / 0.6882 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.144e-05/0.4052, allocations: 20.22 kB / 0.6882 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.4052, allocations: 11.19 kB / 0.6882 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006982/0.4059, allocations: 372.7 kB / 0.6886 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002017/0.4079, allocations: 1.528 MB / 0.6901 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005361/0.4085, allocations: 341.6 kB / 0.6904 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004784/0.409, allocations: 316.1 kB / 0.6907 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.409, allocations: 13.12 kB / 0.6907 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.4091, allocations: 35.69 kB / 0.6908 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=42): time 1.533e-06/0.4091, allocations: 1.062 kB / 0.6908 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of matching and sorting (n=42): time 0.0009412/0.41, allocations: 0.4919 MB / 0.6912 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.4101, allocations: 59.88 kB / 0.6913 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005061/0.4106, allocations: 486 kB / 0.6918 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.4106, allocations: 40.2 kB / 0.6918 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001962/0.4108, allocations: 278.4 kB / 0.6921 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.411, allocations: 156.3 kB / 0.6922 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.454e-05/0.4111, allocations: 57.11 kB / 0.6923 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.4112, allocations: 363 kB / 0.6926 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002523/0.4115, allocations: 120.8 kB / 0.6927 GB, free: 3.812 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002296/0.4117, allocations: 122.2 kB / 0.6928 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005238/0.4123, allocations: 309.2 kB / 0.6931 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4123, allocations: 1.812 kB / 0.6931 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006608/0.4129, allocations: 391.7 kB / 0.6935 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.413, allocations: 5.812 kB / 0.6935 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.413, allocations: 3.938 kB / 0.6935 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.413, allocations: 2.344 kB / 0.6935 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004949/0.4135, allocations: 132.6 kB / 0.6937 GB, free: 3.289 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.4135, allocations: 0 / 0.6937 GB, free: 3.289 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/0.4137, allocations: 43.72 kB / 0.6937 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.4138, allocations: 8 kB / 0.6937 GB, free: 3.238 MB / 0.5137 GB 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 (46): * Single equations (assignments): 46 * 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 prepare postOptimizeDAE: time 0.0002062/0.414, allocations: 193.7 kB / 0.6939 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.143e-05/0.4141, allocations: 63.59 kB / 0.694 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/0.4142, allocations: 57.11 kB / 0.694 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.4142, allocations: 8 kB / 0.694 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.4142, allocations: 0 / 0.694 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.4142, allocations: 3.984 kB / 0.694 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006427/0.4149, allocations: 0.5674 MB / 0.6946 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.4149, allocations: 11.86 kB / 0.6946 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005031/0.4154, allocations: 123.9 kB / 0.6947 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.4154, allocations: 4 kB / 0.6947 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.4154, allocations: 4 kB / 0.6947 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.4154, allocations: 4 kB / 0.6947 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.4154, allocations: 4 kB / 0.6947 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.4164, allocations: 0.6482 MB / 0.6953 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.4166, allocations: 148.6 kB / 0.6955 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.127e-05/0.4167, allocations: 8 kB / 0.6955 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.4169, allocations: 11.98 kB / 0.6955 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.245e-05/0.4169, allocations: 27.97 kB / 0.6955 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.417, allocations: 12 kB / 0.6955 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003854/0.4174, allocations: 347.1 kB / 0.6959 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4174, allocations: 0 / 0.6959 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003896/0.4178, allocations: 143.7 kB / 0.696 GB, free: 0.7773 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * 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.001319/0.4191, allocations: 1.22 MB / 0.6972 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005947/0.4197, allocations: 320 kB / 0.6975 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4197, allocations: 0 / 0.6975 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000306/0.42, allocations: 191.3 kB / 0.6977 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006158/0.4206, allocations: 131.1 kB / 0.6978 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006254/0.4269, allocations: 4.855 MB / 0.7026 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004853/0.4274, allocations: 0.8703 MB / 0.7034 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001801/0.4276, allocations: 56.38 kB / 0.7035 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002644/0.4279, allocations: 191.4 kB / 0.7036 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of SimCode: time 2.114e-06/0.4279, allocations: 4 kB / 0.7037 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.398/1.826, allocations: 11.49 MB / 0.7149 GB, free: 13.66 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/12.94, allocations: 15.56 kB / 0.7149 GB, free: 13.65 MB / 0.545 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)