Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",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.008479/0.008479, allocations: 100.8 kB / 15.73 MB, free: 6.445 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.00213/0.00213, allocations: 191.5 kB / 16.67 MB, free: 6.348 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.464/1.464, allocations: 222.9 MB / 240.4 MB, free: 4.371 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.05/1.05, allocations: 143.3 MB / 433.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 67.89 kB / 0.5954 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3795, allocations: 82.03 MB / 0.6755 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.00229/0.3818, allocations: 1.421 MB / 0.6769 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00453/0.3864, allocations: 2.862 MB / 0.6797 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.167e-05/0.3864, allocations: 0 / 0.6797 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.324e-05/0.3865, allocations: 3.938 kB / 0.6797 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.476e-05/0.3866, allocations: 18 kB / 0.6797 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004763/0.3913, allocations: 1.557 MB / 0.6812 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000135/0.3915, allocations: 41.19 kB / 0.6813 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.993e-05/0.3915, allocations: 14.44 kB / 0.6813 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.689e-05/0.3916, allocations: 15.72 kB / 0.6813 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.327e-05/0.3916, allocations: 10.62 kB / 0.6813 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.3916, allocations: 1.375 kB / 0.6813 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00264/0.3943, allocations: 1.481 MB / 0.6828 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.476e-05/0.3943, allocations: 9.312 kB / 0.6828 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.188e-05/0.3944, allocations: 22.72 kB / 0.6828 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001837/0.3962, allocations: 1.079 MB / 0.6838 GB, free: 11 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3962, allocations: 0 / 0.6838 GB, free: 11 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.943e-06/0.3962, allocations: 5.344 kB / 0.6838 GB, free: 11 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.3962, allocations: 0 / 0.6838 GB, free: 11 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007168/0.397, allocations: 0.5264 MB / 0.6844 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.397, allocations: 8.469 kB / 0.6844 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.02e-05/0.3971, allocations: 106 kB / 0.6845 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.064e-05/0.3972, allocations: 83.11 kB / 0.6845 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.3974, allocations: 250.5 kB / 0.6848 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.663e-05/0.3974, allocations: 158.9 kB / 0.6849 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.892e-05/0.3975, allocations: 152.3 kB / 0.6851 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.087e-05/0.3976, allocations: 108.9 kB / 0.6852 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.518e-05/0.3976, allocations: 76.53 kB / 0.6853 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-05/0.3977, allocations: 150.6 kB / 0.6854 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-05/0.3978, allocations: 150.6 kB / 0.6855 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.041e-05/0.3979, allocations: 155.7 kB / 0.6857 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000352/0.3982, allocations: 465.5 kB / 0.6861 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.3983, allocations: 170.5 kB / 0.6863 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.931e-05/0.3984, allocations: 80.14 kB / 0.6864 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.467e-05/0.3984, allocations: 83.22 kB / 0.6865 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.354e-05/0.3985, allocations: 110.9 kB / 0.6866 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.3985, allocations: 0 / 0.6866 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 8.382e-05/0.3986, allocations: 40.64 kB / 0.6866 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.073e-05/0.3987, allocations: 130.6 kB / 0.6867 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.3988, allocations: 127.4 kB / 0.6868 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.3989, allocations: 25.7 kB / 0.6869 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.269e-05/0.399, allocations: 98.88 kB / 0.687 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-06/0.399, allocations: 0 / 0.687 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.37e-05/0.399, allocations: 13.72 kB / 0.687 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.3992, allocations: 321.6 kB / 0.6873 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.322e-05/0.3992, allocations: 2.75 kB / 0.6873 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.875e-05/0.3992, allocations: 10.62 kB / 0.6873 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.972e-05/0.3993, allocations: 10.36 kB / 0.6873 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3993, allocations: 0 / 0.6873 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001354/0.3994, allocations: 67.23 kB / 0.6874 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.3994, allocations: 6.906 kB / 0.6874 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/0.3994, allocations: 1.375 kB / 0.6874 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.3995, allocations: 1.375 kB / 0.6874 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.3995, allocations: 0 / 0.6874 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3995, allocations: 0 / 0.6874 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.95e-05/0.3995, allocations: 1.375 kB / 0.6874 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.3995, allocations: 1.375 kB / 0.6874 GB, free: 7.281 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 (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.0001237/0.3997, allocations: 187.4 kB / 0.6876 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.579e-05/0.3997, allocations: 119.7 kB / 0.6877 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.43e-05/0.3998, allocations: 115.5 kB / 0.6878 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.68e-05/0.3999, allocations: 181.7 kB / 0.688 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-05/0.4, allocations: 180.2 kB / 0.6881 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.619e-05/0.4001, allocations: 181.6 kB / 0.6883 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003013/0.4004, allocations: 424 kB / 0.6887 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.033e-05/0.4005, allocations: 104.9 kB / 0.6888 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.481e-05/0.4005, allocations: 102.4 kB / 0.6889 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.741e-05/0.4006, allocations: 181.6 kB / 0.6891 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-05/0.4007, allocations: 181.6 kB / 0.6893 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.116e-05/0.4008, allocations: 176.3 kB / 0.6894 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.446e-05/0.4009, allocations: 189.6 kB / 0.6896 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001936/0.4011, allocations: 309.2 kB / 0.6899 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.4012, allocations: 183.4 kB / 0.6901 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.666e-05/0.4013, allocations: 181.6 kB / 0.6902 GB, free: 4.176 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.4014, allocations: 110.3 kB / 0.6904 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.307e-05/0.4015, allocations: 181.6 kB / 0.6905 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-05/0.4015, allocations: 105 kB / 0.6906 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.214e-05/0.4016, allocations: 105.5 kB / 0.6907 GB, free: 3.68 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4016, allocations: 1.375 kB / 0.6907 GB, free: 3.68 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008129/0.4024, allocations: 281 kB / 0.691 GB, free: 3.598 MB / 0.5137 GB 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.001377/0.4038, allocations: 1.163 MB / 0.6921 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.615e-05/0.4039, allocations: 37.3 kB / 0.6922 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4039, allocations: 0 / 0.6922 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.018e-06/0.4039, allocations: 5.219 kB / 0.6922 GB, free: 2.582 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004428/0.4044, allocations: 471.6 kB / 0.6926 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.4058, allocations: 1.571 MB / 0.6942 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.4062, allocations: 0.6813 MB / 0.6948 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.571e-05/0.4062, allocations: 4.031 kB / 0.6948 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.194e-05/0.4063, allocations: 22.02 kB / 0.6948 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of SimCode: time 2.61e-07/0.4063, allocations: 0 / 0.6948 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02947/0.4357, allocations: 6.916 MB / 0.7016 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.278/9.714, allocations: 8.375 kB / 0.7016 GB, free: 11.1 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)