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.001016/0.001016, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.001045/0.001045, allocations: 172.7 kB / 15.95 MB, free: 208 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.609/1.609, allocations: 223.3 MB / 240 MB, free: 5.336 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.4 MB / 434.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000509/0.0005091, allocations: 8 kB / 0.5161 GB, free: 11.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2879, allocations: 83.42 MB / 0.5976 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.002265/0.2903, allocations: 1.142 MB / 0.5987 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005886/0.2962, allocations: 2.645 MB / 0.6013 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.708e-05/0.2963, allocations: 0 / 0.6013 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.985e-05/0.2964, allocations: 11.92 kB / 0.6013 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.2965, allocations: 11.86 kB / 0.6013 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005071/0.3016, allocations: 1.255 MB / 0.6026 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.3017, allocations: 35.75 kB / 0.6026 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.769e-05/0.3018, allocations: 11.97 kB / 0.6026 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.05e-05/0.3018, allocations: 11.94 kB / 0.6026 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.567e-05/0.3019, allocations: 15.94 kB / 0.6026 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.3019, allocations: 0 / 0.6026 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003321/0.3052, allocations: 1.248 MB / 0.6039 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.434e-05/0.3053, allocations: 7.938 kB / 0.6039 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.038e-05/0.3053, allocations: 33.7 kB / 0.6039 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001759/0.3071, allocations: 0.7059 MB / 0.6046 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.3071, allocations: 0 / 0.6046 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.524e-06/0.3071, allocations: 0 / 0.6046 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.3071, allocations: 0 / 0.6046 GB, free: 0.4961 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.4324/0.7396, allocations: 0.5103 MB / 0.6051 GB, free: 40.68 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/0.7397, allocations: 9.594 kB / 0.6051 GB, free: 40.68 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.105e-05/0.7397, allocations: 113.1 kB / 0.6052 GB, free: 40.56 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.079e-05/0.7398, allocations: 83.12 kB / 0.6053 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.7399, allocations: 241 kB / 0.6055 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/0.74, allocations: 153.5 kB / 0.6057 GB, free: 40.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.74, allocations: 151.8 kB / 0.6058 GB, free: 39.92 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.429e-05/0.7401, allocations: 103.7 kB / 0.6059 GB, free: 39.81 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.7401, allocations: 77 kB / 0.606 GB, free: 39.74 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.363e-05/0.7401, allocations: 156.4 kB / 0.6061 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.671e-05/0.7402, allocations: 158 kB / 0.6063 GB, free: 39.44 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.615e-05/0.7402, allocations: 153.4 kB / 0.6064 GB, free: 39.29 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00023/0.7404, allocations: 467.1 kB / 0.6069 GB, free: 38.81 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.253e-05/0.7405, allocations: 172.8 kB / 0.607 GB, free: 38.64 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.923e-05/0.7405, allocations: 81.64 kB / 0.6071 GB, free: 38.55 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.7405, allocations: 78.56 kB / 0.6072 GB, free: 38.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.7406, allocations: 111.3 kB / 0.6073 GB, free: 38.37 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.363e-06/0.7406, allocations: 0.5312 kB / 0.6073 GB, free: 38.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.806e-05/0.7407, allocations: 36.31 kB / 0.6073 GB, free: 38.33 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.7407, allocations: 130.9 kB / 0.6074 GB, free: 38.2 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.7408, allocations: 131.7 kB / 0.6076 GB, free: 38.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.7409, allocations: 25.7 kB / 0.6076 GB, free: 38.06 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.535e-05/0.7409, allocations: 95.27 kB / 0.6077 GB, free: 37.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.985e-06/0.7409, allocations: 0 / 0.6077 GB, free: 37.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/0.7409, allocations: 0 / 0.6077 GB, free: 37.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.798e-05/0.741, allocations: 320.3 kB / 0.608 GB, free: 37.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.585e-05/0.741, allocations: 9.906 kB / 0.608 GB, free: 37.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.696e-05/0.7411, allocations: 7.188 kB / 0.608 GB, free: 37.66 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.919e-05/0.7411, allocations: 7.969 kB / 0.608 GB, free: 37.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.7411, allocations: 3.125 kB / 0.608 GB, free: 37.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001308/0.7412, allocations: 48.17 kB / 0.6081 GB, free: 37.63 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.7413, allocations: 6.453 kB / 0.6081 GB, free: 37.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.358e-05/0.7413, allocations: 3.938 kB / 0.6081 GB, free: 37.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.7413, allocations: 0 / 0.6081 GB, free: 37.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/0.7413, allocations: 0 / 0.6081 GB, free: 37.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.7413, allocations: 2.875 kB / 0.6081 GB, free: 37.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.644e-05/0.7413, allocations: 5.781 kB / 0.6081 GB, free: 37.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.7414, allocations: 5.438 kB / 0.6081 GB, free: 37.62 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 6.942e-05/0.7414, allocations: 184 kB / 0.6083 GB, free: 37.44 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.91e-05/0.7415, allocations: 120 kB / 0.6084 GB, free: 37.33 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.448e-05/0.7415, allocations: 107.3 kB / 0.6085 GB, free: 37.22 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.184e-05/0.7416, allocations: 178.1 kB / 0.6086 GB, free: 37.04 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.912e-05/0.7416, allocations: 183.8 kB / 0.6088 GB, free: 36.86 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.122e-05/0.7416, allocations: 181.8 kB / 0.609 GB, free: 36.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.7418, allocations: 416.5 kB / 0.6094 GB, free: 36.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-05/0.7418, allocations: 105.4 kB / 0.6095 GB, free: 36.13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.878e-05/0.7419, allocations: 107.8 kB / 0.6096 GB, free: 36.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-05/0.7419, allocations: 188 kB / 0.6098 GB, free: 35.84 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/0.7419, allocations: 180.1 kB / 0.6099 GB, free: 35.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.803e-05/0.742, allocations: 181.4 kB / 0.6101 GB, free: 35.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.027e-05/0.742, allocations: 178 kB / 0.6103 GB, free: 35.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.105e-05/0.7421, allocations: 318 kB / 0.6106 GB, free: 34.99 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.808e-05/0.7421, allocations: 183.5 kB / 0.6108 GB, free: 34.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.69e-05/0.7422, allocations: 184.6 kB / 0.6109 GB, free: 34.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.3e-05/0.7423, allocations: 109.3 kB / 0.611 GB, free: 34.49 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.7423, allocations: 180 kB / 0.6112 GB, free: 34.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.321e-05/0.7423, allocations: 107.8 kB / 0.6113 GB, free: 34.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.375e-05/0.7424, allocations: 103.5 kB / 0.6114 GB, free: 34.13 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.7424, allocations: 0 / 0.6114 GB, free: 34.13 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001058/0.7435, allocations: 279.6 kB / 0.6117 GB, free: 34.12 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.001051/0.7445, allocations: 1.136 MB / 0.6128 GB, free: 33.29 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.962e-05/0.7446, allocations: 46.61 kB / 0.6128 GB, free: 33.25 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.7447, allocations: 0 / 0.6128 GB, free: 33.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.996e-06/0.7447, allocations: 6.734 kB / 0.6128 GB, free: 33.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.745, allocations: 0.5247 MB / 0.6134 GB, free: 32.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008888/0.7459, allocations: 0.6933 MB / 0.614 GB, free: 32.26 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001628/0.7461, allocations: 0.6875 MB / 0.6147 GB, free: 31.56 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.692e-05/0.7461, allocations: 1.031 kB / 0.6147 GB, free: 31.56 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.745e-05/0.7462, allocations: 17.53 kB / 0.6147 GB, free: 31.55 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.7462, allocations: 0 / 0.6147 GB, free: 31.55 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01889/0.7651, allocations: 6.911 MB / 0.6215 GB, free: 31.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001806/0.7653, allocations: 275.2 kB / 0.6217 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.07/2.836, allocations: 6.75 kB / 0.6217 GB, free: 30.75 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: