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.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.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_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.0009251/0.0009252, allocations: 99.86 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.001008/0.001008, allocations: 177.3 kB / 15.95 MB, free: 216 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.423/1.423, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9983/0.9983, allocations: 143.3 MB / 434.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004718/0.0004719, allocations: 8 kB / 0.516 GB, free: 11.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2203, allocations: 83.42 MB / 0.5974 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001878/0.2223, allocations: 1.119 MB / 0.5985 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004498/0.2268, allocations: 2.579 MB / 0.601 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.364e-05/0.2269, allocations: 0 / 0.601 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.389e-05/0.2269, allocations: 3.984 kB / 0.601 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.93e-05/0.227, allocations: 15.91 kB / 0.6011 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003823/0.2308, allocations: 1.242 MB / 0.6023 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.874e-05/0.2309, allocations: 31.95 kB / 0.6023 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.237e-05/0.2309, allocations: 3.984 kB / 0.6023 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.77e-05/0.231, allocations: 11.94 kB / 0.6023 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.424e-05/0.231, allocations: 15.92 kB / 0.6023 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.939e-06/0.231, allocations: 0 / 0.6023 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002364/0.2334, allocations: 1.201 MB / 0.6035 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.657e-05/0.2334, allocations: 3.938 kB / 0.6035 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.146e-05/0.2335, allocations: 33.7 kB / 0.6035 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00132/0.2348, allocations: 0.7138 MB / 0.6042 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2348, allocations: 0 / 0.6042 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2348, allocations: 0 / 0.6042 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.2348, allocations: 0 / 0.6042 GB, free: 0.6641 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007926/0.2356, allocations: 0.5222 MB / 0.6047 GB, free: 96 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.2357, allocations: 12.03 kB / 0.6048 GB, free: 84 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.3706/0.6063, allocations: 109.8 kB / 0.6049 GB, free: 40.74 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.6065, allocations: 82.28 kB / 0.6049 GB, free: 40.67 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.6067, allocations: 244.5 kB / 0.6052 GB, free: 40.4 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.119e-05/0.6068, allocations: 155.4 kB / 0.6053 GB, free: 40.25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.657e-05/0.6069, allocations: 151.1 kB / 0.6055 GB, free: 40.1 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.04e-05/0.607, allocations: 101 kB / 0.6056 GB, free: 40 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/0.607, allocations: 76.62 kB / 0.6056 GB, free: 39.92 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.477e-05/0.607, allocations: 153.1 kB / 0.6058 GB, free: 39.77 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-05/0.6071, allocations: 155.4 kB / 0.6059 GB, free: 39.62 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.812e-05/0.6071, allocations: 153.1 kB / 0.6061 GB, free: 39.48 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003409/0.6075, allocations: 466.1 kB / 0.6065 GB, free: 39 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.915e-05/0.6076, allocations: 169.3 kB / 0.6067 GB, free: 38.83 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.6076, allocations: 82 kB / 0.6068 GB, free: 38.75 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.455e-05/0.6077, allocations: 111.4 kB / 0.6069 GB, free: 38.64 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 2.134e-06/0.6077, allocations: 0 / 0.6069 GB, free: 38.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 9.861e-05/0.6078, allocations: 30.83 kB / 0.6069 GB, free: 38.61 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/0.6079, allocations: 128.5 kB / 0.607 GB, free: 38.47 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.6081, allocations: 137.7 kB / 0.6072 GB, free: 38.37 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.6081, allocations: 27.2 kB / 0.6072 GB, free: 38.34 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.355e-05/0.6082, allocations: 94.62 kB / 0.6073 GB, free: 38.26 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.617e-06/0.6082, allocations: 0 / 0.6073 GB, free: 38.26 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.6082, allocations: 0.9062 kB / 0.6073 GB, free: 38.26 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.875e-05/0.6083, allocations: 321.5 kB / 0.6076 GB, free: 37.95 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.024e-05/0.6084, allocations: 3.281 kB / 0.6076 GB, free: 37.95 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.287e-05/0.6084, allocations: 11.41 kB / 0.6076 GB, free: 37.95 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.75e-05/0.6084, allocations: 7 kB / 0.6076 GB, free: 37.95 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.6084, allocations: 0.5 kB / 0.6076 GB, free: 37.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001777/0.6086, allocations: 55.8 kB / 0.6076 GB, free: 37.91 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.6087, allocations: 6.312 kB / 0.6077 GB, free: 37.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.113e-05/0.6087, allocations: 4.031 kB / 0.6077 GB, free: 37.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.6087, allocations: 0.7188 kB / 0.6077 GB, free: 37.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.317e-06/0.6087, allocations: 0 / 0.6077 GB, free: 37.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.6087, allocations: 5.188 kB / 0.6077 GB, free: 37.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.437e-05/0.6088, allocations: 4.938 kB / 0.6077 GB, free: 37.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.6088, allocations: 3.406 kB / 0.6077 GB, free: 37.9 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001081/0.6089, allocations: 182.8 kB / 0.6078 GB, free: 37.71 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.702e-05/0.609, allocations: 113 kB / 0.608 GB, free: 37.61 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.826e-05/0.609, allocations: 116.4 kB / 0.6081 GB, free: 37.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.125e-05/0.6091, allocations: 182.8 kB / 0.6082 GB, free: 37.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.274e-05/0.6092, allocations: 179.7 kB / 0.6084 GB, free: 37.14 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-05/0.6092, allocations: 183.9 kB / 0.6086 GB, free: 36.96 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.6094, allocations: 413.9 kB / 0.609 GB, free: 36.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.419e-05/0.6094, allocations: 103.7 kB / 0.6091 GB, free: 36.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.475e-05/0.6095, allocations: 105.5 kB / 0.6092 GB, free: 36.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.592e-05/0.6095, allocations: 179.4 kB / 0.6094 GB, free: 36.12 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.377e-05/0.6096, allocations: 192.8 kB / 0.6095 GB, free: 35.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.064e-05/0.6096, allocations: 185.9 kB / 0.6097 GB, free: 35.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.72e-05/0.6097, allocations: 180 kB / 0.6099 GB, free: 35.58 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.6098, allocations: 312.5 kB / 0.6102 GB, free: 35.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.632e-05/0.6098, allocations: 188.6 kB / 0.6104 GB, free: 35.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.295e-05/0.6099, allocations: 178.7 kB / 0.6105 GB, free: 34.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.134e-05/0.61, allocations: 108.3 kB / 0.6106 GB, free: 34.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.356e-05/0.61, allocations: 185.1 kB / 0.6108 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/0.61, allocations: 105.1 kB / 0.6109 GB, free: 34.49 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.591e-05/0.6101, allocations: 101.2 kB / 0.611 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6101, allocations: 0 / 0.611 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001043/0.6112, allocations: 277.2 kB / 0.6113 GB, free: 34.41 MB / 0.4981 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 (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.001193/0.6124, allocations: 1.142 MB / 0.6124 GB, free: 33.58 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.945e-05/0.6125, allocations: 35.48 kB / 0.6124 GB, free: 33.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6125, allocations: 6.656 kB / 0.6124 GB, free: 33.55 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.254e-06/0.6125, allocations: 0 / 0.6124 GB, free: 33.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.6128, allocations: 0.5319 MB / 0.6129 GB, free: 33.02 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006764/0.6135, allocations: 0.556 MB / 0.6135 GB, free: 32.56 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001718/0.6137, allocations: 0.6902 MB / 0.6142 GB, free: 31.86 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.817e-05/0.6137, allocations: 0 / 0.6142 GB, free: 31.86 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.581e-05/0.6137, allocations: 15.69 kB / 0.6142 GB, free: 31.86 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.6137, allocations: 0 / 0.6142 GB, free: 31.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01984/0.6336, allocations: 6.844 MB / 0.6209 GB, free: 31.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000166/0.6338, allocations: 272.1 kB / 0.6211 GB, free: 31.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.905/2.539, allocations: 2.875 kB / 0.6211 GB, free: 31.05 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) Environment - environmentSimulation: