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.005594/0.005594, allocations: 102.1 kB / 15.73 MB, free: 6.031 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.002043/0.002044, allocations: 194 kB / 16.67 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002166/0.002166, allocations: 287.2 kB / 290.8 MB, free: 1.789 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9558/0.9558, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 99.89 kB / 0.681 GB, free: 15.91 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1614, allocations: 86.97 MB / 0.766 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002519/0.1639, allocations: 1.435 MB / 0.7674 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004568/0.1685, allocations: 2.896 MB / 0.7702 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.847e-05/0.1686, allocations: 0 / 0.7702 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.231e-05/0.1686, allocations: 7.875 kB / 0.7702 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.686e-05/0.1687, allocations: 19.84 kB / 0.7702 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004023/0.1728, allocations: 1.587 MB / 0.7718 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.998e-05/0.1729, allocations: 39.75 kB / 0.7718 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.423e-05/0.1729, allocations: 3.984 kB / 0.7718 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.199e-05/0.173, allocations: 15.94 kB / 0.7718 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.789e-05/0.173, allocations: 15.88 kB / 0.7718 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.173, allocations: 4 kB / 0.7719 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002204/0.1752, allocations: 1.537 MB / 0.7734 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.282e-05/0.1753, allocations: 4 kB / 0.7734 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.049e-05/0.1753, allocations: 19.88 kB / 0.7734 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001584/0.1769, allocations: 1.109 MB / 0.7745 GB, free: 176 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1769, allocations: 0 / 0.7745 GB, free: 176 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1769, allocations: 0 / 0.7745 GB, free: 176 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.1769, 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.3162/0.4932, allocations: 0.5096 MB / 0.775 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.4932, allocations: 10.16 kB / 0.775 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.136e-05/0.4933, allocations: 107 kB / 0.7751 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.505e-05/0.4933, allocations: 84.2 kB / 0.7751 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.968e-05/0.4934, allocations: 249.5 kB / 0.7754 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.4935, allocations: 155.7 kB / 0.7755 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.4935, allocations: 153.1 kB / 0.7757 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.163e-05/0.4936, allocations: 105.1 kB / 0.7758 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.4936, allocations: 80.47 kB / 0.7759 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.27e-05/0.4936, allocations: 154.4 kB / 0.776 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.402e-05/0.4936, allocations: 157.7 kB / 0.7762 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.339e-05/0.4937, allocations: 154.5 kB / 0.7763 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002181/0.4939, allocations: 465.3 kB / 0.7767 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.005e-05/0.4939, allocations: 168.3 kB / 0.7769 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.833e-05/0.494, allocations: 82.05 kB / 0.777 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.494, allocations: 77.25 kB / 0.7771 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.494, allocations: 114.7 kB / 0.7772 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.494, allocations: 1.5 kB / 0.7772 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 7.361e-05/0.4941, allocations: 37.75 kB / 0.7772 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.4942, allocations: 129.6 kB / 0.7773 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.4943, allocations: 137.9 kB / 0.7775 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.294e-06/0.4943, allocations: 25.7 kB / 0.7775 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.132e-05/0.4943, allocations: 90.59 kB / 0.7776 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.866e-06/0.4943, allocations: 0.7188 kB / 0.7776 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-05/0.4944, allocations: 21.02 kB / 0.7776 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.901e-05/0.4944, allocations: 318.7 kB / 0.7779 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.51e-05/0.4945, allocations: 9.734 kB / 0.7779 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.826e-05/0.4945, allocations: 7.766 kB / 0.7779 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.802e-05/0.4945, allocations: 16.77 kB / 0.7779 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4945, allocations: 3.25 kB / 0.7779 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001268/0.4947, allocations: 46.56 kB / 0.778 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.4947, allocations: 9.625 kB / 0.778 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.242e-05/0.4947, allocations: 4.234 kB / 0.778 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.4947, allocations: 0 / 0.778 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.4947, allocations: 0.75 kB / 0.778 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.4948, allocations: 4.547 kB / 0.778 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.276e-05/0.4948, allocations: 5.469 kB / 0.778 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.4948, allocations: 6.406 kB / 0.778 GB, free: 11.13 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 5.462e-05/0.4949, allocations: 188.2 kB / 0.7782 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.188e-05/0.4949, allocations: 112.5 kB / 0.7783 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.813e-05/0.4949, allocations: 108.2 kB / 0.7784 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-05/0.495, allocations: 182.3 kB / 0.7786 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-05/0.495, allocations: 178.8 kB / 0.7787 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.713e-05/0.495, allocations: 185.8 kB / 0.7789 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.4952, allocations: 411.5 kB / 0.7793 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.827e-05/0.4952, allocations: 114.1 kB / 0.7794 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.621e-05/0.4952, allocations: 102.8 kB / 0.7795 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.631e-05/0.4953, allocations: 186 kB / 0.7797 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/0.4953, allocations: 177.3 kB / 0.7799 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.461e-05/0.4953, allocations: 182 kB / 0.78 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.607e-05/0.4954, allocations: 182.1 kB / 0.7802 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.277e-05/0.4954, allocations: 305.8 kB / 0.7805 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.646e-05/0.4955, allocations: 188.7 kB / 0.7807 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.835e-05/0.4955, allocations: 185.5 kB / 0.7809 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.129e-05/0.4956, allocations: 113 kB / 0.781 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.128e-05/0.4956, allocations: 179.5 kB / 0.7811 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.4956, allocations: 106.9 kB / 0.7812 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.918e-05/0.4957, allocations: 104.4 kB / 0.7813 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4957, allocations: 0 / 0.7813 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001043/0.4968, allocations: 280.4 kB / 0.7816 GB, free: 7.613 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.001306/0.4981, allocations: 1.175 MB / 0.7828 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.313e-05/0.4982, allocations: 49.09 kB / 0.7828 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4982, allocations: 1.344 kB / 0.7828 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.064e-06/0.4982, allocations: 0.6094 kB / 0.7828 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.4985, allocations: 465.1 kB / 0.7832 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.4999, allocations: 1.602 MB / 0.7848 GB, free: 20.89 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.5001, allocations: 0.6823 MB / 0.7855 GB, free: 20.19 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.303e-05/0.5001, allocations: 1.594 kB / 0.7855 GB, free: 20.19 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.437e-05/0.5002, allocations: 16.55 kB / 0.7855 GB, free: 20.18 MB / 0.5762 GB Notification: Performance of SimCode: time 2.2e-07/0.5002, allocations: 3.938 kB / 0.7855 GB, free: 20.18 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03322/0.5334, allocations: 7.087 MB / 0.7924 GB, free: 19.52 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.525/8.058, allocations: 4.234 kB / 0.7924 GB, free: 19.52 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)