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.001016/0.001016, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.001078/0.001078, allocations: 177.3 kB / 15.94 MB, free: 220 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.417/1.417, allocations: 223.2 MB / 239.9 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.037/1.037, allocations: 143.3 MB / 434.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004809/0.0004809, allocations: 8 kB / 0.5159 GB, free: 11.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.22, allocations: 83.41 MB / 0.5974 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003981/0.224, allocations: 3.252 MB / 0.6006 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00333/0.2274, allocations: 2.202 MB / 0.6027 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003387/0.2277, allocations: 12 kB / 0.6027 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001299/0.229, allocations: 482.2 kB / 0.6032 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004834/0.2295, allocations: 243.4 kB / 0.6034 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000202/0.2297, allocations: 79.92 kB / 0.6035 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00065/0.2304, allocations: 0.5701 MB / 0.6041 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003835/0.2308, allocations: 237.5 kB / 0.6043 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002711/0.2311, allocations: 239.1 kB / 0.6045 GB, free: 356 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002965/0.2314, allocations: 266.8 kB / 0.6048 GB, free: 88 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.431e-05/0.2314, allocations: 32 kB / 0.6048 GB, free: 56 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.791e-05/0.2315, allocations: 36 kB / 0.6048 GB, free: 20 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.3107/0.5422, allocations: 115.8 kB / 0.605 GB, free: 35.52 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002842/0.5426, allocations: 158.3 kB / 0.6051 GB, free: 35.48 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006953/0.5433, allocations: 0.8233 MB / 0.6059 GB, free: 35.44 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.5433, allocations: 0 / 0.6059 GB, free: 35.44 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.735e-06/0.5433, allocations: 3.75 kB / 0.6059 GB, free: 35.44 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.3e-05/0.5433, allocations: 1.969 kB / 0.6059 GB, free: 35.44 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.001125/0.5445, allocations: 0.8401 MB / 0.6067 GB, free: 34.87 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.5445, allocations: 9.281 kB / 0.6067 GB, free: 34.87 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.719e-05/0.5446, allocations: 89.45 kB / 0.6068 GB, free: 34.83 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.661e-05/0.5447, allocations: 78.58 kB / 0.6069 GB, free: 34.8 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000454/0.5451, allocations: 433 kB / 0.6073 GB, free: 34.55 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.5452, allocations: 39.34 kB / 0.6074 GB, free: 34.55 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.068e-05/0.5452, allocations: 51.53 kB / 0.6074 GB, free: 34.55 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006486/0.5459, allocations: 425.2 kB / 0.6078 GB, free: 34.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.5459, allocations: 0.5 kB / 0.6078 GB, free: 34.5 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.814e-05/0.546, allocations: 19.59 kB / 0.6078 GB, free: 34.5 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.546, allocations: 14.05 kB / 0.6078 GB, free: 34.5 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006265/0.5466, allocations: 377.4 kB / 0.6082 GB, free: 34.5 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/0.5483, allocations: 1.545 MB / 0.6097 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004832/0.5488, allocations: 339.2 kB / 0.61 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.5489, allocations: 6.969 kB / 0.61 GB, free: 34.01 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.5489, allocations: 43.45 kB / 0.6101 GB, free: 33.97 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=42): time 1.623e-06/0.5489, allocations: 0 / 0.6101 GB, free: 33.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.0008363/0.5497, allocations: 0.5041 MB / 0.6106 GB, free: 33.9 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.5498, allocations: 60.03 kB / 0.6106 GB, free: 33.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004484/0.5502, allocations: 482.5 kB / 0.6111 GB, free: 33.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.5503, allocations: 34.73 kB / 0.6111 GB, free: 33.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.5504, allocations: 276.7 kB / 0.6114 GB, free: 33.56 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.915e-05/0.5505, allocations: 143.5 kB / 0.6115 GB, free: 33.47 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.687e-05/0.5505, allocations: 6.906 kB / 0.6115 GB, free: 33.47 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.965e-05/0.5506, allocations: 368.4 kB / 0.6119 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.5508, allocations: 125.3 kB / 0.612 GB, free: 33.15 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/0.5511, allocations: 125 kB / 0.6121 GB, free: 33.15 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003051/0.5514, allocations: 152.8 kB / 0.6123 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.5514, allocations: 0 / 0.6123 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006564/0.5521, allocations: 398.9 kB / 0.6126 GB, free: 33.08 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.5521, allocations: 5.719 kB / 0.6127 GB, free: 33.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.5521, allocations: 4.5 kB / 0.6127 GB, free: 33.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.5521, allocations: 6.844 kB / 0.6127 GB, free: 33.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004875/0.5526, allocations: 126.1 kB / 0.6128 GB, free: 33.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.5526, allocations: 2.906 kB / 0.6128 GB, free: 33.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002535/0.5529, allocations: 57 kB / 0.6128 GB, free: 33.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.5529, allocations: 10.34 kB / 0.6128 GB, free: 33.05 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.0001975/0.5531, allocations: 196.3 kB / 0.613 GB, free: 32.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.46e-05/0.5532, allocations: 53.53 kB / 0.6131 GB, free: 32.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/0.5533, allocations: 61.66 kB / 0.6131 GB, free: 32.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.5533, allocations: 7.359 kB / 0.6132 GB, free: 32.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/0.5533, allocations: 6.188 kB / 0.6132 GB, free: 32.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.5533, allocations: 3.781 kB / 0.6132 GB, free: 32.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005746/0.5539, allocations: 0.5701 MB / 0.6137 GB, free: 32.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.5539, allocations: 0 / 0.6137 GB, free: 32.69 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004996/0.5544, allocations: 127 kB / 0.6138 GB, free: 32.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.5544, allocations: 0 / 0.6138 GB, free: 32.69 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/0.5545, allocations: 9.438 kB / 0.6138 GB, free: 32.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.5545, allocations: 6.703 kB / 0.6139 GB, free: 32.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.5545, allocations: 7.344 kB / 0.6139 GB, free: 32.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009001/0.5554, allocations: 0.6611 MB / 0.6145 GB, free: 32.51 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.677e-05/0.5555, allocations: 134.8 kB / 0.6146 GB, free: 32.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.034e-05/0.5556, allocations: 13.25 kB / 0.6147 GB, free: 32.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.5558, allocations: 21.2 kB / 0.6147 GB, free: 32.38 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.57e-05/0.5559, allocations: 30.91 kB / 0.6147 GB, free: 32.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.5559, allocations: 8.625 kB / 0.6147 GB, free: 32.38 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003238/0.5562, allocations: 352.4 kB / 0.615 GB, free: 32.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5562, allocations: 0 / 0.615 GB, free: 32.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003684/0.5566, allocations: 147.1 kB / 0.6152 GB, free: 32.27 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.00109/0.5577, allocations: 1.217 MB / 0.6164 GB, free: 31.58 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000521/0.5582, allocations: 333.6 kB / 0.6167 GB, free: 31.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5583, allocations: 4 kB / 0.6167 GB, free: 31.56 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002547/0.5585, allocations: 188.9 kB / 0.6169 GB, free: 31.56 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005837/0.5591, allocations: 113.8 kB / 0.617 GB, free: 31.55 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004327/0.5634, allocations: 3.28 MB / 0.6202 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.5638, allocations: 0.8787 MB / 0.621 GB, free: 29.69 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001865/0.564, allocations: 55.88 kB / 0.6211 GB, free: 29.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002116/0.5642, allocations: 191.3 kB / 0.6213 GB, free: 29.67 MB / 0.4981 GB Notification: Performance of SimCode: time 1.112e-06/0.5642, allocations: 0 / 0.6213 GB, free: 29.67 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0204/0.5846, allocations: 10.33 MB / 0.6314 GB, free: 29.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001528/0.5848, allocations: 261.4 kB / 0.6316 GB, free: 28.71 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.97/2.555, allocations: 0 / 0.6316 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/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: