Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.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.InternalResistancesOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_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.0008848/0.0008847, allocations: 86.56 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.0009466/0.0009467, 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.472/1.472, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.02/1.02, allocations: 143.4 MB / 434.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.000359, allocations: 8 kB / 0.5161 GB, free: 11.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.1908, allocations: 83.41 MB / 0.5976 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003599/0.1945, allocations: 2.581 MB / 0.6001 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003056/0.1976, allocations: 1.956 MB / 0.602 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003608/0.198, allocations: 11.94 kB / 0.602 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001515/0.1995, allocations: 410.2 kB / 0.6024 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004282/0.2, allocations: 135.1 kB / 0.6025 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001326/0.2001, allocations: 39.95 kB / 0.6026 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005067/0.2006, allocations: 417.9 kB / 0.603 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002203/0.2008, allocations: 114.9 kB / 0.6031 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.201, allocations: 131.4 kB / 0.6032 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001905/0.2012, allocations: 159.3 kB / 0.6034 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.628e-05/0.2013, allocations: 20 kB / 0.6034 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.84e-05/0.2013, allocations: 24 kB / 0.6034 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.748e-05/0.2015, allocations: 79.67 kB / 0.6035 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.817e-05/0.2015, allocations: 101.5 kB / 0.6036 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004091/0.202, allocations: 466.5 kB / 0.604 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.202, allocations: 4 kB / 0.604 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.202, allocations: 0 / 0.604 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.645e-05/0.202, allocations: 0 / 0.604 GB, free: 1.016 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001042/0.2031, allocations: 0.65 MB / 0.6047 GB, free: 324 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.2031, allocations: 8.031 kB / 0.6047 GB, free: 316 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.145e-05/0.2032, allocations: 62.53 kB / 0.6047 GB, free: 244 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.108e-05/0.2033, allocations: 47.48 kB / 0.6048 GB, free: 196 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2885/0.4918, allocations: 353.2 kB / 0.6051 GB, free: 40.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.4919, allocations: 12.75 kB / 0.6051 GB, free: 40.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.701e-05/0.4919, allocations: 23.22 kB / 0.6052 GB, free: 40.93 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004345/0.4924, allocations: 205.3 kB / 0.6054 GB, free: 40.89 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.4924, allocations: 0.7188 kB / 0.6054 GB, free: 40.89 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.4924, allocations: 4.938 kB / 0.6054 GB, free: 40.89 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.4924, allocations: 6.406 kB / 0.6054 GB, free: 40.89 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003413/0.4928, allocations: 184.2 kB / 0.6055 GB, free: 40.89 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009511/0.4937, allocations: 0.8725 MB / 0.6064 GB, free: 40.51 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/0.494, allocations: 162.1 kB / 0.6065 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/0.4942, allocations: 118.9 kB / 0.6067 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.4942, allocations: 0 / 0.6067 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.45e-05/0.4942, allocations: 36.11 kB / 0.6067 GB, free: 40.44 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.242e-06/0.4942, allocations: 0 / 0.6067 GB, free: 40.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.000509/0.4948, allocations: 267.7 kB / 0.6069 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.4948, allocations: 57.94 kB / 0.607 GB, free: 40.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003739/0.4952, allocations: 421 kB / 0.6074 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.4952, allocations: 29.09 kB / 0.6074 GB, free: 40.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.4953, allocations: 211.6 kB / 0.6076 GB, free: 40.08 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.619e-05/0.4954, allocations: 58.98 kB / 0.6077 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.697e-06/0.4954, allocations: 10.34 kB / 0.6077 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.63e-05/0.4954, allocations: 347.4 kB / 0.608 GB, free: 39.72 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.4956, allocations: 58.31 kB / 0.6081 GB, free: 39.72 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.4957, allocations: 61.02 kB / 0.6081 GB, free: 39.72 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.4958, allocations: 70.39 kB / 0.6082 GB, free: 39.72 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4959, allocations: 0 / 0.6082 GB, free: 39.72 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003183/0.4962, allocations: 220.3 kB / 0.6084 GB, free: 39.67 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.4962, allocations: 5.875 kB / 0.6084 GB, free: 39.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.4962, allocations: 3.375 kB / 0.6084 GB, free: 39.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.4962, allocations: 4.75 kB / 0.6084 GB, free: 39.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002332/0.4965, allocations: 59.59 kB / 0.6085 GB, free: 39.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.4965, allocations: 0.5469 kB / 0.6085 GB, free: 39.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.4966, allocations: 24.59 kB / 0.6085 GB, free: 39.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.4967, allocations: 2.906 kB / 0.6085 GB, free: 39.66 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 (20): * Single equations (assignments): 20 * 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.0001287/0.4968, allocations: 164.8 kB / 0.6087 GB, free: 39.54 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.064e-05/0.4968, allocations: 40.66 kB / 0.6087 GB, free: 39.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.731e-05/0.4969, allocations: 41.3 kB / 0.6088 GB, free: 39.51 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.4969, allocations: 6.953 kB / 0.6088 GB, free: 39.51 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.4969, allocations: 0 / 0.6088 GB, free: 39.51 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4969, allocations: 0.5156 kB / 0.6088 GB, free: 39.51 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003217/0.4973, allocations: 380.4 kB / 0.6091 GB, free: 39.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4973, allocations: 3.094 kB / 0.6091 GB, free: 39.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/0.4975, allocations: 56.83 kB / 0.6092 GB, free: 39.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.4975, allocations: 0 / 0.6092 GB, free: 39.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.4975, allocations: 6.469 kB / 0.6092 GB, free: 39.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.4976, allocations: 0 / 0.6092 GB, free: 39.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.4976, allocations: 3.953 kB / 0.6092 GB, free: 39.31 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004868/0.4981, allocations: 392 kB / 0.6096 GB, free: 39.16 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.829e-05/0.4981, allocations: 123.4 kB / 0.6097 GB, free: 39.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.302e-05/0.4982, allocations: 7.016 kB / 0.6097 GB, free: 39.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.4983, allocations: 16.33 kB / 0.6097 GB, free: 39.04 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/0.4984, allocations: 16.3 kB / 0.6097 GB, free: 39.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.4984, allocations: 2.688 kB / 0.6097 GB, free: 39.04 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002514/0.4987, allocations: 302.8 kB / 0.61 GB, free: 38.95 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4987, allocations: 0 / 0.61 GB, free: 38.95 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002861/0.499, allocations: 72.88 kB / 0.6101 GB, free: 38.95 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.0006744/0.4996, allocations: 0.9327 MB / 0.611 GB, free: 38.26 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002977/0.4999, allocations: 152.3 kB / 0.6111 GB, free: 38.26 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5, allocations: 2.531 kB / 0.6111 GB, free: 38.26 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.5001, allocations: 87.48 kB / 0.6112 GB, free: 38.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005615/0.5007, allocations: 92.33 kB / 0.6113 GB, free: 38.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002799/0.5035, allocations: 2.22 MB / 0.6135 GB, free: 37.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001894/0.5037, allocations: 0.7908 MB / 0.6143 GB, free: 36.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001266/0.5038, allocations: 34.91 kB / 0.6143 GB, free: 36.73 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001537/0.504, allocations: 114.8 kB / 0.6144 GB, free: 36.73 MB / 0.4981 GB Notification: Performance of SimCode: time 4.01e-07/0.504, allocations: 0 / 0.6144 GB, free: 36.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01703/0.521, allocations: 7.201 MB / 0.6214 GB, free: 36.28 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001557/0.5212, allocations: 260.7 kB / 0.6217 GB, free: 35.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.853/2.374, allocations: 0 / 0.6217 GB, free: 35.93 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) Environment - environmentSimulation: