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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.00111/0.001109, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001216/0.001216, allocations: 199.2 kB / 16.14 MB, free: 6.688 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.193/1.193, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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/package.mo): time 0.879/0.879, allocations: 143 MB / 433 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 63.91 kB / 0.5137 GB, free: 11.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1392, allocations: 82.04 MB / 0.5938 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004725/0.144, allocations: 4.156 MB / 0.5978 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002835/0.1469, allocations: 2.375 MB / 0.6002 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001937/0.1471, allocations: 8 kB / 0.6002 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001226/0.1483, allocations: 0.4939 MB / 0.6006 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003337/0.1487, allocations: 218.5 kB / 0.6009 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001764/0.1488, allocations: 123.9 kB / 0.601 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006461/0.1495, allocations: 0.8039 MB / 0.6018 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003517/0.1499, allocations: 288.1 kB / 0.602 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002461/0.1501, allocations: 254.9 kB / 0.6023 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002884/0.1504, allocations: 322.6 kB / 0.6026 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.051e-05/0.1505, allocations: 44 kB / 0.6026 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.046e-05/0.1506, allocations: 48 kB / 0.6027 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.1507, allocations: 143.4 kB / 0.6028 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002829/0.151, allocations: 358.2 kB / 0.6032 GB, free: 260 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.2412/0.3922, allocations: 0.9977 MB / 0.6041 GB, free: 38.47 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3923, allocations: 2.719 kB / 0.6041 GB, free: 38.47 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3923, allocations: 0 / 0.6041 GB, free: 38.47 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.191e-05/0.3923, allocations: 2.062 kB / 0.6041 GB, free: 38.47 MB / 0.4981 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.001108/0.3934, allocations: 0.9398 MB / 0.605 GB, free: 37.89 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.3935, allocations: 12.12 kB / 0.6051 GB, free: 37.89 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.984e-05/0.3936, allocations: 93.17 kB / 0.6051 GB, free: 37.85 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.256e-05/0.3936, allocations: 75.78 kB / 0.6052 GB, free: 37.81 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004066/0.3941, allocations: 450.8 kB / 0.6057 GB, free: 37.54 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.3941, allocations: 36.31 kB / 0.6057 GB, free: 37.54 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.71e-05/0.3941, allocations: 46.47 kB / 0.6057 GB, free: 37.54 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005926/0.3947, allocations: 436.5 kB / 0.6061 GB, free: 37.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.3948, allocations: 0.6875 kB / 0.6061 GB, free: 37.5 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.226e-05/0.3948, allocations: 21.53 kB / 0.6062 GB, free: 37.5 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.3948, allocations: 14 kB / 0.6062 GB, free: 37.5 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005593/0.3954, allocations: 363.9 kB / 0.6065 GB, free: 37.49 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/0.3968, allocations: 1.535 MB / 0.608 GB, free: 37.04 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004028/0.3973, allocations: 342 kB / 0.6084 GB, free: 37.02 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003599/0.3976, allocations: 318.1 kB / 0.6087 GB, free: 37.01 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.3977, allocations: 2.844 kB / 0.6087 GB, free: 37.01 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.655e-05/0.3977, allocations: 49.78 kB / 0.6087 GB, free: 36.96 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=42): time 1.443e-06/0.3977, allocations: 0 / 0.6087 GB, free: 36.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.0007418/0.3984, allocations: 0.4884 MB / 0.6092 GB, free: 36.9 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.3985, allocations: 59.91 kB / 0.6092 GB, free: 36.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003902/0.3989, allocations: 487.5 kB / 0.6097 GB, free: 36.72 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.3989, allocations: 29.98 kB / 0.6097 GB, free: 36.69 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.399, allocations: 280.5 kB / 0.61 GB, free: 36.56 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.761e-05/0.3991, allocations: 149.5 kB / 0.6101 GB, free: 36.47 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.155e-05/0.3991, allocations: 58.25 kB / 0.6102 GB, free: 36.45 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.042e-05/0.3992, allocations: 361.3 kB / 0.6105 GB, free: 36.14 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.3994, allocations: 126 kB / 0.6107 GB, free: 36.14 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.3996, allocations: 128.4 kB / 0.6108 GB, free: 36.13 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003984/0.4, allocations: 303.1 kB / 0.6111 GB, free: 36.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4, allocations: 2.344 kB / 0.6111 GB, free: 36.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004966/0.4005, allocations: 394.7 kB / 0.6115 GB, free: 36.04 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.4006, allocations: 5.531 kB / 0.6115 GB, free: 36.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.4006, allocations: 0 / 0.6115 GB, free: 36.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.4006, allocations: 6.594 kB / 0.6115 GB, free: 36.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004341/0.401, allocations: 124.4 kB / 0.6116 GB, free: 36.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.401, allocations: 6.734 kB / 0.6116 GB, free: 36.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.4012, allocations: 48.31 kB / 0.6116 GB, free: 36.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.4013, allocations: 10.42 kB / 0.6116 GB, free: 36.02 MB / 0.4981 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.0001465/0.4014, allocations: 194.8 kB / 0.6118 GB, free: 35.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.075e-05/0.4015, allocations: 57.09 kB / 0.6119 GB, free: 35.88 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.394e-05/0.4016, allocations: 63.28 kB / 0.6119 GB, free: 35.86 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.4016, allocations: 4.969 kB / 0.612 GB, free: 35.86 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.4016, allocations: 0 / 0.612 GB, free: 35.86 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4016, allocations: 3.234 kB / 0.612 GB, free: 35.86 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004476/0.4021, allocations: 0.5678 MB / 0.6125 GB, free: 35.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4021, allocations: 3.719 kB / 0.6125 GB, free: 35.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004372/0.4025, allocations: 130 kB / 0.6126 GB, free: 35.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.4025, allocations: 0 / 0.6126 GB, free: 35.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.4025, allocations: 6.875 kB / 0.6126 GB, free: 35.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.4025, allocations: 3.656 kB / 0.6126 GB, free: 35.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.4025, allocations: 6.562 kB / 0.6127 GB, free: 35.58 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007378/0.4033, allocations: 0.6502 MB / 0.6133 GB, free: 35.23 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.446e-05/0.4034, allocations: 139.2 kB / 0.6134 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.592e-05/0.4034, allocations: 6.906 kB / 0.6134 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.4037, allocations: 23.09 kB / 0.6134 GB, free: 35.08 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.795e-05/0.4037, allocations: 23.44 kB / 0.6135 GB, free: 35.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.4037, allocations: 12.61 kB / 0.6135 GB, free: 35.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002721/0.404, allocations: 353.2 kB / 0.6138 GB, free: 34.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.404, allocations: 0 / 0.6138 GB, free: 34.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003226/0.4043, allocations: 146.4 kB / 0.614 GB, free: 34.88 MB / 0.4981 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.0008764/0.4052, allocations: 1.211 MB / 0.6151 GB, free: 33.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004421/0.4057, allocations: 324.1 kB / 0.6155 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.4057, allocations: 0 / 0.6155 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002196/0.4059, allocations: 176.7 kB / 0.6156 GB, free: 33.83 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006157/0.4065, allocations: 129.8 kB / 0.6157 GB, free: 33.79 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005021/0.4116, allocations: 5.221 MB / 0.6208 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.4118, allocations: 0.8688 MB / 0.6217 GB, free: 30.03 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001664/0.412, allocations: 57.3 kB / 0.6217 GB, free: 30.02 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001856/0.4121, allocations: 191 kB / 0.6219 GB, free: 29.88 MB / 0.4981 GB Notification: Performance of SimCode: time 8.82e-07/0.4122, allocations: 0 / 0.6219 GB, free: 29.88 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01802/0.4302, allocations: 10.81 MB / 0.6325 GB, free: 29.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000136/0.4303, allocations: 284.5 kB / 0.6328 GB, free: 28.71 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.755/2.185, allocations: 0 / 0.6328 GB, free: 28.71 MB / 0.4981 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)