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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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.0009059/0.0009061, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.0009986/0.0009986, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 223.3 MB / 240 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9735/0.9735, allocations: 143.4 MB / 434.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002948/0.0002949, allocations: 8.219 kB / 0.5161 GB, free: 11.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1779, allocations: 83.41 MB / 0.5976 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003944/0.1819, allocations: 3.565 MB / 0.6011 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003127/0.1851, allocations: 2.217 MB / 0.6032 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003159/0.1854, allocations: 19.94 kB / 0.6033 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00118/0.1866, allocations: 445.6 kB / 0.6037 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004534/0.1871, allocations: 218.5 kB / 0.6039 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/0.1873, allocations: 91.91 kB / 0.604 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0007263/0.188, allocations: 0.7513 MB / 0.6047 GB, free: 296 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003498/0.1884, allocations: 241.5 kB / 0.6049 GB, free: 48 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2848/0.4732, allocations: 226.9 kB / 0.6052 GB, free: 35.59 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003618/0.4736, allocations: 275.6 kB / 0.6054 GB, free: 35.59 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.884e-05/0.4737, allocations: 34.28 kB / 0.6055 GB, free: 35.59 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.61e-05/0.4738, allocations: 35.19 kB / 0.6055 GB, free: 35.59 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.4739, allocations: 126.7 kB / 0.6056 GB, free: 35.59 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.474, allocations: 161.5 kB / 0.6058 GB, free: 35.56 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005876/0.4746, allocations: 0.827 MB / 0.6066 GB, free: 35.52 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.4746, allocations: 1.094 kB / 0.6066 GB, free: 35.52 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4746, allocations: 3.828 kB / 0.6066 GB, free: 35.52 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.239e-05/0.4746, allocations: 0 / 0.6066 GB, free: 35.52 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.001037/0.4757, allocations: 0.8437 MB / 0.6074 GB, free: 34.96 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.4757, allocations: 9.406 kB / 0.6074 GB, free: 34.96 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.879e-05/0.4758, allocations: 90.94 kB / 0.6075 GB, free: 34.92 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.507e-05/0.4759, allocations: 74.02 kB / 0.6076 GB, free: 34.88 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004493/0.4764, allocations: 439.4 kB / 0.608 GB, free: 34.63 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.4764, allocations: 36.41 kB / 0.608 GB, free: 34.63 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.537e-05/0.4765, allocations: 55.11 kB / 0.6081 GB, free: 34.63 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006688/0.4772, allocations: 424.2 kB / 0.6085 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.4772, allocations: 3.312 kB / 0.6085 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.525e-05/0.4772, allocations: 15.31 kB / 0.6085 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.4772, allocations: 13.75 kB / 0.6085 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005982/0.4778, allocations: 379.4 kB / 0.6089 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001615/0.4795, allocations: 1.545 MB / 0.6104 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004194/0.4799, allocations: 341.5 kB / 0.6107 GB, free: 34.09 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004051/0.4803, allocations: 358.3 kB / 0.611 GB, free: 34.07 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.4803, allocations: 5.562 kB / 0.611 GB, free: 34.07 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.4804, allocations: 40.19 kB / 0.6111 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=42): time 1.573e-06/0.4804, allocations: 0 / 0.6111 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.0008027/0.4812, allocations: 0.5074 MB / 0.6116 GB, free: 33.96 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.4812, allocations: 56.91 kB / 0.6116 GB, free: 33.9 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004257/0.4817, allocations: 481.1 kB / 0.6121 GB, free: 33.79 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.4817, allocations: 31.92 kB / 0.6121 GB, free: 33.76 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.4819, allocations: 272.3 kB / 0.6124 GB, free: 33.63 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.703e-05/0.482, allocations: 143.5 kB / 0.6125 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.942e-05/0.482, allocations: 6.531 kB / 0.6125 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.809e-05/0.4821, allocations: 364.9 kB / 0.6129 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002328/0.4823, allocations: 127.3 kB / 0.613 GB, free: 33.22 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.4826, allocations: 129.5 kB / 0.6131 GB, free: 33.22 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002344/0.4828, allocations: 153.8 kB / 0.6133 GB, free: 33.21 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.4828, allocations: 0 / 0.6133 GB, free: 33.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005178/0.4833, allocations: 400.6 kB / 0.6136 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.4834, allocations: 7 kB / 0.6137 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.4834, allocations: 1.859 kB / 0.6137 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.4834, allocations: 8.219 kB / 0.6137 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004426/0.4838, allocations: 127.9 kB / 0.6138 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.4838, allocations: 2.938 kB / 0.6138 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002308/0.4841, allocations: 59.11 kB / 0.6138 GB, free: 33.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.853e-05/0.4841, allocations: 12.59 kB / 0.6139 GB, free: 33.11 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000187/0.4843, allocations: 197.8 kB / 0.614 GB, free: 33 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.41e-05/0.4844, allocations: 51.11 kB / 0.6141 GB, free: 32.97 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.4845, allocations: 60.81 kB / 0.6142 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.4845, allocations: 3.75 kB / 0.6142 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.4845, allocations: 0 / 0.6142 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.4845, allocations: 0 / 0.6142 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000563/0.4851, allocations: 0.5746 MB / 0.6147 GB, free: 32.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.4851, allocations: 0 / 0.6147 GB, free: 32.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004517/0.4856, allocations: 128.5 kB / 0.6148 GB, free: 32.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.4856, allocations: 0 / 0.6148 GB, free: 32.76 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/0.4856, allocations: 13.17 kB / 0.6149 GB, free: 32.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.4856, allocations: 7.375 kB / 0.6149 GB, free: 32.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4856, allocations: 0 / 0.6149 GB, free: 32.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008409/0.4865, allocations: 0.6661 MB / 0.6155 GB, free: 32.58 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.75e-05/0.4866, allocations: 136.6 kB / 0.6156 GB, free: 32.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.735e-05/0.4866, allocations: 7.25 kB / 0.6156 GB, free: 32.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.4868, allocations: 29.23 kB / 0.6157 GB, free: 32.45 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.092e-05/0.4869, allocations: 28.64 kB / 0.6157 GB, free: 32.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.4869, allocations: 12.94 kB / 0.6157 GB, free: 32.44 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003103/0.4872, allocations: 347.4 kB / 0.616 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4873, allocations: 0 / 0.616 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003829/0.4876, allocations: 145.7 kB / 0.6162 GB, free: 32.34 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 (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.0009822/0.4886, allocations: 1.224 MB / 0.6174 GB, free: 31.64 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005094/0.4892, allocations: 324.2 kB / 0.6177 GB, free: 31.63 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4892, allocations: 4 kB / 0.6177 GB, free: 31.63 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002474/0.4894, allocations: 187.7 kB / 0.6179 GB, free: 31.62 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006693/0.4901, allocations: 126 kB / 0.618 GB, free: 31.61 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004367/0.4945, allocations: 3.317 MB / 0.6212 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.4948, allocations: 0.8732 MB / 0.6221 GB, free: 29.75 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002109/0.495, allocations: 53.14 kB / 0.6221 GB, free: 29.75 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002179/0.4952, allocations: 187.3 kB / 0.6223 GB, free: 29.74 MB / 0.4981 GB Notification: Performance of SimCode: time 7.12e-07/0.4952, allocations: 0 / 0.6223 GB, free: 29.74 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0203/0.5155, allocations: 10.35 MB / 0.6324 GB, free: 29.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001572/0.5157, allocations: 266.5 kB / 0.6327 GB, free: 28.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.867/2.382, allocations: 0 / 0.6327 GB, free: 28.75 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/linux/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) Environment - environmentSimulation: