Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_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.006727/0.006727, allocations: 96.19 kB / 15.73 MB, free: 6.043 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.001296/0.001296, allocations: 195.7 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00256/0.00256, allocations: 274.9 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9916/0.9916, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002665/0.002665, allocations: 96 kB / 0.681 GB, free: 15.92 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1657, allocations: 86.97 MB / 0.766 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002532/0.1683, allocations: 1.435 MB / 0.7674 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004561/0.1728, allocations: 2.896 MB / 0.7702 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.817e-05/0.1729, allocations: 0 / 0.7702 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.271e-05/0.1729, allocations: 7.922 kB / 0.7702 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.973e-05/0.173, allocations: 19.8 kB / 0.7702 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00374/0.1768, allocations: 1.587 MB / 0.7718 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.1769, allocations: 43.73 kB / 0.7718 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.727e-05/0.1769, allocations: 3.906 kB / 0.7718 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.923e-05/0.177, allocations: 15.94 kB / 0.7718 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.148e-05/0.177, allocations: 19.86 kB / 0.7719 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.468e-06/0.177, allocations: 0 / 0.7719 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002206/0.1792, allocations: 1.539 MB / 0.7734 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.065e-05/0.1792, allocations: 0 / 0.7734 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.071e-05/0.1793, allocations: 23.88 kB / 0.7734 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00144/0.1807, allocations: 1.107 MB / 0.7745 GB, free: 176 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1807, allocations: 0 / 0.7745 GB, free: 176 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1808, allocations: 0 / 0.7745 GB, free: 176 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.137e-06/0.1808, allocations: 0 / 0.7745 GB, free: 176 kB / 0.5606 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.3042/0.485, allocations: 0.5263 MB / 0.775 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.485, allocations: 9.812 kB / 0.775 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.525e-05/0.4851, allocations: 112.3 kB / 0.7751 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.271e-05/0.4851, allocations: 84.44 kB / 0.7752 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.344e-05/0.4852, allocations: 248.4 kB / 0.7754 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.4853, allocations: 158.6 kB / 0.7756 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.4853, allocations: 153.4 kB / 0.7757 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.268e-05/0.4853, allocations: 109.1 kB / 0.7758 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.4854, allocations: 79.22 kB / 0.7759 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.4854, allocations: 151.7 kB / 0.776 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.4854, allocations: 153.3 kB / 0.7762 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.854e-05/0.4854, allocations: 151.2 kB / 0.7763 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001947/0.4856, allocations: 467.9 kB / 0.7768 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.266e-05/0.4857, allocations: 169.4 kB / 0.7769 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.365e-05/0.4857, allocations: 81.48 kB / 0.777 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.4857, allocations: 77.84 kB / 0.7771 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.4857, allocations: 109.9 kB / 0.7772 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 2.054e-06/0.4857, allocations: 0.8906 kB / 0.7772 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 6.878e-05/0.4858, allocations: 40.56 kB / 0.7772 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/0.4858, allocations: 133.9 kB / 0.7774 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.486, allocations: 134.4 kB / 0.7775 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.061e-06/0.486, allocations: 26.33 kB / 0.7775 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.049e-05/0.486, allocations: 91.56 kB / 0.7776 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.486, allocations: 1.406 kB / 0.7776 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.4861, allocations: 16.59 kB / 0.7776 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.991e-05/0.4861, allocations: 323.2 kB / 0.7779 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.225e-05/0.4861, allocations: 3.531 kB / 0.7779 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.729e-05/0.4861, allocations: 7.516 kB / 0.7779 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.569e-05/0.4862, allocations: 16.27 kB / 0.778 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4862, allocations: 0.6562 kB / 0.778 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001164/0.4863, allocations: 52.92 kB / 0.778 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.4863, allocations: 9.828 kB / 0.778 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/0.4864, allocations: 4.406 kB / 0.778 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.4864, allocations: 0.5625 kB / 0.778 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.62e-07/0.4864, allocations: 0.625 kB / 0.778 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.197e-06/0.4864, allocations: 1.172 kB / 0.778 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.418e-05/0.4864, allocations: 5.188 kB / 0.778 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.4864, allocations: 1.609 kB / 0.778 GB, free: 11.56 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.998e-05/0.4865, allocations: 188.1 kB / 0.7782 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.965e-05/0.4865, allocations: 118.3 kB / 0.7783 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.483e-05/0.4866, allocations: 108.7 kB / 0.7784 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.831e-05/0.4866, allocations: 183.8 kB / 0.7786 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.148e-05/0.4866, allocations: 178.5 kB / 0.7788 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.105e-05/0.4867, allocations: 184.6 kB / 0.7789 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.4868, allocations: 409.7 kB / 0.7793 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/0.4868, allocations: 113.3 kB / 0.7794 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.395e-05/0.4868, allocations: 106.2 kB / 0.7795 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.187e-05/0.4869, allocations: 188.4 kB / 0.7797 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/0.4869, allocations: 177.9 kB / 0.7799 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.075e-05/0.4869, allocations: 185.7 kB / 0.7801 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.976e-05/0.4869, allocations: 177.4 kB / 0.7802 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.829e-05/0.487, allocations: 310.9 kB / 0.7805 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.156e-05/0.487, allocations: 189.3 kB / 0.7807 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.44e-05/0.4871, allocations: 186.6 kB / 0.7809 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.161e-05/0.4872, allocations: 106.1 kB / 0.781 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.561e-05/0.4872, allocations: 181.7 kB / 0.7812 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.4872, allocations: 106.5 kB / 0.7813 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.708e-05/0.4873, allocations: 99.61 kB / 0.7814 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4873, allocations: 0 / 0.7814 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000911/0.4882, allocations: 292.8 kB / 0.7816 GB, free: 7.996 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001101/0.4893, allocations: 1.183 MB / 0.7828 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.603e-05/0.4894, allocations: 43.55 kB / 0.7828 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4894, allocations: 0 / 0.7828 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.245e-06/0.4894, allocations: 1 kB / 0.7828 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.4897, allocations: 471 kB / 0.7833 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.491, allocations: 1.597 MB / 0.7849 GB, free: 21.26 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.4913, allocations: 0.6864 MB / 0.7855 GB, free: 20.56 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.277e-05/0.4913, allocations: 2.172 kB / 0.7855 GB, free: 20.56 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.234e-05/0.4913, allocations: 16.5 kB / 0.7855 GB, free: 20.55 MB / 0.5762 GB Notification: Performance of SimCode: time 2.61e-07/0.4913, allocations: 0 / 0.7855 GB, free: 20.55 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03025/0.5216, allocations: 7.07 MB / 0.7924 GB, free: 19.89 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.066/9.587, allocations: 7.203 kB / 0.7925 GB, free: 19.89 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)